[INFO] cloning repository https://github.com/raskell-io/awesomeify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raskell-io/awesomeify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraskell-io%2Fawesomeify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraskell-io%2Fawesomeify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae2a07232fdaee4b9e3e003f3966f7dc8c693791 [INFO] checking raskell-io/awesomeify against try#22cc29ba5b459fb386c0406b9baf3a49eb0fba39 for pr-146095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraskell-io%2Fawesomeify" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/raskell-io/awesomeify [INFO] finished tweaking git repo https://github.com/raskell-io/awesomeify [INFO] tweaked toml for git repo https://github.com/raskell-io/awesomeify written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raskell-io/awesomeify on toolchain 22cc29ba5b459fb386c0406b9baf3a49eb0fba39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/raskell-io/awesomeify 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" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8d9fa432e0f828f8ee68447014548c1d2fb8f2b9cb8e680ebca67552c57ac57 [INFO] running `Command { std: "docker" "start" "-a" "f8d9fa432e0f828f8ee68447014548c1d2fb8f2b9cb8e680ebca67552c57ac57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8d9fa432e0f828f8ee68447014548c1d2fb8f2b9cb8e680ebca67552c57ac57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8d9fa432e0f828f8ee68447014548c1d2fb8f2b9cb8e680ebca67552c57ac57", kill_on_drop: false }` [INFO] [stdout] f8d9fa432e0f828f8ee68447014548c1d2fb8f2b9cb8e680ebca67552c57ac57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2adf2e09aa34bc7c911a2e620a3a912b3e8b186c8e19fad5cdc4601074d909b0 [INFO] running `Command { std: "docker" "start" "-a" "2adf2e09aa34bc7c911a2e620a3a912b3e8b186c8e19fad5cdc4601074d909b0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling pest v2.8.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking compression-codecs v0.4.35 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Compiling pest_meta v2.8.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Compiling pulldown-cmark v0.12.2 [INFO] [stderr] Checking clap_builder v4.5.54 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Checking pulldown-cmark-escape v0.11.0 [INFO] [stderr] Checking unicase v2.9.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pest_generator v2.8.5 [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 tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] Compiling graphql-parser v0.4.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling graphql-introspection-query v0.2.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling graphql_client_codegen v0.14.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling graphql_query_derive v0.14.0 [INFO] [stderr] Checking tera v1.20.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-compression v0.4.36 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Checking graphql_client v0.14.0 [INFO] [stderr] Checking tokio-test v0.4.5 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [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 sqlx v0.8.6 [INFO] [stderr] Checking awesomeify v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `json_export::export_json` [INFO] [stdout] --> src/generator/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use json_export::export_json; [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: `parse_github_url` [INFO] [stdout] --> src/sources/mod.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub use github::{parse_github_url, GitHubClient}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rate_limit::RateLimiter` [INFO] [stdout] --> src/sources/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use rate_limit::RateLimiter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `extract_github_urls` and `fetch_awesome_list` [INFO] [stdout] --> src/sources/mod.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub use seeds::{extract_github_urls, fetch_awesome_list, load_all_seeds, SeedConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json_export::export_json` [INFO] [stdout] --> src/generator/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use json_export::export_json; [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: `parse_github_url` [INFO] [stdout] --> src/sources/mod.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub use github::{parse_github_url, GitHubClient}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rate_limit::RateLimiter` [INFO] [stdout] --> src/sources/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use rate_limit::RateLimiter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `extract_github_urls` and `fetch_awesome_list` [INFO] [stdout] --> src/sources/mod.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub use seeds::{extract_github_urls, fetch_awesome_list, load_all_seeds, SeedConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_json` is never used [INFO] [stdout] --> src/generator/json_export.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn export_json(repos: &[Repository], output_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_by_category` is never used [INFO] [stdout] --> src/generator/json_export.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn export_by_category(repos: &[Repository], dir: &Path, get_category: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_by_topics` is never used [INFO] [stdout] --> src/generator/json_export.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn export_by_topics(repos: &[Repository], dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_filename` is never used [INFO] [stdout] --> src/generator/json_export.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn sanitize_filename(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fetch_commits` is never read [INFO] [stdout] --> src/indexer/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IndexerConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub fetch_commits: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_components` and `database` are never used [INFO] [stdout] --> src/indexer/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Indexer { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_components(db: Database, github: GitHubClient) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn database(&self) -> &Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_active` is never used [INFO] [stdout] --> src/models/repository.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Repository { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn is_active(&self, threshold: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/sources/github.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct GitHubClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 20 | client: Client, [INFO] [stdout] 21 | token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_authenticated` and `rate_limit_remaining` are never used [INFO] [stdout] --> src/sources/github.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl GitHubClient { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn is_authenticated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn rate_limit_remaining(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMITS_QUERY` is never used [INFO] [stdout] --> src/sources/graphql.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | pub const COMMITS_QUERY: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RELEASE_QUERY` is never used [INFO] [stdout] --> src/sources/graphql.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | pub const RELEASE_QUERY: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error_type` is never read [INFO] [stdout] --> src/sources/graphql.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct GraphQLError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 194 | pub error_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphQLError` 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 `default_branch_ref` is never read [INFO] [stdout] --> src/sources/graphql.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct RepositoryNode { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 247 | pub default_branch_ref: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepositoryNode` 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 `target` is never read [INFO] [stdout] --> src/sources/graphql.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct BranchRef { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 301 | pub target: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BranchRef` 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 `history` is never read [INFO] [stdout] --> src/sources/graphql.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct CommitTarget { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 306 | pub history: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommitTarget` 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 `CommitsResponse` is never constructed [INFO] [stdout] --> src/sources/graphql.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | pub struct CommitsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommitsRepository` is never constructed [INFO] [stdout] --> src/sources/graphql.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct CommitsRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReleaseResponse` is never constructed [INFO] [stdout] --> src/sources/graphql.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct ReleaseResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReleaseRepository` is never constructed [INFO] [stdout] --> src/sources/graphql.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub struct ReleaseRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remaining` is never used [INFO] [stdout] --> src/sources/rate_limit.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl RateLimiter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn remaining(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search`, `get_recent_commits`, and `get_latest_release` are never used [INFO] [stdout] --> src/sources/traits.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait RepositorySource { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | async fn search(&self, query: &str, limit: usize) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | async fn get_recent_commits(&self, owner: &str, name: &str, days: u32) -> anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | async fn get_latest_release(&self, owner: &str, name: &str) -> anyhow::Result>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pool`, `upsert_repositories`, `get_repository`, `get_all_repositories`, `count`, and `delete` are never used [INFO] [stdout] --> src/storage/sqlite.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn pool(&self) -> &SqlitePool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub async fn upsert_repositories(&self, repos: &[Repository]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub async fn get_repository(&self, id: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub async fn get_all_repositories(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub async fn count(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_json` is never used [INFO] [stdout] --> src/generator/json_export.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn export_json(repos: &[Repository], output_dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_by_category` is never used [INFO] [stdout] --> src/generator/json_export.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn export_by_category(repos: &[Repository], dir: &Path, get_category: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_by_topics` is never used [INFO] [stdout] --> src/generator/json_export.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn export_by_topics(repos: &[Repository], dir: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_filename` is never used [INFO] [stdout] --> src/generator/json_export.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn sanitize_filename(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fetch_commits` is never read [INFO] [stdout] --> src/indexer/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IndexerConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub fetch_commits: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_components` and `database` are never used [INFO] [stdout] --> src/indexer/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Indexer { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_components(db: Database, github: GitHubClient) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn database(&self) -> &Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_active` is never used [INFO] [stdout] --> src/models/repository.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Repository { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn is_active(&self, threshold: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/sources/github.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct GitHubClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 20 | client: Client, [INFO] [stdout] 21 | token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_authenticated` and `rate_limit_remaining` are never used [INFO] [stdout] --> src/sources/github.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl GitHubClient { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn is_authenticated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn rate_limit_remaining(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMITS_QUERY` is never used [INFO] [stdout] --> src/sources/graphql.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | pub const COMMITS_QUERY: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RELEASE_QUERY` is never used [INFO] [stdout] --> src/sources/graphql.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | pub const RELEASE_QUERY: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error_type` is never read [INFO] [stdout] --> src/sources/graphql.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct GraphQLError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 194 | pub error_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphQLError` 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 `default_branch_ref` is never read [INFO] [stdout] --> src/sources/graphql.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct RepositoryNode { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 247 | pub default_branch_ref: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepositoryNode` 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 `target` is never read [INFO] [stdout] --> src/sources/graphql.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct BranchRef { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 301 | pub target: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BranchRef` 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 `history` is never read [INFO] [stdout] --> src/sources/graphql.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct CommitTarget { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 306 | pub history: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommitTarget` 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 `CommitsResponse` is never constructed [INFO] [stdout] --> src/sources/graphql.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | pub struct CommitsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommitsRepository` is never constructed [INFO] [stdout] --> src/sources/graphql.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct CommitsRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReleaseResponse` is never constructed [INFO] [stdout] --> src/sources/graphql.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct ReleaseResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReleaseRepository` is never constructed [INFO] [stdout] --> src/sources/graphql.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub struct ReleaseRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remaining` is never used [INFO] [stdout] --> src/sources/rate_limit.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl RateLimiter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn remaining(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search`, `get_recent_commits`, and `get_latest_release` are never used [INFO] [stdout] --> src/sources/traits.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait RepositorySource { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | async fn search(&self, query: &str, limit: usize) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | async fn get_recent_commits(&self, owner: &str, name: &str, days: u32) -> anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | async fn get_latest_release(&self, owner: &str, name: &str) -> anyhow::Result>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pool`, `upsert_repositories`, `get_repository`, `get_all_repositories`, `count`, and `delete` are never used [INFO] [stdout] --> src/storage/sqlite.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn pool(&self) -> &SqlitePool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub async fn upsert_repositories(&self, repos: &[Repository]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub async fn get_repository(&self, id: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub async fn get_all_repositories(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub async fn count(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "2adf2e09aa34bc7c911a2e620a3a912b3e8b186c8e19fad5cdc4601074d909b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2adf2e09aa34bc7c911a2e620a3a912b3e8b186c8e19fad5cdc4601074d909b0", kill_on_drop: false }` [INFO] [stdout] 2adf2e09aa34bc7c911a2e620a3a912b3e8b186c8e19fad5cdc4601074d909b0