[INFO] cloning repository https://github.com/NullMeDev/SecretExposer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NullMeDev/SecretExposer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNullMeDev%2FSecretExposer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNullMeDev%2FSecretExposer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 840840630b3ed50a717baef4739406b8297abd6a [INFO] checking NullMeDev/SecretExposer against try#50f413885985a8b0a0b6ca0766a0aedd45304953 for pr-155657 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNullMeDev%2FSecretExposer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NullMeDev/SecretExposer [INFO] finished tweaking git repo https://github.com/NullMeDev/SecretExposer [INFO] tweaked toml for git repo https://github.com/NullMeDev/SecretExposer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NullMeDev/SecretExposer on toolchain 50f413885985a8b0a0b6ca0766a0aedd45304953 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NullMeDev/SecretExposer 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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6128dd5e7dd88d1d49180cafda8391b24f2d8710bd7207556a24271fed48c92 [INFO] running `Command { std: "docker" "start" "-a" "c6128dd5e7dd88d1d49180cafda8391b24f2d8710bd7207556a24271fed48c92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6128dd5e7dd88d1d49180cafda8391b24f2d8710bd7207556a24271fed48c92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6128dd5e7dd88d1d49180cafda8391b24f2d8710bd7207556a24271fed48c92", kill_on_drop: false }` [INFO] [stdout] c6128dd5e7dd88d1d49180cafda8391b24f2d8710bd7207556a24271fed48c92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4acdf7503503684c3404bd8d5d8c06e82abf9c658427aeb520a0fba6152bbc32 [INFO] running `Command { std: "docker" "start" "-a" "4acdf7503503684c3404bd8d5d8c06e82abf9c658427aeb520a0fba6152bbc32", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Checking clap_lex v1.0.0 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking clap_builder v4.5.59 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking tempfile v3.25.0 [INFO] [stderr] Checking arc-swap v1.8.2 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking shell-words v1.1.1 [INFO] [stderr] Compiling assert_cmd v2.1.2 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Checking comfy-table v7.2.2 [INFO] [stderr] Checking predicates v3.1.4 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling snafu-derive v0.8.9 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking tracing-appender v0.2.4 [INFO] [stderr] Checking snafu v0.8.9 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking clap v4.5.59 [INFO] [stderr] Checking governor v0.8.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking wiremock v0.6.5 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking octocrab v0.41.2 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking secret-exposer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SecretTypeFilter` [INFO] [stdout] --> src/db/tokens_cmd.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::cli::{SecretTypeFilter, TokensArgs, TokensCommand}; [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: `SmartQuery` [INFO] [stdout] --> src/distributed/coordinator.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::scanner::query_builder::{self, SmartQuery}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coordinator::DistributedCoordinator` [INFO] [stdout] --> src/distributed/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use coordinator::DistributedCoordinator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `worker::DistributedWorker` [INFO] [stdout] --> src/distributed/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use worker::DistributedWorker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecretType` [INFO] [stdout] --> src/monitor/telegram.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::scanner::types::{FoundSecret, SecretType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/scanner/entropy.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecretTypeFilter` [INFO] [stdout] --> src/db/tokens_cmd.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::cli::{SecretTypeFilter, TokensArgs, TokensCommand}; [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: `SmartQuery` [INFO] [stdout] --> src/distributed/coordinator.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::scanner::query_builder::{self, SmartQuery}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coordinator::DistributedCoordinator` [INFO] [stdout] --> src/distributed/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use coordinator::DistributedCoordinator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `worker::DistributedWorker` [INFO] [stdout] --> src/distributed/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use worker::DistributedWorker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecretType` [INFO] [stdout] --> src/monitor/telegram.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::scanner::types::{FoundSecret, SecretType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/scanner/entropy.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scan` is never read [INFO] [stdout] --> src/config.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub scan: ScanConfig, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` 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: field `scan_interval` is never read [INFO] [stdout] --> src/config.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct GitHubConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub scan_interval: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitHubConfig` 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: fields `types` and `queries_file` are never read [INFO] [stdout] --> src/config.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct ScanConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 85 | pub types: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 86 | /// File with custom GitHub search queries [INFO] [stdout] 87 | pub queries_file: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanConfig` 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 `ChatRow` is never constructed [INFO] [stdout] --> src/db/models.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ChatRow { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_secrets` is never used [INFO] [stdout] --> src/db/queries.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn get_secrets( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_chats_for_secret` is never used [INFO] [stdout] --> src/db/queries.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | pub async fn get_chats_for_secret(pool: &SqlitePool, secret_id: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_notifications_for_secret` is never used [INFO] [stdout] --> src/db/queries.rs:240:14 [INFO] [stdout] | [INFO] [stdout] 240 | pub async fn get_notifications_for_secret( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DistributedCoordinator` is never constructed [INFO] [stdout] --> src/distributed/coordinator.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DistributedCoordinator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/distributed/coordinator.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DistributedCoordinator { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(pool: SqlitePool, worker_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn distribute_queries(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn distribute_static_queries(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | async fn enqueue_search_job( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub async fn distribute_validation_jobs(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub async fn get_stats(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn reset_stale_jobs(&self, timeout_minutes: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueueStats` is never constructed [INFO] [stdout] --> src/distributed/coordinator.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct QueueStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DistributedWorker` is never constructed [INFO] [stdout] --> src/distributed/worker.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DistributedWorker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JobRow` is never constructed [INFO] [stdout] --> src/distributed/worker.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct JobRow { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/distributed/worker.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl DistributedWorker { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 27 | pub fn new(pool: SqlitePool, worker_id: String, config: AppConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn run(&self, max_jobs: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | async fn claim_next_job(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | async fn process_search_job(&self, job: &JobRow) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | async fn process_validation_job(&self, job: &JobRow) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | async fn process_file_fetch_job(&self, job: &JobRow) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | async fn update_job_status(&self, job_id: i64, status: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | async fn complete_job(&self, job_id: i64, result: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | async fn fail_job(&self, job_id: i64, error: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/github/auth.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PatPool { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_count` and `incomplete_results` are never read [INFO] [stdout] --> src/github/client.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SearchCodeResponse { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 15 | pub total_count: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | pub incomplete_results: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchCodeResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `sha`, `url`, and `text_matches` are never read [INFO] [stdout] --> src/github/client.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SearchCodeItem { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 22 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub path: String, [INFO] [stdout] 24 | pub sha: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | pub url: String, // API URL for the file [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub text_matches: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchCodeItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `html_url`, and `is_private` are never read [INFO] [stdout] --> src/github/client.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SearchRepoInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 34 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | pub full_name: String, [INFO] [stdout] 36 | pub html_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | #[serde(rename = "private")] [INFO] [stdout] 38 | pub is_private: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchRepoInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fragment` and `matches` are never read [INFO] [stdout] --> src/github/client.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct TextMatch { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 43 | pub fragment: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub matches: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextMatch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `text` and `indices` are never read [INFO] [stdout] --> src/github/client.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct TextMatchDetail { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 49 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | pub indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextMatchDetail` 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 `size` is never read [INFO] [stdout] --> src/github/client.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct FileContent { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileContent` 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 `send_status_update` is never used [INFO] [stdout] --> src/monitor/telegram.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | pub async fn send_status_update(config: &AppConfig, message: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_heartbeat` is never used [INFO] [stdout] --> src/monitor/telegram.rs:361:14 [INFO] [stdout] | [INFO] [stdout] 361 | pub async fn send_heartbeat( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cross_repo_secrets` is never used [INFO] [stdout] --> src/scanner/correlation.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub async fn get_cross_repo_secrets(pool: &SqlitePool, min_repos: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_top_leakers` is never used [INFO] [stdout] --> src/scanner/correlation.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | pub async fn get_top_leakers(pool: &SqlitePool, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dedup_count` is never used [INFO] [stdout] --> src/scanner/correlation.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn get_dedup_count(pool: &SqlitePool, value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrossRepoSecret` is never constructed [INFO] [stdout] --> src/scanner/correlation.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct CrossRepoSecret { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrossRepoSecretRow` is never constructed [INFO] [stdout] --> src/scanner/correlation.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | struct CrossRepoSecretRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LeakerProfile` is never constructed [INFO] [stdout] --> src/scanner/correlation.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct LeakerProfile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LeakerProfileRow` is never constructed [INFO] [stdout] --> src/scanner/correlation.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 203 | struct LeakerProfileRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmartQuery` is never constructed [INFO] [stdout] --> src/scanner/query_builder.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SmartQuery { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `QueryStrategy` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum QueryStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_smart_queries` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn generate_smart_queries(pool: &SqlitePool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_queries_for_round` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn select_queries_for_round(queries: &[SmartQuery], max_queries: usize) -> Vec<&SmartQuery> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_query_performance` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn update_query_performance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cooldown_query` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | pub async fn cooldown_query(pool: &SqlitePool, query: &str, hours: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryPerf` is never constructed [INFO] [stdout] --> src/scanner/query_builder.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | struct QueryPerf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryPerfRow` is never constructed [INFO] [stdout] --> src/scanner/query_builder.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct QueryPerfRow { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_query_performance_map` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | async fn get_query_performance_map(pool: &SqlitePool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_high_yield_queries` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:185:10 [INFO] [stdout] | [INFO] [stdout] 185 | async fn get_high_yield_queries(pool: &SqlitePool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_priority` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn calculate_priority(perf: Option<&QueryPerf>) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_filename_combos` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | fn generate_filename_combos(query: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_date_filtered_queries` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn generate_date_filtered_queries(queries: &[SmartQuery]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/scanner/types.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SecretType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 68 | JenkinsToken, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | MixpanelToken, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 85 | AmplitudeApiKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | TwitterApiKey, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 97 | FacebookAccessToken, [INFO] [stdout] 98 | LinkedInClientSecret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | GoogleOAuthClientSecret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | TrelloApiKey, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | ZendeskApiToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | VaultToken, [INFO] [stdout] 114 | SumoLogicAccessKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | PrivateKey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecretType` 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: associated function `from_str` is never used [INFO] [stdout] --> src/scanner/types.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl SecretType { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> src/telegram/types.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ChatInfo { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 31 | pub fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_message` is never used [INFO] [stdout] --> src/tui/prompts.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn prompt_message(default_msg: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scan` is never read [INFO] [stdout] --> src/config.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub scan: ScanConfig, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` 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: field `scan_interval` is never read [INFO] [stdout] --> src/config.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct GitHubConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub scan_interval: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitHubConfig` 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: fields `types` and `queries_file` are never read [INFO] [stdout] --> src/config.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct ScanConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 85 | pub types: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 86 | /// File with custom GitHub search queries [INFO] [stdout] 87 | pub queries_file: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanConfig` 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 `ChatRow` is never constructed [INFO] [stdout] --> src/db/models.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ChatRow { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_secrets` is never used [INFO] [stdout] --> src/db/queries.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn get_secrets( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_chats_for_secret` is never used [INFO] [stdout] --> src/db/queries.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | pub async fn get_chats_for_secret(pool: &SqlitePool, secret_id: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_notifications_for_secret` is never used [INFO] [stdout] --> src/db/queries.rs:240:14 [INFO] [stdout] | [INFO] [stdout] 240 | pub async fn get_notifications_for_secret( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DistributedCoordinator` is never constructed [INFO] [stdout] --> src/distributed/coordinator.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DistributedCoordinator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/distributed/coordinator.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DistributedCoordinator { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(pool: SqlitePool, worker_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn distribute_queries(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn distribute_static_queries(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | async fn enqueue_search_job( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub async fn distribute_validation_jobs(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub async fn get_stats(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn reset_stale_jobs(&self, timeout_minutes: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueueStats` is never constructed [INFO] [stdout] --> src/distributed/coordinator.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct QueueStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DistributedWorker` is never constructed [INFO] [stdout] --> src/distributed/worker.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DistributedWorker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JobRow` is never constructed [INFO] [stdout] --> src/distributed/worker.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct JobRow { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/distributed/worker.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl DistributedWorker { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 27 | pub fn new(pool: SqlitePool, worker_id: String, config: AppConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn run(&self, max_jobs: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | async fn claim_next_job(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | async fn process_search_job(&self, job: &JobRow) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | async fn process_validation_job(&self, job: &JobRow) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | async fn process_file_fetch_job(&self, job: &JobRow) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | async fn update_job_status(&self, job_id: i64, status: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | async fn complete_job(&self, job_id: i64, result: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | async fn fail_job(&self, job_id: i64, error: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/github/auth.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PatPool { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_count` and `incomplete_results` are never read [INFO] [stdout] --> src/github/client.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SearchCodeResponse { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 15 | pub total_count: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | pub incomplete_results: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchCodeResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `sha`, `url`, and `text_matches` are never read [INFO] [stdout] --> src/github/client.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SearchCodeItem { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 22 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub path: String, [INFO] [stdout] 24 | pub sha: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | pub url: String, // API URL for the file [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub text_matches: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchCodeItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `html_url`, and `is_private` are never read [INFO] [stdout] --> src/github/client.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SearchRepoInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 34 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | pub full_name: String, [INFO] [stdout] 36 | pub html_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | #[serde(rename = "private")] [INFO] [stdout] 38 | pub is_private: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchRepoInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fragment` and `matches` are never read [INFO] [stdout] --> src/github/client.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct TextMatch { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 43 | pub fragment: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub matches: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextMatch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `text` and `indices` are never read [INFO] [stdout] --> src/github/client.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct TextMatchDetail { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 49 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | pub indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextMatchDetail` 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 `size` is never read [INFO] [stdout] --> src/github/client.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct FileContent { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileContent` 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 `send_status_update` is never used [INFO] [stdout] --> src/monitor/telegram.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | pub async fn send_status_update(config: &AppConfig, message: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_heartbeat` is never used [INFO] [stdout] --> src/monitor/telegram.rs:361:14 [INFO] [stdout] | [INFO] [stdout] 361 | pub async fn send_heartbeat( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cross_repo_secrets` is never used [INFO] [stdout] --> src/scanner/correlation.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub async fn get_cross_repo_secrets(pool: &SqlitePool, min_repos: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_top_leakers` is never used [INFO] [stdout] --> src/scanner/correlation.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | pub async fn get_top_leakers(pool: &SqlitePool, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dedup_count` is never used [INFO] [stdout] --> src/scanner/correlation.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn get_dedup_count(pool: &SqlitePool, value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrossRepoSecret` is never constructed [INFO] [stdout] --> src/scanner/correlation.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct CrossRepoSecret { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrossRepoSecretRow` is never constructed [INFO] [stdout] --> src/scanner/correlation.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | struct CrossRepoSecretRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LeakerProfile` is never constructed [INFO] [stdout] --> src/scanner/correlation.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct LeakerProfile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LeakerProfileRow` is never constructed [INFO] [stdout] --> src/scanner/correlation.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 203 | struct LeakerProfileRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SECRET_KEYWORDS` is never used [INFO] [stdout] --> src/scanner/entropy.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const SECRET_KEYWORDS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSIGNMENT_OPS` is never used [INFO] [stdout] --> src/scanner/entropy.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const ASSIGNMENT_OPS: &[&str] = &["=", ":", "=>", ":="]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENTROPY_THRESHOLD` is never used [INFO] [stdout] --> src/scanner/entropy.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const ENTROPY_THRESHOLD: f64 = 4.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_LENGTH` is never used [INFO] [stdout] --> src/scanner/entropy.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const MIN_LENGTH: usize = 16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LENGTH` is never used [INFO] [stdout] --> src/scanner/entropy.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const MAX_LENGTH: usize = 256; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_mixed_charset` is never used [INFO] [stdout] --> src/scanner/entropy.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn has_mixed_charset(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_secret_context` is never used [INFO] [stdout] --> src/scanner/entropy.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn has_secret_context(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_assignment_context` is never used [INFO] [stdout] --> src/scanner/entropy.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn is_assignment_context(line: &str, value_start: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_quoted_strings` is never used [INFO] [stdout] --> src/scanner/entropy.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn extract_quoted_strings(line: &str) -> Vec<(usize, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_for_entropy_secrets` is never used [INFO] [stdout] --> src/scanner/entropy.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn scan_for_entropy_secrets( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_common_false_positive` is never used [INFO] [stdout] --> src/scanner/entropy.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn is_common_false_positive(value: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shannon_entropy` is never used [INFO] [stdout] --> src/scanner/patterns.rs:818:8 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn shannon_entropy(s: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmartQuery` is never constructed [INFO] [stdout] --> src/scanner/query_builder.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SmartQuery { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `QueryStrategy` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum QueryStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_smart_queries` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn generate_smart_queries(pool: &SqlitePool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_queries_for_round` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn select_queries_for_round(queries: &[SmartQuery], max_queries: usize) -> Vec<&SmartQuery> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_query_performance` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn update_query_performance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cooldown_query` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | pub async fn cooldown_query(pool: &SqlitePool, query: &str, hours: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryPerf` is never constructed [INFO] [stdout] --> src/scanner/query_builder.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | struct QueryPerf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryPerfRow` is never constructed [INFO] [stdout] --> src/scanner/query_builder.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | struct QueryPerfRow { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_query_performance_map` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | async fn get_query_performance_map(pool: &SqlitePool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_high_yield_queries` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:185:10 [INFO] [stdout] | [INFO] [stdout] 185 | async fn get_high_yield_queries(pool: &SqlitePool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_priority` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn calculate_priority(perf: Option<&QueryPerf>) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_filename_combos` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | fn generate_filename_combos(query: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_date_filtered_queries` is never used [INFO] [stdout] --> src/scanner/query_builder.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn generate_date_filtered_queries(queries: &[SmartQuery]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/scanner/types.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SecretType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 68 | JenkinsToken, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | MixpanelToken, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 85 | AmplitudeApiKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | TwitterApiKey, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 97 | FacebookAccessToken, [INFO] [stdout] 98 | LinkedInClientSecret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | GoogleOAuthClientSecret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | TrelloApiKey, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | ZendeskApiToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | VaultToken, [INFO] [stdout] 114 | SumoLogicAccessKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | PrivateKey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 121 | HighEntropy, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecretType` 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: associated function `from_str` is never used [INFO] [stdout] --> src/scanner/types.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl SecretType { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> src/telegram/types.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ChatInfo { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 31 | pub fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_message` is never used [INFO] [stdout] --> src/tui/prompts.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn prompt_message(default_msg: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.68s [INFO] running `Command { std: "docker" "inspect" "4acdf7503503684c3404bd8d5d8c06e82abf9c658427aeb520a0fba6152bbc32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4acdf7503503684c3404bd8d5d8c06e82abf9c658427aeb520a0fba6152bbc32", kill_on_drop: false }` [INFO] [stdout] 4acdf7503503684c3404bd8d5d8c06e82abf9c658427aeb520a0fba6152bbc32