[INFO] fetching crate kbve 0.1.25... [INFO] building kbve-0.1.25 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate kbve 0.1.25 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate kbve 0.1.25 [INFO] finished tweaking crates.io crate kbve 0.1.25 [INFO] tweaked toml for crates.io crate kbve 0.1.25 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kbve 0.1.25 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 293 packages to latest compatible versions [INFO] [stderr] Adding ammonia v3.3.1 (available: v4.1.2) [INFO] [stderr] Adding axum v0.6.20 (available: v0.8.5) [INFO] [stderr] Adding axum-extra v0.7.7 (available: v0.10.2) [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding jedi v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding jsonwebtoken v8.3.0 (available: v10.0.0) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [INFO] [stderr] Adding tower-http v0.4.4 (available: v0.6.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.3.0 [INFO] [stderr] Downloaded ammonia v3.3.1 [INFO] [stderr] Downloaded cookie v0.17.0 [INFO] [stderr] Downloaded ulid v1.2.1 [INFO] [stderr] Downloaded axum-extra v0.7.7 [INFO] [stderr] Downloaded dsl_auto_type v0.2.0 [INFO] [stderr] Downloaded jedi v0.1.14 [INFO] [stderr] Downloaded tower-http v0.4.4 [INFO] [stderr] Downloaded diesel_derives v2.3.3 [INFO] [stderr] Downloaded diesel v2.3.2 [INFO] [stderr] Downloaded mysqlclient-sys v0.4.7 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76044df281a29cab78b4f57fc2c2164fc88d0dc7725041eaa5d07b6bf9ce1ec9 [INFO] running `Command { std: "docker" "start" "-a" "76044df281a29cab78b4f57fc2c2164fc88d0dc7725041eaa5d07b6bf9ce1ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76044df281a29cab78b4f57fc2c2164fc88d0dc7725041eaa5d07b6bf9ce1ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76044df281a29cab78b4f57fc2c2164fc88d0dc7725041eaa5d07b6bf9ce1ec9", kill_on_drop: false }` [INFO] [stdout] 76044df281a29cab78b4f57fc2c2164fc88d0dc7725041eaa5d07b6bf9ce1ec9 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d32b1875a3973b53fce98a0585e608e3b4b02d25dfd3bb5296ba2f79235faea [INFO] running `Command { std: "docker" "start" "-a" "8d32b1875a3973b53fce98a0585e608e3b4b02d25dfd3bb5296ba2f79235faea", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling mysqlclient-sys v0.4.7 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling diesel_derives v2.3.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.3.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling downcast-rs v2.0.2 [INFO] [stderr] Compiling tower-http v0.4.4 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling ulid v1.2.1 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling dsl_auto_type v0.2.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling rustls-webpki v0.103.6 [INFO] [stderr] Compiling ammonia v3.3.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling diesel v2.3.2 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling jedi v0.1.14 [INFO] [stderr] Compiling axum-extra v0.7.7 [INFO] [stderr] Compiling kbve v0.1.25 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/utility.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | .filter(|c| (c.is_alphanumeric() || "/?@%$#".contains(*c))) [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] 183 - .filter(|c| (c.is_alphanumeric() || "/?@%$#".contains(*c))) [INFO] [stdout] 183 + .filter(|c| c.is_alphanumeric() || "/?@%$#".contains(*c)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxError`, `FromRequest`, `Next`, `Response`, `async_trait`, and `self` [INFO] [stdout] --> src/authentication.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | http::{ StatusCode, Request, header }, [INFO] [stdout] 42 | extract::{ Extension, Path, State, FromRequest }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | response::{ IntoResponse, Response }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | middleware::{ self, Next }, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 45 | Json, [INFO] [stdout] 46 | BoxError, [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: `rand_core::OsRng` [INFO] [stdout] --> src/authentication.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Error as ReqwestError` [INFO] [stdout] --> src/sys/system_diagnostics.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use reqwest::Error as ReqwestError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value as JsonValue` [INFO] [stdout] --> src/entity/response/header_response.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json::{json, Value as JsonValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/entity/session/jwt.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{ StatusCode, HeaderMap }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Extension` [INFO] [stdout] --> src/entity/session/middleware.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | extract::{ Extension, Json, State }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DecodingKey`, `Validation`, and `decode` [INFO] [stdout] --> src/entity/session/middleware.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use jsonwebtoken::{decode, DecodingKey, Validation}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/entity/session/recover.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Utc, Duration, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PasswordHash` and `PasswordVerifier` [INFO] [stdout] --> src/entity/session/recover.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 9 | use argon2::{ password_hash::SaltString, Argon2, PasswordHash, PasswordHasher, PasswordVerifier }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxError`, `FromRequest`, `Next`, `Path`, `Request`, `Response`, `State`, `async_trait`, `header`, and `self` [INFO] [stdout] --> src/entity/session/recover.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | http::{ StatusCode, Request, header }, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] 22 | extract::{ Extension, Path, State, FromRequest }, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 23 | response::{ IntoResponse, Response }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | middleware::{ self, Next }, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 25 | Json, [INFO] [stdout] 26 | BoxError, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/entity/session/recover.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `async_trait`, and `routing::get` [INFO] [stdout] --> src/entity/images/shields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | routing::get, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | body::Body, [INFO] [stdout] 8 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/entity/images/shields.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `async_trait`, and `routing::get` [INFO] [stdout] --> src/entity/images/jedi.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | routing::get, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | body::Body, [INFO] [stdout] 8 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/entity/images/jedi.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap`, `Query`, `Router`, `async_trait`, and `routing::get` [INFO] [stdout] --> src/entity/images/sheet.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{ Query, Path }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | response::{ Response, IntoResponse }, [INFO] [stdout] 4 | http::{ StatusCode, header, HeaderMap }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | routing::get, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | body::Body, [INFO] [stdout] 8 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/entity/images/sheet.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ammonia::clean` [INFO] [stdout] --> src/entity/images/sheet.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use ammonia::clean; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericResponse` and `HeaderResponse` [INFO] [stdout] --> src/entity/images/sheet.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::response::{ GenericResponse, HeaderResponse }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Character` [INFO] [stdout] --> src/entity/images/sheet.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::models::{ Character }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/entity/images/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use shields::*; [INFO] [stdout] | ^^^^^^^^^^ the name `TextParams` in the type namespace is first re-exported here [INFO] [stdout] 6 | pub use jedi::*; [INFO] [stdout] 7 | pub use sheet::*; [INFO] [stdout] | -------- but the name `TextParams` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/entity/client/resend.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxError`, `FromRequest`, `Next`, `Path`, `Request`, `Response`, `State`, `async_trait`, `header`, and `self` [INFO] [stdout] --> src/entity/client/resend.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | http::{ StatusCode, Request, header }, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] 20 | extract::{ Extension, Path, State, FromRequest }, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 21 | response::{ IntoResponse, Response }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | middleware::{ self, Next }, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 23 | Json, [INFO] [stdout] 24 | BoxError, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> src/entity/client/ai.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroqResponse` [INFO] [stdout] --> src/entity/client/ai.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | use jedi::groq::{GroqClient, GroqRequestBody, GroqMessage, GroqResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/entity/client/ai.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/entity/client/ai.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spellbook::*` [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use spellbook::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/authentication.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | let mut conn = spellbook_pool!(pool); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/authentication.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authentication.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | let mut conn = spellbook_pool!(pool); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/authentication.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `empty_token_cookie` [INFO] [stdout] --> src/entity/session/jwt.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | let empty_token_cookie = HeaderResponse::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_token_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | let mut conn = match state.db_pool.get() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:223:7 [INFO] [stdout] | [INFO] [stdout] 223 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/model/character/character_handler.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | Extension(mut privatedata): Extension> [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/model/character/character_handler.rs:189:6 [INFO] [stdout] | [INFO] [stdout] 189 | let mut conn = match state.db_pool.get() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | let mut conn = match state.db_pool.get() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:373:7 [INFO] [stdout] | [INFO] [stdout] 373 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_message` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:420:7 [INFO] [stdout] | [INFO] [stdout] 420 | Err(error_message) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/model/character/character_handler.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | Extension(mut privatedata): Extension>, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/model/character/character_handler.rs:268:6 [INFO] [stdout] | [INFO] [stdout] 268 | let mut conn = match state.db_pool.get() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "8d32b1875a3973b53fce98a0585e608e3b4b02d25dfd3bb5296ba2f79235faea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d32b1875a3973b53fce98a0585e608e3b4b02d25dfd3bb5296ba2f79235faea", kill_on_drop: false }` [INFO] [stdout] 8d32b1875a3973b53fce98a0585e608e3b4b02d25dfd3bb5296ba2f79235faea [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a8ba18e199b75bb431496b3192cbc6f962e60fc355f4c1c191043999071e3e5 [INFO] running `Command { std: "docker" "start" "-a" "4a8ba18e199b75bb431496b3192cbc6f962e60fc355f4c1c191043999071e3e5", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/utility.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | .filter(|c| (c.is_alphanumeric() || "/?@%$#".contains(*c))) [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] 183 - .filter(|c| (c.is_alphanumeric() || "/?@%$#".contains(*c))) [INFO] [stdout] 183 + .filter(|c| c.is_alphanumeric() || "/?@%$#".contains(*c)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxError`, `FromRequest`, `Next`, `Response`, `async_trait`, and `self` [INFO] [stdout] --> src/authentication.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | http::{ StatusCode, Request, header }, [INFO] [stdout] 42 | extract::{ Extension, Path, State, FromRequest }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | response::{ IntoResponse, Response }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | middleware::{ self, Next }, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 45 | Json, [INFO] [stdout] 46 | BoxError, [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: `rand_core::OsRng` [INFO] [stdout] --> src/authentication.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Error as ReqwestError` [INFO] [stdout] --> src/sys/system_diagnostics.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use reqwest::Error as ReqwestError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value as JsonValue` [INFO] [stdout] --> src/entity/response/header_response.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json::{json, Value as JsonValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/entity/session/jwt.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{ StatusCode, HeaderMap }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Extension` [INFO] [stdout] --> src/entity/session/middleware.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | extract::{ Extension, Json, State }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DecodingKey`, `Validation`, and `decode` [INFO] [stdout] --> src/entity/session/middleware.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use jsonwebtoken::{decode, DecodingKey, Validation}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/entity/session/recover.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Utc, Duration, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PasswordHash` and `PasswordVerifier` [INFO] [stdout] --> src/entity/session/recover.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 9 | use argon2::{ password_hash::SaltString, Argon2, PasswordHash, PasswordHasher, PasswordVerifier }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxError`, `FromRequest`, `Next`, `Path`, `Request`, `Response`, `State`, `async_trait`, `header`, and `self` [INFO] [stdout] --> src/entity/session/recover.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | http::{ StatusCode, Request, header }, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] 22 | extract::{ Extension, Path, State, FromRequest }, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 23 | response::{ IntoResponse, Response }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | middleware::{ self, Next }, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 25 | Json, [INFO] [stdout] 26 | BoxError, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/entity/session/recover.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `async_trait`, and `routing::get` [INFO] [stdout] --> src/entity/images/shields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | routing::get, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | body::Body, [INFO] [stdout] 8 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/entity/images/shields.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `async_trait`, and `routing::get` [INFO] [stdout] --> src/entity/images/jedi.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | routing::get, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | body::Body, [INFO] [stdout] 8 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/entity/images/jedi.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap`, `Query`, `Router`, `async_trait`, and `routing::get` [INFO] [stdout] --> src/entity/images/sheet.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{ Query, Path }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | response::{ Response, IntoResponse }, [INFO] [stdout] 4 | http::{ StatusCode, header, HeaderMap }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | routing::get, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | body::Body, [INFO] [stdout] 8 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/entity/images/sheet.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ammonia::clean` [INFO] [stdout] --> src/entity/images/sheet.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use ammonia::clean; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericResponse` and `HeaderResponse` [INFO] [stdout] --> src/entity/images/sheet.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::response::{ GenericResponse, HeaderResponse }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Character` [INFO] [stdout] --> src/entity/images/sheet.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::models::{ Character }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/entity/images/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use shields::*; [INFO] [stdout] | ^^^^^^^^^^ the name `TextParams` in the type namespace is first re-exported here [INFO] [stdout] 6 | pub use jedi::*; [INFO] [stdout] 7 | pub use sheet::*; [INFO] [stdout] | -------- but the name `TextParams` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/entity/client/resend.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxError`, `FromRequest`, `Next`, `Path`, `Request`, `Response`, `State`, `async_trait`, `header`, and `self` [INFO] [stdout] --> src/entity/client/resend.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | http::{ StatusCode, Request, header }, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] 20 | extract::{ Extension, Path, State, FromRequest }, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 21 | response::{ IntoResponse, Response }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | middleware::{ self, Next }, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 23 | Json, [INFO] [stdout] 24 | BoxError, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> src/entity/client/ai.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroqResponse` [INFO] [stdout] --> src/entity/client/ai.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | use jedi::groq::{GroqClient, GroqRequestBody, GroqMessage, GroqResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/entity/client/ai.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/entity/client/ai.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spellbook::*` [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use spellbook::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/authentication.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | let mut conn = spellbook_pool!(pool); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/authentication.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authentication.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | let mut conn = spellbook_pool!(pool); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/authentication.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `empty_token_cookie` [INFO] [stdout] --> src/entity/session/jwt.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | let empty_token_cookie = HeaderResponse::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_token_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | let mut conn = match state.db_pool.get() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:223:7 [INFO] [stdout] | [INFO] [stdout] 223 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/model/character/character_handler.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | Extension(mut privatedata): Extension> [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/model/character/character_handler.rs:189:6 [INFO] [stdout] | [INFO] [stdout] 189 | let mut conn = match state.db_pool.get() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | let mut conn = match state.db_pool.get() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:373:7 [INFO] [stdout] | [INFO] [stdout] 373 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_message` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:420:7 [INFO] [stdout] | [INFO] [stdout] 420 | Err(error_message) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/model/character/character_handler.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | Extension(mut privatedata): Extension>, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/model/character/character_handler.rs:268:6 [INFO] [stdout] | [INFO] [stdout] 268 | let mut conn = match state.db_pool.get() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kbve v0.1.25 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/utility.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | .filter(|c| (c.is_alphanumeric() || "/?@%$#".contains(*c))) [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] 183 - .filter(|c| (c.is_alphanumeric() || "/?@%$#".contains(*c))) [INFO] [stdout] 183 + .filter(|c| c.is_alphanumeric() || "/?@%$#".contains(*c)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxError`, `FromRequest`, `Next`, `Response`, `async_trait`, and `self` [INFO] [stdout] --> src/authentication.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | http::{ StatusCode, Request, header }, [INFO] [stdout] 42 | extract::{ Extension, Path, State, FromRequest }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | response::{ IntoResponse, Response }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | middleware::{ self, Next }, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 45 | Json, [INFO] [stdout] 46 | BoxError, [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: `rand_core::OsRng` [INFO] [stdout] --> src/authentication.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Error as ReqwestError` [INFO] [stdout] --> src/sys/system_diagnostics.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use reqwest::Error as ReqwestError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value as JsonValue` [INFO] [stdout] --> src/entity/response/header_response.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json::{json, Value as JsonValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/entity/session/jwt.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{ StatusCode, HeaderMap }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Extension` [INFO] [stdout] --> src/entity/session/middleware.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | extract::{ Extension, Json, State }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DecodingKey`, `Validation`, and `decode` [INFO] [stdout] --> src/entity/session/middleware.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use jsonwebtoken::{decode, DecodingKey, Validation}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/entity/session/recover.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Utc, Duration, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PasswordHash` and `PasswordVerifier` [INFO] [stdout] --> src/entity/session/recover.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 9 | use argon2::{ password_hash::SaltString, Argon2, PasswordHash, PasswordHasher, PasswordVerifier }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxError`, `FromRequest`, `Next`, `Path`, `Request`, `Response`, `State`, `async_trait`, `header`, and `self` [INFO] [stdout] --> src/entity/session/recover.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | http::{ StatusCode, Request, header }, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] 22 | extract::{ Extension, Path, State, FromRequest }, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 23 | response::{ IntoResponse, Response }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | middleware::{ self, Next }, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 25 | Json, [INFO] [stdout] 26 | BoxError, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/entity/session/recover.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `async_trait`, and `routing::get` [INFO] [stdout] --> src/entity/images/shields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | routing::get, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | body::Body, [INFO] [stdout] 8 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/entity/images/shields.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `async_trait`, and `routing::get` [INFO] [stdout] --> src/entity/images/jedi.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | routing::get, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | body::Body, [INFO] [stdout] 8 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/entity/images/jedi.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap`, `Query`, `Router`, `async_trait`, and `routing::get` [INFO] [stdout] --> src/entity/images/sheet.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{ Query, Path }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | response::{ Response, IntoResponse }, [INFO] [stdout] 4 | http::{ StatusCode, header, HeaderMap }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | routing::get, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | body::Body, [INFO] [stdout] 8 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/entity/images/sheet.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ammonia::clean` [INFO] [stdout] --> src/entity/images/sheet.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use ammonia::clean; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericResponse` and `HeaderResponse` [INFO] [stdout] --> src/entity/images/sheet.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::response::{ GenericResponse, HeaderResponse }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Character` [INFO] [stdout] --> src/entity/images/sheet.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::models::{ Character }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/entity/images/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use shields::*; [INFO] [stdout] | ^^^^^^^^^^ the name `TextParams` in the type namespace is first re-exported here [INFO] [stdout] 6 | pub use jedi::*; [INFO] [stdout] 7 | pub use sheet::*; [INFO] [stdout] | -------- but the name `TextParams` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/entity/client/resend.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxError`, `FromRequest`, `Next`, `Path`, `Request`, `Response`, `State`, `async_trait`, `header`, and `self` [INFO] [stdout] --> src/entity/client/resend.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | http::{ StatusCode, Request, header }, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] 20 | extract::{ Extension, Path, State, FromRequest }, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 21 | response::{ IntoResponse, Response }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | middleware::{ self, Next }, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 23 | Json, [INFO] [stdout] 24 | BoxError, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> src/entity/client/ai.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroqResponse` [INFO] [stdout] --> src/entity/client/ai.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | use jedi::groq::{GroqClient, GroqRequestBody, GroqMessage, GroqResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/entity/client/ai.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/entity/client/ai.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spellbook::*` [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use spellbook::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/authentication.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | let mut conn = spellbook_pool!(pool); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/authentication.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authentication.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | let mut conn = spellbook_pool!(pool); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/authentication.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `empty_token_cookie` [INFO] [stdout] --> src/entity/session/jwt.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | let empty_token_cookie = HeaderResponse::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_token_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | let mut conn = match state.db_pool.get() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:223:7 [INFO] [stdout] | [INFO] [stdout] 223 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/model/character/character_handler.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | Extension(mut privatedata): Extension> [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/model/character/character_handler.rs:189:6 [INFO] [stdout] | [INFO] [stdout] 189 | let mut conn = match state.db_pool.get() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | let mut conn = match state.db_pool.get() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:373:7 [INFO] [stdout] | [INFO] [stdout] 373 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_message` [INFO] [stdout] --> src/entity/model/character/character_handler.rs:420:7 [INFO] [stdout] | [INFO] [stdout] 420 | Err(error_message) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/model/character/character_handler.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | Extension(mut privatedata): Extension>, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/model/character/character_handler.rs:268:6 [INFO] [stdout] | [INFO] [stdout] 268 | let mut conn = match state.db_pool.get() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.64s [INFO] running `Command { std: "docker" "inspect" "4a8ba18e199b75bb431496b3192cbc6f962e60fc355f4c1c191043999071e3e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a8ba18e199b75bb431496b3192cbc6f962e60fc355f4c1c191043999071e3e5", kill_on_drop: false }` [INFO] [stdout] 4a8ba18e199b75bb431496b3192cbc6f962e60fc355f4c1c191043999071e3e5