[INFO] cloning repository https://github.com/xFeuer/auth-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xFeuer/auth-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxFeuer%2Fauth-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxFeuer%2Fauth-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ab4b8aedf27614c9f3b4f8f2a50f6900c578a2a [INFO] building xFeuer/auth-api against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxFeuer%2Fauth-api" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xFeuer/auth-api [INFO] finished tweaking git repo https://github.com/xFeuer/auth-api [INFO] tweaked toml for git repo https://github.com/xFeuer/auth-api written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xFeuer/auth-api on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xFeuer/auth-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_with_macros v3.13.0 [INFO] [stderr] Downloaded macro_magic_core v0.5.1 [INFO] [stderr] Downloaded derive-syn-parse v0.2.0 [INFO] [stderr] Downloaded oauth2 v4.4.2 [INFO] [stderr] Downloaded macro_magic v0.5.1 [INFO] [stderr] Downloaded macro_magic_macros v0.5.1 [INFO] [stderr] Downloaded bcrypt v0.16.0 [INFO] [stderr] Downloaded resolv-conf v0.7.4 [INFO] [stderr] Downloaded macro_magic_core_macros v0.5.1 [INFO] [stderr] Downloaded derive-where v1.5.0 [INFO] [stderr] Downloaded derive_more v0.99.20 [INFO] [stderr] Downloaded mongodb-internal-macros v3.2.3 [INFO] [stderr] Downloaded rustc_version_runtime v0.3.0 [INFO] [stderr] Downloaded serde_with v3.13.0 [INFO] [stderr] Downloaded mongodb v3.2.3 [INFO] [stderr] Downloaded hickory-proto v0.24.4 [INFO] [stderr] Downloaded hickory-resolver v0.24.4 [INFO] [stderr] Downloaded bson v2.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8446d6507990bfb769eb217c187203dee46239ad8238fabb29ce4598edd94a31 [INFO] running `Command { std: "docker" "start" "-a" "8446d6507990bfb769eb217c187203dee46239ad8238fabb29ce4598edd94a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8446d6507990bfb769eb217c187203dee46239ad8238fabb29ce4598edd94a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8446d6507990bfb769eb217c187203dee46239ad8238fabb29ce4598edd94a31", kill_on_drop: false }` [INFO] [stdout] 8446d6507990bfb769eb217c187203dee46239ad8238fabb29ce4598edd94a31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c798b4d318b59d3f4c2e9a6d4bc84c93e70b26d60e2d12e8f166e6fbc4986a78 [INFO] running `Command { std: "docker" "start" "-a" "c798b4d318b59d3f4c2e9a6d4bc84c93e70b26d60e2d12e8f166e6fbc4986a78", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling resolv-conf v0.7.4 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling bcrypt v0.16.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde_with_macros v3.13.0 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling mongodb-internal-macros v3.2.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling serde_with v3.13.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling derive-where v1.5.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling mongodb v3.2.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling oauth2 v4.4.2 [INFO] [stderr] Compiling auth-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/handlers/auth.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | http::{HeaderMap, StatusCode}, [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: `auth::*` [INFO] [stdout] --> src/handlers/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use auth::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/middleware/auth.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | http::{HeaderMap, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth::*` [INFO] [stdout] --> src/middleware/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use auth::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `session_secret` and `session_duration_hours` are never read [INFO] [stdout] --> src/config/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub session_secret: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub session_duration_hours: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `session_id` are never read [INFO] [stdout] --> src/middleware/auth.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct AuthenticatedUser { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 17 | pub user_id: ObjectId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | pub session_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthenticatedUser` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_authenticated_user` is never used [INFO] [stdout] --> src/middleware/auth.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_authenticated_user(headers: &HeaderMap) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `invalidate_all_user_sessions` is never used [INFO] [stdout] --> src/models/session.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl Session { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub async fn invalidate_all_user_sessions(db: &Database, user_id: &ObjectId) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 42s [INFO] running `Command { std: "docker" "inspect" "c798b4d318b59d3f4c2e9a6d4bc84c93e70b26d60e2d12e8f166e6fbc4986a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c798b4d318b59d3f4c2e9a6d4bc84c93e70b26d60e2d12e8f166e6fbc4986a78", kill_on_drop: false }` [INFO] [stdout] c798b4d318b59d3f4c2e9a6d4bc84c93e70b26d60e2d12e8f166e6fbc4986a78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98ff5bc65a99182fc6aafc42e4531bb6c3b46e84bb2dbf98beed92651ddfc7b4 [INFO] running `Command { std: "docker" "start" "-a" "98ff5bc65a99182fc6aafc42e4531bb6c3b46e84bb2dbf98beed92651ddfc7b4", kill_on_drop: false }` [INFO] [stderr] Compiling auth-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/handlers/auth.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | http::{HeaderMap, StatusCode}, [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: `auth::*` [INFO] [stdout] --> src/handlers/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use auth::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/middleware/auth.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | http::{HeaderMap, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth::*` [INFO] [stdout] --> src/middleware/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use auth::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `session_secret` and `session_duration_hours` are never read [INFO] [stdout] --> src/config/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub session_secret: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub session_duration_hours: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `session_id` are never read [INFO] [stdout] --> src/middleware/auth.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct AuthenticatedUser { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 17 | pub user_id: ObjectId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | pub session_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthenticatedUser` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_authenticated_user` is never used [INFO] [stdout] --> src/middleware/auth.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_authenticated_user(headers: &HeaderMap) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `invalidate_all_user_sessions` is never used [INFO] [stdout] --> src/models/session.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl Session { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub async fn invalidate_all_user_sessions(db: &Database, user_id: &ObjectId) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.86s [INFO] running `Command { std: "docker" "inspect" "98ff5bc65a99182fc6aafc42e4531bb6c3b46e84bb2dbf98beed92651ddfc7b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98ff5bc65a99182fc6aafc42e4531bb6c3b46e84bb2dbf98beed92651ddfc7b4", kill_on_drop: false }` [INFO] [stdout] 98ff5bc65a99182fc6aafc42e4531bb6c3b46e84bb2dbf98beed92651ddfc7b4