[INFO] crate kbve 0.1.25 is already in cache [INFO] checking kbve-0.1.25 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate kbve 0.1.25 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate kbve 0.1.25 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 242 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding ammonia v3.3.0 (latest: v4.0.0) [INFO] [stderr] Adding axum v0.6.20 (latest: v0.7.5) [INFO] [stderr] Adding axum-core v0.3.4 (latest: v0.4.3) [INFO] [stderr] Adding axum-extra v0.7.7 (latest: v0.9.3) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cookie v0.17.0 (latest: v0.18.1) [INFO] [stderr] Adding dashmap v5.5.3 (latest: v6.0.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding html5ever v0.26.0 (latest: v0.28.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (latest: v1.0.1) [INFO] [stderr] Adding http-range-header v0.3.1 (latest: v0.4.1) [INFO] [stderr] Adding hyper v0.14.30 (latest: v1.4.1) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding jsonwebtoken v8.3.0 (latest: v9.3.0) [INFO] [stderr] Adding markup5ever v0.11.0 (latest: v0.13.0) [INFO] [stderr] Adding matchers v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding matchit v0.7.3 (latest: v0.8.4) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.1) [INFO] [stderr] Adding pem v1.1.1 (latest: v3.0.4) [INFO] [stderr] Adding phf v0.10.1 (latest: v0.11.2) [INFO] [stderr] Adding phf_codegen v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding phf_generator v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding phf_shared v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding ring v0.16.20 (latest: v0.17.8) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (latest: v1.0.1) [INFO] [stderr] Adding tower v0.4.13 (latest: v0.5.0) [INFO] [stderr] Adding tower-http v0.4.4 (latest: v0.5.2) [INFO] [stderr] Adding untrusted v0.7.1 (latest: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f912f3adc35d9e922d733f4871fb7e5501c198096f2c0bb20377bcb8209a2ce [INFO] running `Command { std: "docker" "start" "-a" "0f912f3adc35d9e922d733f4871fb7e5501c198096f2c0bb20377bcb8209a2ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f912f3adc35d9e922d733f4871fb7e5501c198096f2c0bb20377bcb8209a2ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f912f3adc35d9e922d733f4871fb7e5501c198096f2c0bb20377bcb8209a2ce", kill_on_drop: false }` [INFO] [stdout] 0f912f3adc35d9e922d733f4871fb7e5501c198096f2c0bb20377bcb8209a2ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18fecd01637f469eb7dd0a1ef4554db7fac3903bf32d67ed7f9d83d49a2343a8 [INFO] running `Command { std: "docker" "start" "-a" "18fecd01637f469eb7dd0a1ef4554db7fac3903bf32d67ed7f9d83d49a2343a8", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling mysqlclient-sys v0.4.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Checking rustls-webpki v0.102.7 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking ulid v1.1.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking diesel v2.2.3 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking ammonia v3.3.0 [INFO] [stderr] Checking jedi v0.1.12 [INFO] [stderr] Checking axum-extra v0.7.7 [INFO] [stderr] Checking kbve v0.1.25 (/opt/rustwide/workdir) [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)]` 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 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)]` 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)]` 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)]` 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: `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)]` 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)]` 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: `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] [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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utility.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | Regex::new(r"(?i)^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utility.rs:53:2 [INFO] [stdout] | [INFO] [stdout] 53 | Regex::new(r"github\.com/([a-zA-Z0-9_-]+)").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utility.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 57 | / Regex::new( [INFO] [stdout] 58 | | r"(?:@|(?:www\.)?instagram\.com/)?(?:@)?([a-zA-Z0-9_](?:[a-zA-Z0-9_.]*[a-zA-Z0-9_])?)" [INFO] [stdout] 59 | | ).unwrap() [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utility.rs:63:2 [INFO] [stdout] | [INFO] [stdout] 63 | Regex::new(r"photo-([a-zA-Z0-9]+-[a-zA-Z0-9]+)").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utility.rs:322:2 [INFO] [stdout] | [INFO] [stdout] 310 | let orgins = [ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | / CorsLayer::new() [INFO] [stdout] 323 | | .allow_origin(orgins) [INFO] [stdout] 324 | | .allow_methods([Method::PUT, Method::GET, Method::DELETE, Method::POST]) [INFO] [stdout] 325 | | .allow_credentials(true) [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utility.rs:326:18 [INFO] [stdout] | [INFO] [stdout] 310 | let orgins = [ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | .allow_headers([ [INFO] [stdout] | ________________________^ [INFO] [stdout] 327 | | AUTHORIZATION, [INFO] [stdout] 328 | | ACCEPT, [INFO] [stdout] 329 | | CONTENT_TYPE, [INFO] [stdout] 330 | | HeaderName::from_static("x-kbve-shieldwall"), [INFO] [stdout] 331 | | HeaderName::from_static("x-kbve-api"), [INFO] [stdout] 332 | | ]) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utility.rs:413:3 [INFO] [stdout] | [INFO] [stdout] 410 | let mut conn = pool.get().map_err(|_| StatusCode::SERVICE_UNAVAILABLE)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 413 | / diesel [INFO] [stdout] 414 | | ::sql_query("SELECT 1") [INFO] [stdout] 415 | | .execute(&mut conn) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/captcha.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | .map_err(|e| Box::new(e) as Box)?; [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/captcha.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | .map_err(|e| Box::new(e) as Box)?; [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sanitization/regex_extractor.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | Regex::new(r"(?i)^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sanitization/regex_extractor.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | Regex::new(r"github\.com/([a-zA-Z0-9_-]+)").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sanitization/regex_extractor.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | / Regex::new( [INFO] [stdout] 14 | | r"(?:@|(?:www\.)?instagram\.com/)?(?:@)?([a-zA-Z0-9_](?:[a-zA-Z0-9_.]*[a-zA-Z0-9_])?)" [INFO] [stdout] 15 | | ).unwrap() [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sanitization/regex_extractor.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | Regex::new(r"photo-([a-zA-Z0-9]+-[a-zA-Z0-9]+)").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sanitization/regex_extractor.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | Regex::new(r"discord\.com/widget\?id=(\d+)").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sanitization/regex_extractor.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | Regex::new(r"(?i)^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/response/header_response.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 62 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let header_name = HeaderName::from_str(header_key).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let header_value = HeaderValue::from_str(&format!("shield_{}", header_value_suffix)).unwrap(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | / ( [INFO] [stdout] 68 | | StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] 69 | | headers, [INFO] [stdout] 70 | | Json(json!({ [INFO] [stdout] ... | [INFO] [stdout] 73 | | })) [INFO] [stdout] 74 | | ).into_response() [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/response/header_response.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 78 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | let header_name = HeaderName::from_str(header_key).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | let header_value = HeaderValue::from_str(&format!("shield_{}", header_value_suffix)).unwrap(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | / ( [INFO] [stdout] 84 | | status, [INFO] [stdout] 85 | | headers, [INFO] [stdout] 86 | | Json(json!({ [INFO] [stdout] ... | [INFO] [stdout] 89 | | })) [INFO] [stdout] 90 | | ).into_response() [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/session/recover.rs:52:49 [INFO] [stdout] | [INFO] [stdout] 52 | .map_err(|_| DieselError::QueryBuilderError("Failed due to thread join issue".into()))? [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/session/recover.rs:70:73 [INFO] [stdout] | [INFO] [stdout] 70 | .map_err(|e| DieselError::DatabaseError(DatabaseErrorKind::Unknown, Box::new(e.to_string())))? [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/session/recover.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn validate_recovery_token(email: String, token: String, pool: Arc) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let mut connection = pool.get().map_err(|_| DieselError::NotFound)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | / auth::table [INFO] [stdout] 83 | | .filter(auth::email.eq(email)) [INFO] [stdout] 84 | | .filter(auth::password_reset_token.eq(token)) [INFO] [stdout] 85 | | .filter(auth::password_reset_expiry.gt(Utc::now().naive_utc())) [INFO] [stdout] 86 | | .first::(&mut connection) [INFO] [stdout] 87 | | .optional() [INFO] [stdout] 88 | | .map(|user| user.is_some()) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______________________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/session/recover.rs:91:73 [INFO] [stdout] | [INFO] [stdout] 91 | .map_err(|e| DieselError::DatabaseError(DatabaseErrorKind::Unknown, Box::new(e.to_string())))? [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/session/recover.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub async fn update_user_password(email: String, new_password: String, pool: Arc) -> Result<(), DieselError> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | let mut connection = pool.get().map_err(|_| DieselError::NotFound)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | / diesel::update(auth::table.filter(auth::email.eq(email))) [INFO] [stdout] 107 | | .set(auth::hash.eq(password_hash)) [INFO] [stdout] 108 | | .execute(&mut connection) [INFO] [stdout] 109 | | .map(|_| ()) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/session/recover.rs:112:73 [INFO] [stdout] | [INFO] [stdout] 112 | .map_err(|e| DieselError::DatabaseError(DatabaseErrorKind::Unknown, Box::new(e.to_string())))? [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/model/character/character_handler.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 77 | pool: Arc [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let mut conn = spellbook_pool_conn!(pool); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | [INFO] [stdout] 83 | / characters::table [INFO] [stdout] 84 | | .filter(characters::name.eq(dirty_name)) [INFO] [stdout] 85 | | .select(characters::cid) [INFO] [stdout] 86 | | .first::>(&mut conn) [INFO] [stdout] 87 | | .map(|_| false) [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/spellbook.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(conn) => conn, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/model/character/character_handler.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 102 | pool: Arc [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let mut conn = spellbook_pool_conn!(pool); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | / characters::table [INFO] [stdout] 110 | | .filter(characters::name.eq(character_name)) [INFO] [stdout] 111 | | .first::(&mut conn) [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/spellbook.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(conn) => conn, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/model/character/character_handler.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 128 | pool: Arc [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | let mut conn = spellbook_pool_conn!(pool); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | / insert_into(characters::table) [INFO] [stdout] 137 | | .values(( [INFO] [stdout] 138 | | characters::id.eq(0), [INFO] [stdout] 139 | | characters::cid.eq(clean_cid), [INFO] [stdout] ... | [INFO] [stdout] 157 | | .execute(&mut conn) [INFO] [stdout] 158 | | .map(|_| true) [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/spellbook.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(conn) => conn, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/model/character/character_handler.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 168 | pool: Arc [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | let mut conn = spellbook_pool_conn!(pool); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | [INFO] [stdout] 174 | / characters::table [INFO] [stdout] 175 | | .filter(characters::userid.eq(dirty_userid)) [INFO] [stdout] 176 | | .load::(&mut conn) [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/spellbook.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(conn) => conn, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/client/ai.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 54 | let client_clone = Arc::clone(&client); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | match client_clone.test_request(&body).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kbve` (lib test) due to 29 previous errors; 43 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utility.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | Regex::new(r"(?i)^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utility.rs:53:2 [INFO] [stdout] | [INFO] [stdout] 53 | Regex::new(r"github\.com/([a-zA-Z0-9_-]+)").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utility.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 57 | / Regex::new( [INFO] [stdout] 58 | | r"(?:@|(?:www\.)?instagram\.com/)?(?:@)?([a-zA-Z0-9_](?:[a-zA-Z0-9_.]*[a-zA-Z0-9_])?)" [INFO] [stdout] 59 | | ).unwrap() [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utility.rs:63:2 [INFO] [stdout] | [INFO] [stdout] 63 | Regex::new(r"photo-([a-zA-Z0-9]+-[a-zA-Z0-9]+)").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utility.rs:322:2 [INFO] [stdout] | [INFO] [stdout] 310 | let orgins = [ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | / CorsLayer::new() [INFO] [stdout] 323 | | .allow_origin(orgins) [INFO] [stdout] 324 | | .allow_methods([Method::PUT, Method::GET, Method::DELETE, Method::POST]) [INFO] [stdout] 325 | | .allow_credentials(true) [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utility.rs:326:18 [INFO] [stdout] | [INFO] [stdout] 310 | let orgins = [ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | .allow_headers([ [INFO] [stdout] | ________________________^ [INFO] [stdout] 327 | | AUTHORIZATION, [INFO] [stdout] 328 | | ACCEPT, [INFO] [stdout] 329 | | CONTENT_TYPE, [INFO] [stdout] 330 | | HeaderName::from_static("x-kbve-shieldwall"), [INFO] [stdout] 331 | | HeaderName::from_static("x-kbve-api"), [INFO] [stdout] 332 | | ]) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utility.rs:413:3 [INFO] [stdout] | [INFO] [stdout] 410 | let mut conn = pool.get().map_err(|_| StatusCode::SERVICE_UNAVAILABLE)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 413 | / diesel [INFO] [stdout] 414 | | ::sql_query("SELECT 1") [INFO] [stdout] 415 | | .execute(&mut conn) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/captcha.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | .map_err(|e| Box::new(e) as Box)?; [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/captcha.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | .map_err(|e| Box::new(e) as Box)?; [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sanitization/regex_extractor.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | Regex::new(r"(?i)^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sanitization/regex_extractor.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | Regex::new(r"github\.com/([a-zA-Z0-9_-]+)").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sanitization/regex_extractor.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | / Regex::new( [INFO] [stdout] 14 | | r"(?:@|(?:www\.)?instagram\.com/)?(?:@)?([a-zA-Z0-9_](?:[a-zA-Z0-9_.]*[a-zA-Z0-9_])?)" [INFO] [stdout] 15 | | ).unwrap() [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sanitization/regex_extractor.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | Regex::new(r"photo-([a-zA-Z0-9]+-[a-zA-Z0-9]+)").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sanitization/regex_extractor.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | Regex::new(r"discord\.com/widget\?id=(\d+)").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sanitization/regex_extractor.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | Regex::new(r"(?i)^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/response/header_response.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 62 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let header_name = HeaderName::from_str(header_key).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let header_value = HeaderValue::from_str(&format!("shield_{}", header_value_suffix)).unwrap(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | / ( [INFO] [stdout] 68 | | StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] 69 | | headers, [INFO] [stdout] 70 | | Json(json!({ [INFO] [stdout] ... | [INFO] [stdout] 73 | | })) [INFO] [stdout] 74 | | ).into_response() [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/response/header_response.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 78 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | let header_name = HeaderName::from_str(header_key).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | let header_value = HeaderValue::from_str(&format!("shield_{}", header_value_suffix)).unwrap(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | / ( [INFO] [stdout] 84 | | status, [INFO] [stdout] 85 | | headers, [INFO] [stdout] 86 | | Json(json!({ [INFO] [stdout] ... | [INFO] [stdout] 89 | | })) [INFO] [stdout] 90 | | ).into_response() [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/session/recover.rs:52:49 [INFO] [stdout] | [INFO] [stdout] 52 | .map_err(|_| DieselError::QueryBuilderError("Failed due to thread join issue".into()))? [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/session/recover.rs:70:73 [INFO] [stdout] | [INFO] [stdout] 70 | .map_err(|e| DieselError::DatabaseError(DatabaseErrorKind::Unknown, Box::new(e.to_string())))? [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/session/recover.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn validate_recovery_token(email: String, token: String, pool: Arc) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let mut connection = pool.get().map_err(|_| DieselError::NotFound)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | / auth::table [INFO] [stdout] 83 | | .filter(auth::email.eq(email)) [INFO] [stdout] 84 | | .filter(auth::password_reset_token.eq(token)) [INFO] [stdout] 85 | | .filter(auth::password_reset_expiry.gt(Utc::now().naive_utc())) [INFO] [stdout] 86 | | .first::(&mut connection) [INFO] [stdout] 87 | | .optional() [INFO] [stdout] 88 | | .map(|user| user.is_some()) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______________________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/session/recover.rs:91:73 [INFO] [stdout] | [INFO] [stdout] 91 | .map_err(|e| DieselError::DatabaseError(DatabaseErrorKind::Unknown, Box::new(e.to_string())))? [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/session/recover.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub async fn update_user_password(email: String, new_password: String, pool: Arc) -> Result<(), DieselError> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | let mut connection = pool.get().map_err(|_| DieselError::NotFound)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | / diesel::update(auth::table.filter(auth::email.eq(email))) [INFO] [stdout] 107 | | .set(auth::hash.eq(password_hash)) [INFO] [stdout] 108 | | .execute(&mut connection) [INFO] [stdout] 109 | | .map(|_| ()) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/session/recover.rs:112:73 [INFO] [stdout] | [INFO] [stdout] 112 | .map_err(|e| DieselError::DatabaseError(DatabaseErrorKind::Unknown, Box::new(e.to_string())))? [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/model/character/character_handler.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 77 | pool: Arc [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let mut conn = spellbook_pool_conn!(pool); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | [INFO] [stdout] 83 | / characters::table [INFO] [stdout] 84 | | .filter(characters::name.eq(dirty_name)) [INFO] [stdout] 85 | | .select(characters::cid) [INFO] [stdout] 86 | | .first::>(&mut conn) [INFO] [stdout] 87 | | .map(|_| false) [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/spellbook.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(conn) => conn, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/model/character/character_handler.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 102 | pool: Arc [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let mut conn = spellbook_pool_conn!(pool); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | / characters::table [INFO] [stdout] 110 | | .filter(characters::name.eq(character_name)) [INFO] [stdout] 111 | | .first::(&mut conn) [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/spellbook.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(conn) => conn, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/model/character/character_handler.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 128 | pool: Arc [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | let mut conn = spellbook_pool_conn!(pool); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | / insert_into(characters::table) [INFO] [stdout] 137 | | .values(( [INFO] [stdout] 138 | | characters::id.eq(0), [INFO] [stdout] 139 | | characters::cid.eq(clean_cid), [INFO] [stdout] ... | [INFO] [stdout] 157 | | .execute(&mut conn) [INFO] [stdout] 158 | | .map(|_| true) [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/spellbook.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(conn) => conn, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/model/character/character_handler.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 168 | pool: Arc [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | let mut conn = spellbook_pool_conn!(pool); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | [INFO] [stdout] 174 | / characters::table [INFO] [stdout] 175 | | .filter(characters::userid.eq(dirty_userid)) [INFO] [stdout] 176 | | .load::(&mut conn) [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/spellbook.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(conn) => conn, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entity/client/ai.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 54 | let client_clone = Arc::clone(&client); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | match client_clone.test_request(&body).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kbve` (lib) due to 29 previous errors; 43 warnings emitted [INFO] running `Command { std: "docker" "inspect" "18fecd01637f469eb7dd0a1ef4554db7fac3903bf32d67ed7f9d83d49a2343a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18fecd01637f469eb7dd0a1ef4554db7fac3903bf32d67ed7f9d83d49a2343a8", kill_on_drop: false }` [INFO] [stdout] 18fecd01637f469eb7dd0a1ef4554db7fac3903bf32d67ed7f9d83d49a2343a8