[INFO] cloning repository https://github.com/Erio-Harrison/pingora_learn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Erio-Harrison/pingora_learn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErio-Harrison%2Fpingora_learn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErio-Harrison%2Fpingora_learn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7dfdc53f45d4a2f398126d954a89dbaaa7b913d6 [INFO] checking Erio-Harrison/pingora_learn against master#292be5c7c05138d753bbd4b30db7a3f1a5c914f7 for pr-148271 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErio-Harrison%2Fpingora_learn" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Erio-Harrison/pingora_learn [INFO] finished tweaking git repo https://github.com/Erio-Harrison/pingora_learn [INFO] tweaked toml for git repo https://github.com/Erio-Harrison/pingora_learn written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Erio-Harrison/pingora_learn on toolchain 292be5c7c05138d753bbd4b30db7a3f1a5c914f7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Erio-Harrison/pingora_learn 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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/cloudflare/pingora.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trackable_derive v1.0.0 [INFO] [stderr] Downloaded sfv v0.10.4 [INFO] [stderr] Downloaded trackable v1.3.0 [INFO] [stderr] Downloaded cf-rustracing v1.1.0 [INFO] [stderr] Downloaded thrift_codec v0.2.0 [INFO] [stderr] Downloaded lru v0.14.0 [INFO] [stderr] Downloaded redis v0.26.1 [INFO] [stderr] Downloaded cf-rustracing-jaeger v1.2.0 [INFO] [stderr] Downloaded rust_decimal v1.37.2 [INFO] [stderr] Downloaded libz-ng-sys v1.1.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6fa43e92d18b8e5fb21e12df9db812fa23ccd8297ba4a7fa235ec7ae124abc3 [INFO] running `Command { std: "docker" "start" "-a" "c6fa43e92d18b8e5fb21e12df9db812fa23ccd8297ba4a7fa235ec7ae124abc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6fa43e92d18b8e5fb21e12df9db812fa23ccd8297ba4a7fa235ec7ae124abc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6fa43e92d18b8e5fb21e12df9db812fa23ccd8297ba4a7fa235ec7ae124abc3", kill_on_drop: false }` [INFO] [stdout] c6fa43e92d18b8e5fb21e12df9db812fa23ccd8297ba4a7fa235ec7ae124abc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05d3edcedd0398cd6294e69fb7803881daabc11c08e735cc188b93c686d828e7 [INFO] running `Command { std: "docker" "start" "-a" "05d3edcedd0398cd6294e69fb7803881daabc11c08e735cc188b93c686d828e7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking pingora-error v0.5.0 (https://github.com/cloudflare/pingora.git#b941d91b) [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking pingora-http v0.5.0 (https://github.com/cloudflare/pingora.git#b941d91b) [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Checking lru v0.14.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking daemonize v0.5.0 [INFO] [stderr] Checking sfv v0.10.4 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling libz-ng-sys v1.1.22 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking pingora-ketama v0.5.0 (https://github.com/cloudflare/pingora.git#b941d91b) [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking pingora-limits v0.5.0 (https://github.com/cloudflare/pingora.git#b941d91b) [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking trackable v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking thrift_codec v0.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking pingora-header-serde v0.5.0 (https://github.com/cloudflare/pingora.git#b941d91b) [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking neli v0.6.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Checking pingora-lru v0.5.0 (https://github.com/cloudflare/pingora.git#b941d91b) [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking local-ip-address v0.5.7 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking pingora-timeout v0.5.0 (https://github.com/cloudflare/pingora.git#b941d91b) [INFO] [stderr] Checking pingora-runtime v0.5.0 (https://github.com/cloudflare/pingora.git#b941d91b) [INFO] [stderr] Checking cf-rustracing v1.1.0 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking pingora-pool v0.5.0 (https://github.com/cloudflare/pingora.git#b941d91b) [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking cf-rustracing-jaeger v1.2.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking pingora-core v0.5.0 (https://github.com/cloudflare/pingora.git#b941d91b) [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking redis v0.26.1 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking pingora-cache v0.5.0 (https://github.com/cloudflare/pingora.git#b941d91b) [INFO] [stderr] Checking pingora-load-balancing v0.5.0 (https://github.com/cloudflare/pingora.git#b941d91b) [INFO] [stderr] Checking pingora-proxy v0.5.0 (https://github.com/cloudflare/pingora.git#b941d91b) [INFO] [stderr] Checking pingora_learn v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `logout_all_devices` is never used [INFO] [stdout] --> src/auth/logout.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | pub async fn logout_all_devices( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `del`, `expire`, `incr`, `incr_with_expiry`, and `check_rate_limit` are never used [INFO] [stdout] --> src/cache/client.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl RedisClient { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn del(&self, key: &str) -> Result<(), redis::RedisError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn expire(&self, key: &str, seconds: u64) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn incr(&self, key: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub async fn incr_with_expiry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub async fn check_rate_limit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/db/pool.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl DbPool { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn close(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token_hash` is never read [INFO] [stdout] --> src/db/token.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RefreshToken { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub token_hash: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RefreshToken` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `revoke_all_user_tokens`, `get_user_tokens`, `cleanup_expired_tokens`, `count_user_active_tokens`, and `get_token_expiration` are never used [INFO] [stdout] --> src/db/token.rs:201:18 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> TokenRepository<'a> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub async fn revoke_all_user_tokens(&self, user_id: &Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub async fn get_user_tokens(&self, user_id: &Uuid) -> Result, TokenError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub async fn cleanup_expired_tokens(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub async fn count_user_active_tokens(&self, user_id: &Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub async fn get_token_expiration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_by_id`, `update_password`, `delete`, `list`, `count`, and `verify_credentials` are never used [INFO] [stdout] --> src/db/user.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a> UserRepository<'a> { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub async fn find_by_id(&self, user_id: &Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub async fn update_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub async fn delete(&self, user_id: &Uuid) -> Result<(), UserError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub async fn list(&self, limit: i64, offset: i64) -> Result, UserError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub async fn count(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub async fn verify_credentials( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `unauthorized_response` and `requires_auth` are never used [INFO] [stdout] --> src/middleware/jwt.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl JwtMiddleware { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn unauthorized_response() -> ResponseHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn requires_auth(path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `too_many_requests_response` and `get_burst_size` are never used [INFO] [stdout] --> src/middleware/rate_limit.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl RateLimitMiddleware { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn too_many_requests_response() -> ResponseHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_burst_size(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `logout_all_devices` is never used [INFO] [stdout] --> src/auth/logout.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | pub async fn logout_all_devices( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `del`, `expire`, `incr`, `incr_with_expiry`, and `check_rate_limit` are never used [INFO] [stdout] --> src/cache/client.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl RedisClient { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn del(&self, key: &str) -> Result<(), redis::RedisError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn expire(&self, key: &str, seconds: u64) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn incr(&self, key: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub async fn incr_with_expiry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub async fn check_rate_limit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/db/pool.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl DbPool { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn close(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token_hash` is never read [INFO] [stdout] --> src/db/token.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RefreshToken { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub token_hash: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RefreshToken` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `revoke_all_user_tokens`, `get_user_tokens`, `cleanup_expired_tokens`, `count_user_active_tokens`, and `get_token_expiration` are never used [INFO] [stdout] --> src/db/token.rs:201:18 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> TokenRepository<'a> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub async fn revoke_all_user_tokens(&self, user_id: &Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub async fn get_user_tokens(&self, user_id: &Uuid) -> Result, TokenError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub async fn cleanup_expired_tokens(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub async fn count_user_active_tokens(&self, user_id: &Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub async fn get_token_expiration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_password`, `list`, `count`, and `verify_credentials` are never used [INFO] [stdout] --> src/db/user.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a> UserRepository<'a> { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub async fn update_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub async fn list(&self, limit: i64, offset: i64) -> Result, UserError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub async fn count(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub async fn verify_credentials( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unauthorized_response` is never used [INFO] [stdout] --> src/middleware/jwt.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl JwtMiddleware { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn unauthorized_response() -> ResponseHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `too_many_requests_response` and `get_burst_size` are never used [INFO] [stdout] --> src/middleware/rate_limit.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl RateLimitMiddleware { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn too_many_requests_response() -> ResponseHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_burst_size(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "05d3edcedd0398cd6294e69fb7803881daabc11c08e735cc188b93c686d828e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05d3edcedd0398cd6294e69fb7803881daabc11c08e735cc188b93c686d828e7", kill_on_drop: false }` [INFO] [stdout] 05d3edcedd0398cd6294e69fb7803881daabc11c08e735cc188b93c686d828e7