[INFO] cloning repository https://github.com/TriplePlayLabs/OWLID_RELEASE [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TriplePlayLabs/OWLID_RELEASE" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTriplePlayLabs%2FOWLID_RELEASE", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTriplePlayLabs%2FOWLID_RELEASE'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07445dc96cd4322bb0e5066796fdb76af044375b [INFO] checking TriplePlayLabs/OWLID_RELEASE against master#3f6250a7bb79e600d9036bbc7c8f65af43933643 for pr-147859 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTriplePlayLabs%2FOWLID_RELEASE" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/TriplePlayLabs/OWLID_RELEASE [INFO] finished tweaking git repo https://github.com/TriplePlayLabs/OWLID_RELEASE [INFO] tweaked toml for git repo https://github.com/TriplePlayLabs/OWLID_RELEASE written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TriplePlayLabs/OWLID_RELEASE on toolchain 3f6250a7bb79e600d9036bbc7c8f65af43933643 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TriplePlayLabs/OWLID_RELEASE 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" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "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 napi-build v2.3.1 [INFO] [stderr] Downloaded ctor v0.6.3 [INFO] [stderr] Downloaded ctor-proc-macro v0.0.7 [INFO] [stderr] Downloaded libloading v0.9.0 [INFO] [stderr] Downloaded napi-sys v3.2.1 [INFO] [stderr] Downloaded napi-derive-backend v5.0.1 [INFO] [stderr] Downloaded napi-derive v3.5.1 [INFO] [stderr] Downloaded napi v3.8.2 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 441f9c36e3a79ef15fdabc931716840e7ed1372bc8d541214b24d96870b6ebfb [INFO] running `Command { std: "docker" "start" "-a" "441f9c36e3a79ef15fdabc931716840e7ed1372bc8d541214b24d96870b6ebfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "441f9c36e3a79ef15fdabc931716840e7ed1372bc8d541214b24d96870b6ebfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "441f9c36e3a79ef15fdabc931716840e7ed1372bc8d541214b24d96870b6ebfb", kill_on_drop: false }` [INFO] [stdout] 441f9c36e3a79ef15fdabc931716840e7ed1372bc8d541214b24d96870b6ebfb [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e9631f5c747aacb1274f5d9e02c6119aba0aeeec6da06616439f34963608227 [INFO] running `Command { std: "docker" "start" "-a" "4e9631f5c747aacb1274f5d9e02c6119aba0aeeec6da06616439f34963608227", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling zerocopy v0.8.38 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Compiling zerocopy-derive v0.8.38 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling blake3 v1.8.3 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Checking constant_time_eq v0.4.2 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Checking uuid v1.20.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling dtor-proc-macro v0.0.6 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking openssl v0.10.75 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling napi-build v2.3.1 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Compiling ctor-proc-macro v0.0.7 [INFO] [stderr] Compiling mockall_derive v0.14.0 [INFO] [stderr] Compiling napi v3.8.2 [INFO] [stderr] Checking dtor v0.1.1 [INFO] [stderr] Checking native-tls v0.2.14 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking libloading v0.9.0 [INFO] [stderr] Compiling mockall v0.14.0 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Compiling ctor v0.6.3 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Compiling napi-derive-backend v5.0.1 [INFO] [stderr] Compiling owl_id v1.0.0 (/opt/rustwide/workdir/packages/native-sdk) [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking fragile v2.0.1 [INFO] [stderr] Checking napi-sys v3.2.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling napi-derive v3.5.1 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking owl-crypto v0.1.0 (/opt/rustwide/workdir/crates/crypto) [INFO] [stderr] Checking owl-proof-system v0.1.0 (/opt/rustwide/workdir/crates/proof-system) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/proof-system/src/document.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | let mut proof_doc = doc.issue(&issuer); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/proof-system/src/document.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | let mut proof_doc = doc.issue(&issuer); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking owl-issuer-service v0.1.0 (/opt/rustwide/workdir/crates/issuer-service) [INFO] [stderr] Checking owl-verification-service v0.1.0 (/opt/rustwide/workdir/crates/verification-service) [INFO] [stdout] warning: unused import: `RevocationCache` [INFO] [stdout] --> crates/verification-service/src/db/repositories/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub use revocations::{RevocationCache, RevocationRepository}; [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: `models::*` [INFO] [stdout] --> crates/verification-service/src/db/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use models::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rate_limit::RateLimitMiddleware` [INFO] [stdout] --> crates/verification-service/src/middleware/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use rate_limit::RateLimitMiddleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RevocationCache` [INFO] [stdout] --> crates/verification-service/src/db/repositories/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub use revocations::{RevocationCache, RevocationRepository}; [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: `models::*` [INFO] [stdout] --> crates/verification-service/src/db/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use models::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rate_limit::RateLimitMiddleware` [INFO] [stdout] --> crates/verification-service/src/middleware/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use rate_limit::RateLimitMiddleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sqlite` [INFO] [stdout] --> crates/issuer-service/src/database.rs:269:7 [INFO] [stdout] | [INFO] [stdout] 269 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `sqlite` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::provider::ProviderFlowType` [INFO] [stdout] --> crates/issuer-service/src/polling.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | use crate::provider::ProviderFlowType; [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: `crate::normalizer::RawProviderClaims` [INFO] [stdout] --> crates/issuer-service/src/provider/registry.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | use crate::normalizer::RawProviderClaims; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sqlite` [INFO] [stdout] --> crates/issuer-service/src/database.rs:269:7 [INFO] [stdout] | [INFO] [stdout] 269 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `sqlite` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IssueCredentialRequest` is never constructed [INFO] [stdout] --> crates/verification-service/src/api.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct IssueCredentialRequest { [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 `IssueCredentialResponse` is never constructed [INFO] [stdout] --> crates/verification-service/src/api.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct IssueCredentialResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `issue_credential` is never used [INFO] [stdout] --> crates/verification-service/src/api.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn issue_credential( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_issued_credentials` is never used [INFO] [stdout] --> crates/verification-service/src/api.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | pub async fn list_issued_credentials( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidData` is never constructed [INFO] [stdout] --> crates/verification-service/src/db/error.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum DatabaseError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | InvalidData(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_permission` is never used [INFO] [stdout] --> crates/verification-service/src/db/models.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ApiKey { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 22 | /// Check if the API key has a specific permission [INFO] [stdout] 23 | pub fn has_permission(&self, permission: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RateLimit` is never constructed [INFO] [stdout] --> crates/verification-service/src/db/models.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct RateLimit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create`, `list`, `deactivate`, and `delete` are never used [INFO] [stdout] --> crates/verification-service/src/db/repositories/api_keys.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl ApiKeyRepository { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn list(&self, include_inactive: bool) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn deactivate(&self, id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub async fn delete(&self, id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_for_entity`, `get_recent`, `get_by_type`, and `get_range` are never used [INFO] [stdout] --> crates/verification-service/src/db/repositories/audit.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl AuditRepository { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn get_for_entity( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub async fn get_recent(&self, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub async fn get_by_type(&self, event_type: &str, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn get_range( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IssuedCredential` is never constructed [INFO] [stdout] --> crates/verification-service/src/db/repositories/credentials.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct IssuedCredential { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> crates/verification-service/src/db/repositories/credentials.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CredentialRepository { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 21 | pool: DbPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CredentialRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `store`, `get_by_root_hash`, `list_by_issuer`, `list_by_owner`, `deactivate`, and `count_by_issuer` are never used [INFO] [stdout] --> crates/verification-service/src/db/repositories/credentials.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl CredentialRepository { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn store( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn get_by_root_hash(&self, root_hash: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn list_by_issuer( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn list_by_owner( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub async fn deactivate(&self, root_hash: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn count_by_issuer(&self, issuer_public_key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_by_public_key`, `is_trusted`, `update_status`, and `delete` are never used [INFO] [stdout] --> crates/verification-service/src/db/repositories/issuers.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl IssuerRepository { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn get_by_public_key(&self, public_key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn is_trusted(&self, public_key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub async fn update_status(&self, id: Uuid, is_active: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub async fn delete(&self, id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `list_by_issuer`, and `cleanup_expired` are never used [INFO] [stdout] --> crates/verification-service/src/db/repositories/revocations.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 52 | impl RevocationRepository { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn get(&self, credential_id: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub async fn list_by_issuer(&self, issuer_public_key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub async fn cleanup_expired(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_recent`, `get_by_verifier`, `get_metrics_for_period`, and `cleanup_expired` are never used [INFO] [stdout] --> crates/verification-service/src/db/repositories/verification_logs.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl VerificationLogRepository { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn get_recent(&self, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn get_by_verifier(&self, verifier_id: &str, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub async fn get_metrics_for_period( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn cleanup_expired(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_key` is never read [INFO] [stdout] --> crates/verification-service/src/middleware/auth.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AuthenticatedKey { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 16 | pub api_key: ApiKey, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthenticatedKey` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `validate_with_permission` is never used [INFO] [stdout] --> crates/verification-service/src/middleware/auth.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl AuthMiddleware { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn validate_with_permission( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_permission` is never used [INFO] [stdout] --> crates/verification-service/src/middleware/auth.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn require_permission(permission: &'static str) -> impl Fn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InsufficientPermissions` is never constructed [INFO] [stdout] --> crates/verification-service/src/middleware/auth.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum AuthError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 125 | InsufficientPermissions(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RateLimitMiddleware` is never constructed [INFO] [stdout] --> crates/verification-service/src/middleware/rate_limit.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RateLimitMiddleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `check_rate_limit`, `extract_ip`, and `check_limit` are never used [INFO] [stdout] --> crates/verification-service/src/middleware/rate_limit.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl RateLimitMiddleware { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] 14 | /// Check rate limit for an IP address [INFO] [stdout] 15 | pub async fn check_rate_limit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn extract_ip(request: &Request) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | async fn check_limit( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RateLimitError` is never used [INFO] [stdout] --> crates/verification-service/src/middleware/rate_limit.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum RateLimitError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db_pool` and `credentials` are never read [INFO] [stdout] --> crates/verification-service/src/state.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | /// Database connection pool [INFO] [stdout] 11 | pub db_pool: DbPool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub credentials: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IssueCredentialRequest` is never constructed [INFO] [stdout] --> crates/verification-service/src/api.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct IssueCredentialRequest { [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 `IssueCredentialResponse` is never constructed [INFO] [stdout] --> crates/verification-service/src/api.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct IssueCredentialResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `issue_credential` is never used [INFO] [stdout] --> crates/verification-service/src/api.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn issue_credential( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_issued_credentials` is never used [INFO] [stdout] --> crates/verification-service/src/api.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | pub async fn list_issued_credentials( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidData` is never constructed [INFO] [stdout] --> crates/verification-service/src/db/error.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum DatabaseError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | InvalidData(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_permission` is never used [INFO] [stdout] --> crates/verification-service/src/db/models.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ApiKey { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 22 | /// Check if the API key has a specific permission [INFO] [stdout] 23 | pub fn has_permission(&self, permission: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RateLimit` is never constructed [INFO] [stdout] --> crates/verification-service/src/db/models.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct RateLimit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create`, `list`, `deactivate`, and `delete` are never used [INFO] [stdout] --> crates/verification-service/src/db/repositories/api_keys.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl ApiKeyRepository { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn list(&self, include_inactive: bool) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn deactivate(&self, id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub async fn delete(&self, id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_for_entity`, `get_recent`, `get_by_type`, and `get_range` are never used [INFO] [stdout] --> crates/verification-service/src/db/repositories/audit.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl AuditRepository { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn get_for_entity( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub async fn get_recent(&self, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub async fn get_by_type(&self, event_type: &str, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn get_range( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IssuedCredential` is never constructed [INFO] [stdout] --> crates/verification-service/src/db/repositories/credentials.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct IssuedCredential { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> crates/verification-service/src/db/repositories/credentials.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CredentialRepository { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 21 | pool: DbPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CredentialRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `store`, `get_by_root_hash`, `list_by_issuer`, `list_by_owner`, `deactivate`, and `count_by_issuer` are never used [INFO] [stdout] --> crates/verification-service/src/db/repositories/credentials.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl CredentialRepository { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn store( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn get_by_root_hash(&self, root_hash: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn list_by_issuer( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn list_by_owner( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub async fn deactivate(&self, root_hash: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn count_by_issuer(&self, issuer_public_key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_by_public_key`, `is_trusted`, `update_status`, and `delete` are never used [INFO] [stdout] --> crates/verification-service/src/db/repositories/issuers.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl IssuerRepository { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn get_by_public_key(&self, public_key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn is_trusted(&self, public_key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub async fn update_status(&self, id: Uuid, is_active: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub async fn delete(&self, id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `list_by_issuer`, and `cleanup_expired` are never used [INFO] [stdout] --> crates/verification-service/src/db/repositories/revocations.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 52 | impl RevocationRepository { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn get(&self, credential_id: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub async fn list_by_issuer(&self, issuer_public_key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub async fn cleanup_expired(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_recent`, `get_by_verifier`, `get_metrics_for_period`, and `cleanup_expired` are never used [INFO] [stdout] --> crates/verification-service/src/db/repositories/verification_logs.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl VerificationLogRepository { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn get_recent(&self, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn get_by_verifier(&self, verifier_id: &str, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub async fn get_metrics_for_period( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn cleanup_expired(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_key` is never read [INFO] [stdout] --> crates/verification-service/src/middleware/auth.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AuthenticatedKey { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 16 | pub api_key: ApiKey, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthenticatedKey` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `validate_with_permission` is never used [INFO] [stdout] --> crates/verification-service/src/middleware/auth.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl AuthMiddleware { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn validate_with_permission( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_permission` is never used [INFO] [stdout] --> crates/verification-service/src/middleware/auth.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn require_permission(permission: &'static str) -> impl Fn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InsufficientPermissions` is never constructed [INFO] [stdout] --> crates/verification-service/src/middleware/auth.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum AuthError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 125 | InsufficientPermissions(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RateLimitMiddleware` is never constructed [INFO] [stdout] --> crates/verification-service/src/middleware/rate_limit.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RateLimitMiddleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `check_rate_limit`, `extract_ip`, and `check_limit` are never used [INFO] [stdout] --> crates/verification-service/src/middleware/rate_limit.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl RateLimitMiddleware { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] 14 | /// Check rate limit for an IP address [INFO] [stdout] 15 | pub async fn check_rate_limit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn extract_ip(request: &Request) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | async fn check_limit( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RateLimitError` is never used [INFO] [stdout] --> crates/verification-service/src/middleware/rate_limit.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum RateLimitError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db_pool` and `credentials` are never read [INFO] [stdout] --> crates/verification-service/src/state.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | /// Database connection pool [INFO] [stdout] 11 | pub db_pool: DbPool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub credentials: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.07s [INFO] running `Command { std: "docker" "inspect" "4e9631f5c747aacb1274f5d9e02c6119aba0aeeec6da06616439f34963608227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e9631f5c747aacb1274f5d9e02c6119aba0aeeec6da06616439f34963608227", kill_on_drop: false }` [INFO] [stdout] 4e9631f5c747aacb1274f5d9e02c6119aba0aeeec6da06616439f34963608227