[INFO] cloning repository https://github.com/davoodmood/secure-auth
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davoodmood/secure-auth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavoodmood%2Fsecure-auth", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavoodmood%2Fsecure-auth'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ab6edefc6730bf9294c036e8544834718656de1b
[INFO] checking davoodmood/secure-auth against master#bad50269f8eb0fda214f0478c3afb2c6fbb427fd for pr-149195-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavoodmood%2Fsecure-auth" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/davoodmood/secure-auth
[INFO] finished tweaking git repo https://github.com/davoodmood/secure-auth
[INFO] tweaked toml for git repo https://github.com/davoodmood/secure-auth written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/davoodmood/secure-auth on toolchain bad50269f8eb0fda214f0478c3afb2c6fbb427fd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/davoodmood/secure-auth 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" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded displaydoc v0.2.4
[INFO] [stderr]   Downloaded unic-langid-macros v0.9.5
[INFO] [stderr]   Downloaded unic-langid v0.9.5
[INFO] [stderr]   Downloaded unic-langid-macros-impl v0.9.5
[INFO] [stderr]   Downloaded proc-macro2 v1.0.83
[INFO] [stderr]   Downloaded is_terminal_polyfill v1.70.0
[INFO] [stderr]   Downloaded serde v1.0.202
[INFO] [stderr]   Downloaded anstyle-parse v0.2.4
[INFO] [stderr]   Downloaded self_cell v0.10.3
[INFO] [stderr]   Downloaded rustc_version_runtime v0.2.1
[INFO] [stderr]   Downloaded blowfish v0.9.1
[INFO] [stderr]   Downloaded serde_derive v1.0.202
[INFO] [stderr]   Downloaded anstyle v1.0.7
[INFO] [stderr]   Downloaded ghash v0.5.1
[INFO] [stderr]   Downloaded anstream v0.6.14
[INFO] [stderr]   Downloaded actix-session v0.9.0
[INFO] [stderr]   Downloaded oauth2 v4.4.2
[INFO] [stderr]   Downloaded regex-lite v0.1.5
[INFO] [stderr]   Downloaded bson v2.10.0
[INFO] [stderr]   Downloaded serde_with v1.14.0
[INFO] [stderr]   Downloaded aes-gcm v0.10.3
[INFO] [stderr]   Downloaded actix-http v3.7.0
[INFO] [stderr]   Downloaded reqwest v0.12.4
[INFO] [stderr]   Downloaded actix-web v4.6.0
[INFO] [stderr]   Downloaded syn v2.0.65
[INFO] [stderr]   Downloaded lettre v0.11.7
[INFO] [stderr]   Downloaded num-bigint v0.4.5
[INFO] [stderr]   Downloaded cc v1.0.98
[INFO] [stderr]   Downloaded hyper-util v0.1.5
[INFO] [stderr]   Downloaded miniz_oxide v0.7.3
[INFO] [stderr]   Downloaded base64 v0.20.0
[INFO] [stderr]   Downloaded fluent-syntax v0.11.1
[INFO] [stderr]   Downloaded self_cell v1.0.4
[INFO] [stderr]   Downloaded qrcode v0.14.0
[INFO] [stderr]   Downloaded rustls-pki-types v1.7.0
[INFO] [stderr]   Downloaded intl_pluralrules v7.0.2
[INFO] [stderr]   Downloaded fluent-bundle v0.15.3
[INFO] [stderr]   Downloaded generic-array v1.0.0
[INFO] [stderr]   Downloaded ipconfig v0.3.2
[INFO] [stderr]   Downloaded typed-builder v0.10.0
[INFO] [stderr]   Downloaded rustls-pemfile v2.1.2
[INFO] [stderr]   Downloaded email_address v0.2.4
[INFO] [stderr]   Downloaded base32 v0.4.0
[INFO] [stderr]   Downloaded fluent v0.16.1
[INFO] [stderr]   Downloaded intl-memoizer v0.5.2
[INFO] [stderr]   Downloaded stacker v0.1.15
[INFO] [stderr]   Downloaded quoted_printable v0.5.0
[INFO] [stderr]   Downloaded bcrypt v0.15.1
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.3
[INFO] [stderr]   Downloaded colorchoice v1.0.1
[INFO] [stderr]   Downloaded fluent-langneg v0.13.0
[INFO] [stderr]   Downloaded unic-langid-impl v0.9.5
[INFO] [stderr]   Downloaded anstyle-query v1.0.3
[INFO] [stderr]   Downloaded mongodb v2.8.2
[INFO] [stderr]   Downloaded otpauth v0.4.1
[INFO] [stderr]   Downloaded image v0.25.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 41fc000a7331be19d70b744f8a732a8f8245c48402759db2c9b61337db98f11b
[INFO] running `Command { std: "docker" "start" "-a" "41fc000a7331be19d70b744f8a732a8f8245c48402759db2c9b61337db98f11b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "41fc000a7331be19d70b744f8a732a8f8245c48402759db2c9b61337db98f11b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41fc000a7331be19d70b744f8a732a8f8245c48402759db2c9b61337db98f11b", kill_on_drop: false }`
[INFO] [stdout] 41fc000a7331be19d70b744f8a732a8f8245c48402759db2c9b61337db98f11b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 466e167303f6378dee52441181a06fe2a400fd0b29711215f5e0d95fa6054870
[INFO] running `Command { std: "docker" "start" "-a" "466e167303f6378dee52441181a06fe2a400fd0b29711215f5e0d95fa6054870", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking zerocopy v0.7.34
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]     Checking allocator-api2 v0.2.18
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking parking_lot v0.12.2
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling syn v2.0.65
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling zstd-safe v7.1.0
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]     Checking miniz_oxide v0.7.3
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking brotli-decompressor v4.0.0
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling regex-lite v0.1.5
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking type-map v0.5.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking block-padding v0.3.3
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]    Compiling rustc_version_runtime v0.2.1
[INFO] [stderr]     Checking brotli v6.0.0
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]    Compiling zstd-sys v2.0.10+zstd.1.5.6
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking self_cell v1.0.4
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking base64 v0.20.0
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking anstyle-parse v0.2.4
[INFO] [stderr]     Checking resolv-conf v0.7.0
[INFO] [stderr]     Checking self_cell v0.10.3
[INFO] [stderr]     Checking num-bigint v0.4.5
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.1
[INFO] [stderr]     Checking colorchoice v1.0.1
[INFO] [stderr]     Checking finl_unicode v1.2.0
[INFO] [stderr]     Checking anstyle-query v1.0.3
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.0
[INFO] [stderr]     Checking rustls-pki-types v1.7.0
[INFO] [stderr]     Checking bytemuck v1.16.0
[INFO] [stderr]     Checking anstyle v1.0.7
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking anstream v0.6.14
[INFO] [stderr]     Checking stringprep v0.1.4
[INFO] [stderr]     Checking rustls-pemfile v2.1.2
[INFO] [stderr]     Checking chumsky v0.9.3
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking image v0.25.1
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking sha-1 v0.10.1
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking hostname v0.4.0
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking email-encoding v0.3.0
[INFO] [stderr]     Checking pem v3.0.4
[INFO] [stderr]     Checking quoted_printable v0.5.0
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]     Checking email_address v0.2.4
[INFO] [stderr]     Checking fastrand v2.1.0
[INFO] [stderr]     Checking base32 v0.4.0
[INFO] [stderr]     Checking bcrypt v0.15.1
[INFO] [stderr]     Checking cbc v0.1.2
[INFO] [stderr]     Checking generic-array v1.0.0
[INFO] [stderr]     Checking qrcode v0.14.0
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking env_logger v0.11.3
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling displaydoc v0.2.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling actix-web-codegen v4.2.2
[INFO] [stderr]     Checking otpauth v0.4.1
[INFO] [stderr]     Checking tokio v1.37.0
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling enum-as-inner v0.4.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling unic-langid-impl v0.9.5
[INFO] [stderr]    Compiling unic-langid-macros-impl v0.9.5
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking fluent-syntax v0.11.1
[INFO] [stderr]     Checking simple_asn1 v0.6.2
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]     Checking unic-langid-macros v0.9.5
[INFO] [stderr]     Checking unic-langid v0.9.5
[INFO] [stderr]     Checking intl-memoizer v0.5.2
[INFO] [stderr]     Checking fluent-langneg v0.13.0
[INFO] [stderr]     Checking intl_pluralrules v7.0.2
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]     Checking zstd v0.13.1
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]     Checking fluent-bundle v0.15.3
[INFO] [stderr]     Checking fluent v0.16.1
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking actix-rt v2.9.0
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking actix-server v2.3.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking h2 v0.4.5
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking uuid v1.8.0
[INFO] [stderr]     Checking serde_bytes v0.11.14
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking serde_with v1.14.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking trust-dns-proto v0.21.2
[INFO] [stderr]     Checking lettre v0.11.7
[INFO] [stderr]     Checking bson v2.10.0
[INFO] [stderr]     Checking jsonwebtoken v9.3.0
[INFO] [stderr]     Checking trust-dns-resolver v0.21.2
[INFO] [stderr]     Checking mongodb v2.8.2
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking actix-http v3.7.0
[INFO] [stderr]     Checking hyper v1.3.1
[INFO] [stderr]     Checking hyper-util v0.1.5
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.4
[INFO] [stderr]     Checking actix-web v4.6.0
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking oauth2 v4.4.2
[INFO] [stderr]     Checking actix-session v0.9.0
[INFO] [stderr]     Checking server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `login_attempt_to_bson`
[INFO] [stdout]   --> src/handlers/auth.rs:19:327
[INFO] [stdout]    |
[INFO] [stdout] 19 | ... google_client}, risk_assessment::{assess_login_risk, login_attempt_to_bson, RiskLevel}, verification::generate_otp}};
[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: `Claims`
[INFO] [stdout]   --> src/handlers/auth.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         Claims, 
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Algorithm`
[INFO] [stdout]  --> src/utils/jwt.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use jsonwebtoken::{decode, encode, Algorithm, DecodingKey, EncodingKey, Header, Validation};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::http::header::ContentType`
[INFO] [stdout]  --> src/utils/email.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::http::header::ContentType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::HttpResponse`
[INFO] [stdout]  --> src/utils/risk_assessment.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::HttpResponse;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/utils/risk_assessment.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Collection`
[INFO] [stdout]  --> src/utils/risk_assessment.rs:5:44
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mongodb::{bson::{self, doc, Document}, Collection, Database};
[INFO] [stdout]   |                                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `User`
[INFO] [stdout]  --> src/utils/risk_assessment.rs:7:41
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::models::user::{LoginAttempt, User};
[INFO] [stdout]   |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FluentArgs` and `FluentValue`
[INFO] [stdout]  --> src/services/localization.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use fluent::{FluentBundle, FluentValue, FluentResource, FluentArgs};
[INFO] [stdout]   |                            ^^^^^^^^^^^                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `unic_langid::langid`
[INFO] [stdout]  --> src/services/localization.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use unic_langid::langid;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `services::localization::Localization`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use services::localization::Localization;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `login_attempt_to_bson`
[INFO] [stdout]   --> src/handlers/auth.rs:19:327
[INFO] [stdout]    |
[INFO] [stdout] 19 | ... google_client}, risk_assessment::{assess_login_risk, login_attempt_to_bson, RiskLevel}, verification::generate_otp}};
[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: `Claims`
[INFO] [stdout]   --> src/handlers/auth.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         Claims, 
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Algorithm`
[INFO] [stdout]  --> src/utils/jwt.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use jsonwebtoken::{decode, encode, Algorithm, DecodingKey, EncodingKey, Header, Validation};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::http::header::ContentType`
[INFO] [stdout]  --> src/utils/email.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::http::header::ContentType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::HttpResponse`
[INFO] [stdout]  --> src/utils/risk_assessment.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::HttpResponse;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/utils/risk_assessment.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Collection`
[INFO] [stdout]  --> src/utils/risk_assessment.rs:5:44
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mongodb::{bson::{self, doc, Document}, Collection, Database};
[INFO] [stdout]   |                                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `User`
[INFO] [stdout]  --> src/utils/risk_assessment.rs:7:41
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::models::user::{LoginAttempt, User};
[INFO] [stdout]   |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FluentArgs` and `FluentValue`
[INFO] [stdout]  --> src/services/localization.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use fluent::{FluentBundle, FluentValue, FluentResource, FluentArgs};
[INFO] [stdout]   |                            ^^^^^^^^^^^                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `unic_langid::langid`
[INFO] [stdout]  --> src/services/localization.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use unic_langid::langid;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `services::localization::Localization`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use services::localization::Localization;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `phone`
[INFO] [stdout]  --> src/utils/txt.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn send_verification_text(phone: &str, token: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_phone`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]  --> src/utils/txt.rs:3:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn send_verification_text(phone: &str, token: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   |                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `phone`
[INFO] [stdout]  --> src/utils/txt.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn send_verification_text(phone: &str, token: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_phone`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]  --> src/utils/txt.rs:3:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn send_verification_text(phone: &str, token: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   |                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProfilePreferences` is never constructed
[INFO] [stdout]   --> src/models/user.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct ProfilePreferences {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProfilePreferences` is never constructed
[INFO] [stdout]   --> src/models/user.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct ProfilePreferences {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EmailPreferences` is never constructed
[INFO] [stdout]   --> src/models/user.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct EmailPreferences {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrivacySettings` is never constructed
[INFO] [stdout]   --> src/models/user.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct PrivacySettings {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContentFilteringSettings` is never constructed
[INFO] [stdout]   --> src/models/user.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct ContentFilteringSettings {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LocationSettings` is never constructed
[INFO] [stdout]   --> src/models/user.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct LocationSettings {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SyncingPreferences` is never constructed
[INFO] [stdout]   --> src/models/user.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct SyncingPreferences {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BackupSettings` is never constructed
[INFO] [stdout]   --> src/models/user.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct BackupSettings {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UsageStatistics` is never constructed
[INFO] [stdout]   --> src/models/user.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct UsageStatistics {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataPrivacySettings` is never constructed
[INFO] [stdout]   --> src/models/privacy.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct DataPrivacySettings {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AnalyticsConsent` is never constructed
[INFO] [stdout]   --> src/models/privacy.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct AnalyticsConsent {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdTrackingConsent` is never constructed
[INFO] [stdout]   --> src/models/privacy.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct AdTrackingConsent {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarketingConsent` is never constructed
[INFO] [stdout]   --> src/models/privacy.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct MarketingConsent {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PersonalizationConsent` is never constructed
[INFO] [stdout]   --> src/models/privacy.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct PersonalizationConsent {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommunicationConsent` is never constructed
[INFO] [stdout]   --> src/models/privacy.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 | struct CommunicationConsent {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LawfulBasis` is never constructed
[INFO] [stdout]    --> src/models/privacy.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct LawfulBasis {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataSubjectRights` is never constructed
[INFO] [stdout]    --> src/models/privacy.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 125 | struct DataSubjectRights {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataBreachNotification` is never constructed
[INFO] [stdout]    --> src/models/privacy.rs:138:8
[INFO] [stdout]     |
[INFO] [stdout] 138 | struct DataBreachNotification {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DPODetails` is never constructed
[INFO] [stdout]    --> src/models/privacy.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 145 | struct DPODetails {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LoginError` is never used
[INFO] [stdout]    --> src/handlers/auth.rs:357:6
[INFO] [stdout]     |
[INFO] [stdout] 357 | enum LoginError {
[INFO] [stdout]     |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ForgotPasswordError` is never used
[INFO] [stdout]    --> src/handlers/auth.rs:587:6
[INFO] [stdout]     |
[INFO] [stdout] 587 | enum ForgotPasswordError {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidResetToken` is never constructed
[INFO] [stdout]    --> src/handlers/auth.rs:642:5
[INFO] [stdout]     |
[INFO] [stdout] 638 | enum ResetPasswordError {
[INFO] [stdout]     |      ------------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 642 |     InvalidResetToken,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ResetPasswordError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_otp` is never used
[INFO] [stdout]    --> src/handlers/auth.rs:773:14
[INFO] [stdout]     |
[INFO] [stdout] 773 | pub async fn verify_otp(db: web::Data<Database>, user_id: String, provided_otp: String) -> HttpResponse {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `DecryptionError`, `MfaNotEnabled`, and `InvalidRecoveryCode` are never constructed
[INFO] [stdout]     --> src/handlers/auth.rs:1124:5
[INFO] [stdout]      |
[INFO] [stdout] 1116 | pub enum MfaError {
[INFO] [stdout]      |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 1124 |     DecryptionError,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1133 |     MfaNotEnabled,
[INFO] [stdout]      |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1136 |     InvalidRecoveryCode,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `MfaError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `store_otp` is never used
[INFO] [stdout]   --> src/utils/verification.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | async fn store_otp(db: &Database, user_id: &ObjectId, otp_code: &str) {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `login_attempt_to_bson` is never used
[INFO] [stdout]   --> src/utils/risk_assessment.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn login_attempt_to_bson(login_attempt: &LoginAttempt) -> Document {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DELETE` is never used
[INFO] [stdout]  --> src/services/auth/permissions.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const DELETE: i32 = 0b0000000100;         // 4
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EXECUTE` is never used
[INFO] [stdout]  --> src/services/auth/permissions.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const EXECUTE: i32 = 0b0000010000;        // 16
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROLE_ADMIN` is never used
[INFO] [stdout]  --> src/services/auth/roles.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const ROLE_ADMIN: i32 = READ | WRITE | DELETE | UPDATE | EXECUTE | ADMIN | MANAGE_USERS | INVITE_USERS | VIEW_FINANCES | MANAGE_F...
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Localization` is never constructed
[INFO] [stdout]  --> src/services/localization.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Localization {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_language`, and `get_message` are never used
[INFO] [stdout]   --> src/services/localization.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Localization {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn add_language(&mut self, lang: &str, file_path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn get_message(&self, lang: &str, message_id: &str) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EmailPreferences` is never constructed
[INFO] [stdout]   --> src/models/user.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct EmailPreferences {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrivacySettings` is never constructed
[INFO] [stdout]   --> src/models/user.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct PrivacySettings {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContentFilteringSettings` is never constructed
[INFO] [stdout]   --> src/models/user.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct ContentFilteringSettings {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LocationSettings` is never constructed
[INFO] [stdout]   --> src/models/user.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct LocationSettings {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SyncingPreferences` is never constructed
[INFO] [stdout]   --> src/models/user.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct SyncingPreferences {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BackupSettings` is never constructed
[INFO] [stdout]   --> src/models/user.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct BackupSettings {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UsageStatistics` is never constructed
[INFO] [stdout]   --> src/models/user.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct UsageStatistics {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataPrivacySettings` is never constructed
[INFO] [stdout]   --> src/models/privacy.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct DataPrivacySettings {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AnalyticsConsent` is never constructed
[INFO] [stdout]   --> src/models/privacy.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct AnalyticsConsent {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdTrackingConsent` is never constructed
[INFO] [stdout]   --> src/models/privacy.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct AdTrackingConsent {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarketingConsent` is never constructed
[INFO] [stdout]   --> src/models/privacy.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct MarketingConsent {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PersonalizationConsent` is never constructed
[INFO] [stdout]   --> src/models/privacy.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct PersonalizationConsent {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommunicationConsent` is never constructed
[INFO] [stdout]   --> src/models/privacy.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 | struct CommunicationConsent {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LawfulBasis` is never constructed
[INFO] [stdout]    --> src/models/privacy.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct LawfulBasis {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataSubjectRights` is never constructed
[INFO] [stdout]    --> src/models/privacy.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 125 | struct DataSubjectRights {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataBreachNotification` is never constructed
[INFO] [stdout]    --> src/models/privacy.rs:138:8
[INFO] [stdout]     |
[INFO] [stdout] 138 | struct DataBreachNotification {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DPODetails` is never constructed
[INFO] [stdout]    --> src/models/privacy.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 145 | struct DPODetails {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LoginError` is never used
[INFO] [stdout]    --> src/handlers/auth.rs:357:6
[INFO] [stdout]     |
[INFO] [stdout] 357 | enum LoginError {
[INFO] [stdout]     |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ForgotPasswordError` is never used
[INFO] [stdout]    --> src/handlers/auth.rs:587:6
[INFO] [stdout]     |
[INFO] [stdout] 587 | enum ForgotPasswordError {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidResetToken` is never constructed
[INFO] [stdout]    --> src/handlers/auth.rs:642:5
[INFO] [stdout]     |
[INFO] [stdout] 638 | enum ResetPasswordError {
[INFO] [stdout]     |      ------------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 642 |     InvalidResetToken,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ResetPasswordError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_otp` is never used
[INFO] [stdout]    --> src/handlers/auth.rs:773:14
[INFO] [stdout]     |
[INFO] [stdout] 773 | pub async fn verify_otp(db: web::Data<Database>, user_id: String, provided_otp: String) -> HttpResponse {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `DecryptionError`, `MfaNotEnabled`, and `InvalidRecoveryCode` are never constructed
[INFO] [stdout]     --> src/handlers/auth.rs:1124:5
[INFO] [stdout]      |
[INFO] [stdout] 1116 | pub enum MfaError {
[INFO] [stdout]      |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 1124 |     DecryptionError,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1133 |     MfaNotEnabled,
[INFO] [stdout]      |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1136 |     InvalidRecoveryCode,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `MfaError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `store_otp` is never used
[INFO] [stdout]   --> src/utils/verification.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | async fn store_otp(db: &Database, user_id: &ObjectId, otp_code: &str) {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `login_attempt_to_bson` is never used
[INFO] [stdout]   --> src/utils/risk_assessment.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn login_attempt_to_bson(login_attempt: &LoginAttempt) -> Document {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DELETE` is never used
[INFO] [stdout]  --> src/services/auth/permissions.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const DELETE: i32 = 0b0000000100;         // 4
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EXECUTE` is never used
[INFO] [stdout]  --> src/services/auth/permissions.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const EXECUTE: i32 = 0b0000010000;        // 16
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROLE_ADMIN` is never used
[INFO] [stdout]  --> src/services/auth/roles.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const ROLE_ADMIN: i32 = READ | WRITE | DELETE | UPDATE | EXECUTE | ADMIN | MANAGE_USERS | INVITE_USERS | VIEW_FINANCES | MANAGE_F...
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Localization` is never constructed
[INFO] [stdout]  --> src/services/localization.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Localization {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_language`, and `get_message` are never used
[INFO] [stdout]   --> src/services/localization.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Localization {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn add_language(&mut self, lang: &str, file_path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn get_message(&self, lang: &str, message_id: &str) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s
[INFO] running `Command { std: "docker" "inspect" "466e167303f6378dee52441181a06fe2a400fd0b29711215f5e0d95fa6054870", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "466e167303f6378dee52441181a06fe2a400fd0b29711215f5e0d95fa6054870", kill_on_drop: false }`
[INFO] [stdout] 466e167303f6378dee52441181a06fe2a400fd0b29711215f5e0d95fa6054870
