[INFO] cloning repository https://github.com/VPRamon/Ana [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VPRamon/Ana" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVPRamon%2FAna", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVPRamon%2FAna'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0677b8dfeb6f39a3af46d9014f172af7ef8a0279 [INFO] checking VPRamon/Ana against 47574b82ff3fe9b0a45ff65a4fe189e295ecb748 for pr-160780 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVPRamon%2FAna" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/VPRamon/Ana [INFO] finished tweaking git repo https://github.com/VPRamon/Ana [INFO] tweaked toml for git repo https://github.com/VPRamon/Ana written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VPRamon/Ana on toolchain 47574b82ff3fe9b0a45ff65a4fe189e295ecb748 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47574b82ff3fe9b0a45ff65a4fe189e295ecb748" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VPRamon/Ana 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" "+47574b82ff3fe9b0a45ff65a4fe189e295ecb748" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 57252e00abafc723759d56959e1fb669f2ea010ee82e65ce33a8774645b9b2e0 [INFO] running `Command { std: "docker" "start" "57252e00abafc723759d56959e1fb669f2ea010ee82e65ce33a8774645b9b2e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57252e00abafc723759d56959e1fb669f2ea010ee82e65ce33a8774645b9b2e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57252e00abafc723759d56959e1fb669f2ea010ee82e65ce33a8774645b9b2e0" "/opt/rustwide/cargo-home/bin/cargo" "+47574b82ff3fe9b0a45ff65a4fe189e295ecb748" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57252e00abafc723759d56959e1fb669f2ea010ee82e65ce33a8774645b9b2e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57252e00abafc723759d56959e1fb669f2ea010ee82e65ce33a8774645b9b2e0" "/opt/rustwide/cargo-home/bin/cargo" "+47574b82ff3fe9b0a45ff65a4fe189e295ecb748" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking uuid v1.23.0 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustls-webpki v0.103.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking ana-core v0.1.0 (/opt/rustwide/workdir/crates/ana-core) [INFO] [stderr] Checking tokio-test v0.4.5 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking ana-app v0.1.0 (/opt/rustwide/workdir/crates/ana-app) [INFO] [stdout] warning: variants `Refreshed` and `Expired` are never constructed [INFO] [stdout] --> crates/ana-app/src/accounts/model.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum SessionEventType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 98 | Created, [INFO] [stdout] 99 | Refreshed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 100 | Revoked, [INFO] [stdout] 101 | Expired, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionEventType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdmissionRequest` is never constructed [INFO] [stdout] --> crates/ana-app/src/accounts/model.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct AdmissionRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AdmissionStatus` is never used [INFO] [stdout] --> crates/ana-app/src/accounts/model.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | pub enum AdmissionStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/accounts/model.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl AdmissionStatus { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 137 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `invite_code_hash` is never read [INFO] [stdout] --> crates/ana-app/src/accounts/model.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Invite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 164 | pub invite_code_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Invite` 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: method `as_str` is never used [INFO] [stdout] --> crates/ana-app/src/accounts/model.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl InviteStatus { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 181 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `preferred_handle` and `display_name` are never read [INFO] [stdout] --> crates/ana-app/src/accounts/model.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct CreateAccountInput { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 206 | pub preferred_handle: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | pub display_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateAccountInput` 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 `touch_session`, `create_admission_request`, and `create_invite` are never used [INFO] [stdout] --> crates/ana-app/src/accounts/repo.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl AccountsRepo { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub async fn touch_session(&self, session_id: SessionId) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub async fn create_admission_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub async fn create_invite(&self, invite: &Invite) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InviteNotFound` is never constructed [INFO] [stdout] --> crates/ana-app/src/accounts/service.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 204 | pub enum AccountsError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 218 | InviteNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountsError` 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 `follow_to_ap_activity` is never used [INFO] [stdout] --> crates/ana-app/src/activitypub/mapper.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn follow_to_ap_activity(follow: &Follow, base_url: &str) -> ApActivity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_to_ap_activity` is never used [INFO] [stdout] --> crates/ana-app/src/activitypub/mapper.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn delete_to_ap_activity(post_id: PostId, actor: &Actor, base_url: &str) -> ApActivity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Full` is never constructed [INFO] [stdout] --> crates/ana-app/src/activitypub/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum DowngradeFidelity { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 13 | Full, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DowngradeFidelity` 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: struct `ApDowngradeLabel` is never constructed [INFO] [stdout] --> crates/ana-app/src/activitypub/model.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ApDowngradeLabel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApActivity` is never constructed [INFO] [stdout] --> crates/ana-app/src/activitypub/model.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ApActivity { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> crates/ana-app/src/communities/model.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 191 | impl MembershipEventType { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> crates/ana-app/src/communities/model.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 247 | impl GovernanceEventType { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HostingDelegation` is never constructed [INFO] [stdout] --> crates/ana-app/src/communities/model.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | pub struct HostingDelegation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DelegationStatus` is never used [INFO] [stdout] --> crates/ana-app/src/communities/model.rs:292:10 [INFO] [stdout] | [INFO] [stdout] 292 | pub enum DelegationStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/communities/model.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl DelegationStatus { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 298 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_membership_role` and `list_governance_events` are never used [INFO] [stdout] --> crates/ana-app/src/communities/repo.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl CommunitiesRepo { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn update_membership_role( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub async fn list_governance_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `promote_member` is never used [INFO] [stdout] --> crates/ana-app/src/communities/service.rs:312:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl CommunitiesService { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 312 | pub async fn promote_member( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list_replies` is never used [INFO] [stdout] --> crates/ana-app/src/content/repo.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl ContentRepo { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub async fn list_replies( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list_replies` is never used [INFO] [stdout] --> crates/ana-app/src/content/service.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl ContentService { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub async fn list_replies( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> crates/ana-app/src/exports/model.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl CommunityExportType { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommunityArchive` is never constructed [INFO] [stdout] --> crates/ana-app/src/exports/model.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct CommunityArchive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ArchiveTrigger` is never used [INFO] [stdout] --> crates/ana-app/src/exports/model.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | pub enum ArchiveTrigger { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/exports/model.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl ArchiveTrigger { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 154 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_exports_by_account`, `update_export_status`, `get_community_export_by_id`, and `expire_old_exports` are never used [INFO] [stdout] --> crates/ana-app/src/exports/repo.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl ExportsRepo { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub async fn list_exports_by_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub async fn update_export_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub async fn get_community_export_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn expire_old_exports( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_community_export_row` is never used [INFO] [stdout] --> crates/ana-app/src/exports/repo.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn map_community_export_row(r: &sqlx::postgres::PgRow) -> CommunityExport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list_exports` is never used [INFO] [stdout] --> crates/ana-app/src/exports/service.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl ExportsService { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn list_exports( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound` and `Forbidden` are never constructed [INFO] [stdout] --> crates/ana-app/src/exports/service.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub enum ExportsError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 116 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExportsError` 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 `OutboxEvent` is never constructed [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct OutboxEvent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OutboxStatus` is never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum OutboxStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl OutboxStatus { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 33 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FederationSubjectType` is never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum FederationSubjectType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl FederationSubjectType { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 64 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutboxDelivery` is never constructed [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct OutboxDelivery { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DeliveryStatus` is never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | pub enum DeliveryStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl DeliveryStatus { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 115 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeliveryAttempt` is never constructed [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct DeliveryAttempt { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeadLetter` is never constructed [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct DeadLetter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoteObject` is never constructed [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct RemoteObject { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RemoteObjectType` is never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:235:10 [INFO] [stdout] | [INFO] [stdout] 235 | pub enum RemoteObjectType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 241 | impl RemoteObjectType { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 242 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> crates/ana-app/src/federation/repo.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl FederationRepo { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn create_outbox_event(&self, event: &OutboxEvent) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn get_pending_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn update_event_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn create_delivery(&self, d: &OutboxDelivery) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub async fn get_pending_deliveries( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub async fn update_delivery_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub async fn record_attempt(&self, attempt: &DeliveryAttempt) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub async fn update_inbox_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub async fn list_inbox_receipts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub async fn create_dead_letter(&self, dl: &DeadLetter) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub async fn list_dead_letters(&self, limit: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub async fn upsert_remote_object(&self, obj: &RemoteObject) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub async fn get_remote_object_by_uri( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_outbox_event_row` is never used [INFO] [stdout] --> crates/ana-app/src/federation/repo.rs:326:4 [INFO] [stdout] | [INFO] [stdout] 326 | fn map_outbox_event_row(r: &sqlx::postgres::PgRow) -> OutboxEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_delivery_row` is never used [INFO] [stdout] --> crates/ana-app/src/federation/repo.rs:350:4 [INFO] [stdout] | [INFO] [stdout] 350 | fn map_delivery_row(r: &sqlx::postgres::PgRow) -> OutboxDelivery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_dead_letter_row` is never used [INFO] [stdout] --> crates/ana-app/src/federation/repo.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn map_dead_letter_row(r: &sqlx::postgres::PgRow) -> DeadLetter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_remote_object_row` is never used [INFO] [stdout] --> crates/ana-app/src/federation/repo.rs:393:4 [INFO] [stdout] | [INFO] [stdout] 393 | fn map_remote_object_row(r: &sqlx::postgres::PgRow) -> RemoteObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `enqueue_event`, `get_pending_outbox_events`, `list_inbox_receipts`, `promote_to_dead_letter`, and `cache_remote_object` are never used [INFO] [stdout] --> crates/ana-app/src/federation/service.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl FederationService { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn enqueue_event( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn get_pending_outbox_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn list_inbox_receipts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub async fn promote_to_dead_letter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub async fn cache_remote_object( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound` and `InvalidPayload` are never constructed [INFO] [stdout] --> crates/ana-app/src/federation/service.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum FederationError { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 186 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | InvalidPayload(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FederationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contact_hint` is never read [INFO] [stdout] --> crates/ana-app/src/http/admission.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AdmissionRequestInput { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 19 | pub requested_handle: String, [INFO] [stdout] 20 | pub contact_hint: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> crates/ana-app/src/identity/model.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl KeyRole { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 70 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> crates/ana-app/src/identity/model.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl KeyStatus { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 95 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> crates/ana-app/src/identity/model.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl StatementType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 138 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_actor_key` and `create_identity_statement` are never used [INFO] [stdout] --> crates/ana-app/src/identity/repo.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl IdentityRepo { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn create_actor_key(&self, key: &ActorKey) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub async fn create_identity_statement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound` and `InvalidInput` are never constructed [INFO] [stdout] --> crates/ana-app/src/identity/service.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum IdentityError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 141 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | InvalidInput(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdentityError` 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 `ModerationLabel` is never constructed [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ModerationLabel { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Severity` is never used [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Severity { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Severity { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 30 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReportReview` is never constructed [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct ReportReview { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReviewOutcome` is never used [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:262:10 [INFO] [stdout] | [INFO] [stdout] 262 | pub enum ReviewOutcome { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 268 | impl ReviewOutcome { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 269 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 313 | impl AppealStatus { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReviewReportInput` is never constructed [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | pub struct ReviewReportInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_report_by_id`, `update_report_status`, `create_report_review`, `get_appeal_by_id`, `list_appeals`, and `resolve_appeal` are never used [INFO] [stdout] --> crates/ana-app/src/moderation/repo.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl ModerationRepo { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn get_report_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn update_report_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub async fn create_report_review( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub async fn get_appeal_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub async fn list_appeals( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub async fn resolve_appeal( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_appeal_row` is never used [INFO] [stdout] --> crates/ana-app/src/moderation/repo.rs:403:4 [INFO] [stdout] | [INFO] [stdout] 403 | fn map_appeal_row(r: &sqlx::postgres::PgRow) -> Appeal { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_report`, `review_report`, `get_action`, and `resolve_appeal` are never used [INFO] [stdout] --> crates/ana-app/src/moderation/service.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl ModerationService { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn get_report( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn review_report( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub async fn get_action( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub async fn resolve_appeal( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Forbidden` is never constructed [INFO] [stdout] --> crates/ana-app/src/moderation/service.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 289 | pub enum ModerationError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 297 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModerationError` 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 `FollowerTransferRequest` is never constructed [INFO] [stdout] --> crates/ana-app/src/recovery/model.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct FollowerTransferRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransferStatus` is never used [INFO] [stdout] --> crates/ana-app/src/recovery/model.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | pub enum TransferStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/recovery/model.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl TransferStatus { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 193 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `to_node_domain` is never read [INFO] [stdout] --> crates/ana-app/src/recovery/model.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct InitiateRelocationInput { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 221 | pub to_node_domain: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitiateRelocationInput` 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 `create_follower_transfer`, `list_follower_transfers`, and `list_follower_actor_ids` are never used [INFO] [stdout] --> crates/ana-app/src/recovery/repo.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl RecoveryRepo { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | pub async fn create_follower_transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub async fn list_follower_transfers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub async fn list_follower_actor_ids( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_follower_transfer_row` is never used [INFO] [stdout] --> crates/ana-app/src/recovery/repo.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn map_follower_transfer_row(r: &sqlx::postgres::PgRow) -> FollowerTransferRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initiate_follower_transfer` is never used [INFO] [stdout] --> crates/ana-app/src/recovery/service.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl RecoveryService { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub async fn initiate_follower_transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateFilterInput` is never constructed [INFO] [stdout] --> crates/ana-app/src/social_graph/model.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct CreateFilterInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_follow`, `count_followers`, `count_following`, `is_blocked`, and `is_muted` are never used [INFO] [stdout] --> crates/ana-app/src/social_graph/repo.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl SocialGraphRepo { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn get_follow( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub async fn count_followers(&self, actor_id: ActorId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub async fn count_following(&self, actor_id: ActorId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub async fn is_blocked(&self, owner: ActorId, target: ActorId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub async fn is_muted(&self, owner: ActorId, target: ActorId) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound` and `InvalidInput` are never constructed [INFO] [stdout] --> crates/ana-app/src/social_graph/service.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum SocialGraphError { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 188 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | InvalidInput(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SocialGraphError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> crates/ana-app/src/state.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 20 | pub config: Arc, [INFO] [stdout] 21 | pub db: PgPool, [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: variants `Refreshed` and `Expired` are never constructed [INFO] [stdout] --> crates/ana-app/src/accounts/model.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum SessionEventType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 98 | Created, [INFO] [stdout] 99 | Refreshed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 100 | Revoked, [INFO] [stdout] 101 | Expired, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionEventType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdmissionRequest` is never constructed [INFO] [stdout] --> crates/ana-app/src/accounts/model.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct AdmissionRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AdmissionStatus` is never used [INFO] [stdout] --> crates/ana-app/src/accounts/model.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | pub enum AdmissionStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/accounts/model.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl AdmissionStatus { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 137 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `invite_code_hash` is never read [INFO] [stdout] --> crates/ana-app/src/accounts/model.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Invite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 164 | pub invite_code_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Invite` 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: method `as_str` is never used [INFO] [stdout] --> crates/ana-app/src/accounts/model.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl InviteStatus { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 181 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `preferred_handle` and `display_name` are never read [INFO] [stdout] --> crates/ana-app/src/accounts/model.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct CreateAccountInput { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 206 | pub preferred_handle: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | pub display_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateAccountInput` 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 `touch_session`, `create_admission_request`, and `create_invite` are never used [INFO] [stdout] --> crates/ana-app/src/accounts/repo.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl AccountsRepo { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub async fn touch_session(&self, session_id: SessionId) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub async fn create_admission_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub async fn create_invite(&self, invite: &Invite) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InviteNotFound` is never constructed [INFO] [stdout] --> crates/ana-app/src/accounts/service.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 204 | pub enum AccountsError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 218 | InviteNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountsError` 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 `follow_to_ap_activity` is never used [INFO] [stdout] --> crates/ana-app/src/activitypub/mapper.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn follow_to_ap_activity(follow: &Follow, base_url: &str) -> ApActivity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_to_ap_activity` is never used [INFO] [stdout] --> crates/ana-app/src/activitypub/mapper.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn delete_to_ap_activity(post_id: PostId, actor: &Actor, base_url: &str) -> ApActivity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Full` is never constructed [INFO] [stdout] --> crates/ana-app/src/activitypub/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum DowngradeFidelity { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 13 | Full, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DowngradeFidelity` 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: struct `ApDowngradeLabel` is never constructed [INFO] [stdout] --> crates/ana-app/src/activitypub/model.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ApDowngradeLabel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApActivity` is never constructed [INFO] [stdout] --> crates/ana-app/src/activitypub/model.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ApActivity { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> crates/ana-app/src/communities/model.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 191 | impl MembershipEventType { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> crates/ana-app/src/communities/model.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 247 | impl GovernanceEventType { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HostingDelegation` is never constructed [INFO] [stdout] --> crates/ana-app/src/communities/model.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | pub struct HostingDelegation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DelegationStatus` is never used [INFO] [stdout] --> crates/ana-app/src/communities/model.rs:292:10 [INFO] [stdout] | [INFO] [stdout] 292 | pub enum DelegationStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/communities/model.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl DelegationStatus { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 298 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_membership_role` and `list_governance_events` are never used [INFO] [stdout] --> crates/ana-app/src/communities/repo.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl CommunitiesRepo { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn update_membership_role( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub async fn list_governance_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `promote_member` is never used [INFO] [stdout] --> crates/ana-app/src/communities/service.rs:312:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl CommunitiesService { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 312 | pub async fn promote_member( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list_replies` is never used [INFO] [stdout] --> crates/ana-app/src/content/repo.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl ContentRepo { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub async fn list_replies( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list_replies` is never used [INFO] [stdout] --> crates/ana-app/src/content/service.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl ContentService { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub async fn list_replies( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> crates/ana-app/src/exports/model.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl CommunityExportType { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommunityArchive` is never constructed [INFO] [stdout] --> crates/ana-app/src/exports/model.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct CommunityArchive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ArchiveTrigger` is never used [INFO] [stdout] --> crates/ana-app/src/exports/model.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | pub enum ArchiveTrigger { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/exports/model.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl ArchiveTrigger { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 154 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_exports_by_account`, `update_export_status`, `get_community_export_by_id`, and `expire_old_exports` are never used [INFO] [stdout] --> crates/ana-app/src/exports/repo.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl ExportsRepo { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub async fn list_exports_by_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub async fn update_export_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub async fn get_community_export_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn expire_old_exports( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_community_export_row` is never used [INFO] [stdout] --> crates/ana-app/src/exports/repo.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn map_community_export_row(r: &sqlx::postgres::PgRow) -> CommunityExport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list_exports` is never used [INFO] [stdout] --> crates/ana-app/src/exports/service.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl ExportsService { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn list_exports( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound` and `Forbidden` are never constructed [INFO] [stdout] --> crates/ana-app/src/exports/service.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub enum ExportsError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 116 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExportsError` 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 `OutboxEvent` is never constructed [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct OutboxEvent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OutboxStatus` is never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum OutboxStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl OutboxStatus { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 33 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FederationSubjectType` is never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum FederationSubjectType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl FederationSubjectType { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 64 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutboxDelivery` is never constructed [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct OutboxDelivery { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DeliveryStatus` is never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | pub enum DeliveryStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl DeliveryStatus { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 115 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeliveryAttempt` is never constructed [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct DeliveryAttempt { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeadLetter` is never constructed [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct DeadLetter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoteObject` is never constructed [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct RemoteObject { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RemoteObjectType` is never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:235:10 [INFO] [stdout] | [INFO] [stdout] 235 | pub enum RemoteObjectType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/federation/model.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 241 | impl RemoteObjectType { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 242 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> crates/ana-app/src/federation/repo.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl FederationRepo { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn create_outbox_event(&self, event: &OutboxEvent) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn get_pending_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn update_event_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn create_delivery(&self, d: &OutboxDelivery) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub async fn get_pending_deliveries( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub async fn update_delivery_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub async fn record_attempt(&self, attempt: &DeliveryAttempt) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub async fn update_inbox_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub async fn list_inbox_receipts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub async fn create_dead_letter(&self, dl: &DeadLetter) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub async fn list_dead_letters(&self, limit: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub async fn upsert_remote_object(&self, obj: &RemoteObject) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub async fn get_remote_object_by_uri( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_outbox_event_row` is never used [INFO] [stdout] --> crates/ana-app/src/federation/repo.rs:326:4 [INFO] [stdout] | [INFO] [stdout] 326 | fn map_outbox_event_row(r: &sqlx::postgres::PgRow) -> OutboxEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_delivery_row` is never used [INFO] [stdout] --> crates/ana-app/src/federation/repo.rs:350:4 [INFO] [stdout] | [INFO] [stdout] 350 | fn map_delivery_row(r: &sqlx::postgres::PgRow) -> OutboxDelivery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_dead_letter_row` is never used [INFO] [stdout] --> crates/ana-app/src/federation/repo.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn map_dead_letter_row(r: &sqlx::postgres::PgRow) -> DeadLetter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_remote_object_row` is never used [INFO] [stdout] --> crates/ana-app/src/federation/repo.rs:393:4 [INFO] [stdout] | [INFO] [stdout] 393 | fn map_remote_object_row(r: &sqlx::postgres::PgRow) -> RemoteObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `enqueue_event`, `get_pending_outbox_events`, `list_inbox_receipts`, `promote_to_dead_letter`, and `cache_remote_object` are never used [INFO] [stdout] --> crates/ana-app/src/federation/service.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl FederationService { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn enqueue_event( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn get_pending_outbox_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn list_inbox_receipts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub async fn promote_to_dead_letter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub async fn cache_remote_object( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound` and `InvalidPayload` are never constructed [INFO] [stdout] --> crates/ana-app/src/federation/service.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum FederationError { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 186 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | InvalidPayload(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FederationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contact_hint` is never read [INFO] [stdout] --> crates/ana-app/src/http/admission.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AdmissionRequestInput { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 19 | pub requested_handle: String, [INFO] [stdout] 20 | pub contact_hint: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> crates/ana-app/src/identity/model.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl KeyRole { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 70 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> crates/ana-app/src/identity/model.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl KeyStatus { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 95 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> crates/ana-app/src/identity/model.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl StatementType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 138 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_actor_key` and `create_identity_statement` are never used [INFO] [stdout] --> crates/ana-app/src/identity/repo.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl IdentityRepo { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn create_actor_key(&self, key: &ActorKey) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub async fn create_identity_statement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound` and `InvalidInput` are never constructed [INFO] [stdout] --> crates/ana-app/src/identity/service.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum IdentityError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 141 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | InvalidInput(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdentityError` 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 `ModerationLabel` is never constructed [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ModerationLabel { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Severity` is never used [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Severity { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Severity { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 30 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReportReview` is never constructed [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct ReportReview { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReviewOutcome` is never used [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:262:10 [INFO] [stdout] | [INFO] [stdout] 262 | pub enum ReviewOutcome { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 268 | impl ReviewOutcome { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 269 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 313 | impl AppealStatus { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReviewReportInput` is never constructed [INFO] [stdout] --> crates/ana-app/src/moderation/model.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | pub struct ReviewReportInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_report_by_id`, `update_report_status`, `create_report_review`, `get_appeal_by_id`, `list_appeals`, and `resolve_appeal` are never used [INFO] [stdout] --> crates/ana-app/src/moderation/repo.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl ModerationRepo { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn get_report_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn update_report_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub async fn create_report_review( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub async fn get_appeal_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub async fn list_appeals( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub async fn resolve_appeal( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_appeal_row` is never used [INFO] [stdout] --> crates/ana-app/src/moderation/repo.rs:403:4 [INFO] [stdout] | [INFO] [stdout] 403 | fn map_appeal_row(r: &sqlx::postgres::PgRow) -> Appeal { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_report`, `review_report`, `get_action`, and `resolve_appeal` are never used [INFO] [stdout] --> crates/ana-app/src/moderation/service.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl ModerationService { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn get_report( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn review_report( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub async fn get_action( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub async fn resolve_appeal( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Forbidden` is never constructed [INFO] [stdout] --> crates/ana-app/src/moderation/service.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 289 | pub enum ModerationError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 297 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModerationError` 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 `FollowerTransferRequest` is never constructed [INFO] [stdout] --> crates/ana-app/src/recovery/model.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct FollowerTransferRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransferStatus` is never used [INFO] [stdout] --> crates/ana-app/src/recovery/model.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | pub enum TransferStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> crates/ana-app/src/recovery/model.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl TransferStatus { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 193 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `to_node_domain` is never read [INFO] [stdout] --> crates/ana-app/src/recovery/model.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct InitiateRelocationInput { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 221 | pub to_node_domain: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitiateRelocationInput` 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 `create_follower_transfer`, `list_follower_transfers`, and `list_follower_actor_ids` are never used [INFO] [stdout] --> crates/ana-app/src/recovery/repo.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl RecoveryRepo { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | pub async fn create_follower_transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub async fn list_follower_transfers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub async fn list_follower_actor_ids( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_follower_transfer_row` is never used [INFO] [stdout] --> crates/ana-app/src/recovery/repo.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn map_follower_transfer_row(r: &sqlx::postgres::PgRow) -> FollowerTransferRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initiate_follower_transfer` is never used [INFO] [stdout] --> crates/ana-app/src/recovery/service.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl RecoveryService { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub async fn initiate_follower_transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateFilterInput` is never constructed [INFO] [stdout] --> crates/ana-app/src/social_graph/model.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct CreateFilterInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_follow`, `count_followers`, `count_following`, `is_blocked`, and `is_muted` are never used [INFO] [stdout] --> crates/ana-app/src/social_graph/repo.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl SocialGraphRepo { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn get_follow( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub async fn count_followers(&self, actor_id: ActorId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub async fn count_following(&self, actor_id: ActorId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub async fn is_blocked(&self, owner: ActorId, target: ActorId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub async fn is_muted(&self, owner: ActorId, target: ActorId) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound` and `InvalidInput` are never constructed [INFO] [stdout] --> crates/ana-app/src/social_graph/service.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum SocialGraphError { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 188 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | InvalidInput(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SocialGraphError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> crates/ana-app/src/state.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 20 | pub config: Arc, [INFO] [stdout] 21 | pub db: PgPool, [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 2m 18s [INFO] running `Command { std: "docker" "inspect" "57252e00abafc723759d56959e1fb669f2ea010ee82e65ce33a8774645b9b2e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57252e00abafc723759d56959e1fb669f2ea010ee82e65ce33a8774645b9b2e0", kill_on_drop: false }` [INFO] [stdout] 57252e00abafc723759d56959e1fb669f2ea010ee82e65ce33a8774645b9b2e0