[INFO] cloning repository https://github.com/Anan2214/anan_blog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Anan2214/anan_blog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnan2214%2Fanan_blog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnan2214%2Fanan_blog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab4437b0cb53ddb2899e3343af1849f48417084f [INFO] checking Anan2214/anan_blog against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnan2214%2Fanan_blog" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Anan2214/anan_blog [INFO] finished tweaking git repo https://github.com/Anan2214/anan_blog [INFO] tweaked toml for git repo https://github.com/Anan2214/anan_blog written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Anan2214/anan_blog on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Anan2214/anan_blog 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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4950b9a569cbff28b865d30acb7170db22899199337cafbb2afe455c63819c89 [INFO] running `Command { std: "docker" "start" "-a" "4950b9a569cbff28b865d30acb7170db22899199337cafbb2afe455c63819c89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4950b9a569cbff28b865d30acb7170db22899199337cafbb2afe455c63819c89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4950b9a569cbff28b865d30acb7170db22899199337cafbb2afe455c63819c89", kill_on_drop: false }` [INFO] [stdout] 4950b9a569cbff28b865d30acb7170db22899199337cafbb2afe455c63819c89 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68807faa2507ed9a5985613fbad93266a39430380b8d5c9a021e5e4773247f11 [INFO] running `Command { std: "docker" "start" "-a" "68807faa2507ed9a5985613fbad93266a39430380b8d5c9a021e5e4773247f11", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking bytestring v1.5.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling pest v2.8.5 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking base64ct v1.8.2 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Compiling parse-size v1.1.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling pulldown-cmark v0.10.3 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling pest_meta v2.8.5 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking clap_builder v4.5.54 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking pulldown-cmark-escape v0.10.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking jiff v0.2.18 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling pest_generator v2.8.5 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling actix-multipart-derive v0.6.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [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] Checking env_logger v0.11.8 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [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 serde_plain v1.0.2 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking actix-tls v3.5.0 [INFO] [stderr] Checking rusqlite v0.30.0 [INFO] [stderr] Checking tera v1.20.1 [INFO] [stderr] Checking actix-http v3.11.2 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking actix-web v4.12.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking actix-multipart v0.6.2 [INFO] [stderr] Checking actix-files v0.6.9 [INFO] [stderr] Checking lf_blog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/modules/cli/mod.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Parser, Subcommand, Command}; [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: `std::path::PathBuf` [INFO] [stdout] --> src/modules/database/analytics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/modules/database/analytics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/modules/content/scanner.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Attachment` [INFO] [stdout] --> src/modules/content/compiler.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::scanner::{Attachment, Scanner, SiteContent}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Category`, `ContentItem`, and `SiteContent` [INFO] [stdout] --> src/modules/web/admin.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::scanner::{Category, ContentItem, Scanner, SiteContent}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/modules/web/admin.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/modules/web/admin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Category` [INFO] [stdout] --> src/modules/web/recommender.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::scanner::{Category, ContentItem, SiteContent}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `theme` [INFO] [stdout] --> src/main.rs:6:64 [INFO] [stdout] | [INFO] [stdout] 6 | use modules::content::{compiler, scanner, markdown, templates, theme}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/modules/cli/mod.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Parser, Subcommand, Command}; [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: `std::path::PathBuf` [INFO] [stdout] --> src/modules/database/analytics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/modules/database/analytics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Attachment` [INFO] [stdout] --> src/modules/content/compiler.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::scanner::{Attachment, Scanner, SiteContent}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Category`, `ContentItem`, and `SiteContent` [INFO] [stdout] --> src/modules/web/admin.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::scanner::{Category, ContentItem, Scanner, SiteContent}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/modules/web/admin.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/modules/web/admin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Category` [INFO] [stdout] --> src/modules/web/recommender.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::scanner::{Category, ContentItem, SiteContent}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `theme` [INFO] [stdout] --> src/main.rs:6:64 [INFO] [stdout] | [INFO] [stdout] 6 | use modules::content::{compiler, scanner, markdown, templates, theme}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/web/admin.rs:430:17 [INFO] [stdout] | [INFO] [stdout] 430 | let mut scanner = Scanner::new(config.paths.content_dir.clone()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/web/admin.rs:430:17 [INFO] [stdout] | [INFO] [stdout] 430 | let mut scanner = Scanner::new(config.paths.content_dir.clone()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/modules/cli/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let timestamp = Utc::now().format("%Y%m%d_%H%M%S").to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/modules/cli/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let timestamp = Utc::now().format("%Y%m%d_%H%M%S").to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_agent` [INFO] [stdout] --> src/modules/database/analytics.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn detect_source(referer: &str, user_agent: &str) -> (VisitSource, Option, Option) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `referer_lower` [INFO] [stdout] --> src/modules/database/analytics.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | let referer_lower = referer.to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_referer_lower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/modules/database/analytics.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn get_location_from_ip(ip: &str) -> (Option, Option) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_agent` [INFO] [stdout] --> src/modules/database/analytics.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn detect_source(referer: &str, user_agent: &str) -> (VisitSource, Option, Option) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `referer_lower` [INFO] [stdout] --> src/modules/database/analytics.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | let referer_lower = referer.to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_referer_lower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/modules/database/analytics.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn get_location_from_ip(ip: &str) -> (Option, Option) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/modules/database/analytics.rs:729:22 [INFO] [stdout] | [INFO] [stdout] 729 | let (source, engine, keyword) = detect_source("", ""); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyword` [INFO] [stdout] --> src/modules/database/analytics.rs:729:30 [INFO] [stdout] | [INFO] [stdout] 729 | let (source, engine, keyword) = detect_source("", ""); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/modules/database/analytics.rs:751:22 [INFO] [stdout] | [INFO] [stdout] 751 | let (source, engine, keyword) = detect_source( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyword` [INFO] [stdout] --> src/modules/database/analytics.rs:751:30 [INFO] [stdout] | [INFO] [stdout] 751 | let (source, engine, keyword) = detect_source( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/modules/database/analytics.rs:758:22 [INFO] [stdout] | [INFO] [stdout] 758 | let (source, engine, keyword) = detect_source( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyword` [INFO] [stdout] --> src/modules/database/analytics.rs:758:30 [INFO] [stdout] | [INFO] [stdout] 758 | let (source, engine, keyword) = detect_source( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/modules/web/admin.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | fn verify_admin_token(config: &Config, token: &str) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/modules/web/admin.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | fn verify_admin_token(config: &Config, token: &str) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/modules/web/admin.rs:918:5 [INFO] [stdout] | [INFO] [stdout] 918 | config: web::Data, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/modules/web/admin.rs:918:5 [INFO] [stdout] | [INFO] [stdout] 918 | config: web::Data, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> src/modules/web/admin.rs:1838:9 [INFO] [stdout] | [INFO] [stdout] 1838 | let slug = name.to_lowercase().replace(' ', "-"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> src/modules/web/admin.rs:1838:9 [INFO] [stdout] | [INFO] [stdout] 1838 | let slug = name.to_lowercase().replace(' ', "-"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/web/recommender.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut recommendations: Vec<_> = scores [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/web/recommender.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut recommendations: Vec<_> = scores [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear_pages`, `get_attachments_by_slug`, `get_all_attachments`, `delete_attachment`, `clear_attachments`, and `clear_all` are never used [INFO] [stdout] --> src/modules/database/storage.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl StorageDB { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn clear_pages(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn get_attachments_by_slug(&self, slug: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn get_all_attachments(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn delete_attachment(&self, filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub fn clear_attachments(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | pub fn clear_all(&mut self) -> 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 `get_mime_type` is never used [INFO] [stdout] --> src/modules/database/storage.rs:623:8 [INFO] [stdout] | [INFO] [stdout] 623 | pub fn get_mime_type(filename: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_comments` and `delete_comment` are never used [INFO] [stdout] --> src/modules/database/comments.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl CommentDB { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn get_all_comments(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn delete_comment(&self, id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommentCount` is never constructed [INFO] [stdout] --> src/modules/database/comments.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct CommentCount { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_page_visits` and `cleanup_old_records` are never used [INFO] [stdout] --> src/modules/database/analytics.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl AnalyticsDB { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn get_page_visits(&self, page_slug: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn cleanup_old_records(&self, days_to_keep: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `limit` is never read [INFO] [stdout] --> src/modules/database/analytics.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct DailyStatsQuery { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 462 | pub limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_sitemap` and `generate_robots_txt` are never used [INFO] [stdout] --> src/modules/content/compiler.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Compiler { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | fn generate_sitemap(&self, site_content: &SiteContent, generated_files: &mut Vec) -> Result<(), Box) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `generated_files` are never read [INFO] [stdout] --> src/modules/content/compiler.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct CompileResult { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 199 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 200 | pub generated_files: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompileResult` 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: function `process_image_links` is never used [INFO] [stdout] --> src/modules/content/markdown.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn process_image_links(html: &str, base_path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render_archive` and `render_admin_base` are never used [INFO] [stdout] --> src/modules/content/templates.rs:2066:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TemplateRenderer { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 2066 | pub fn render_archive(&self, all_items: &Vec<(String, String, String, Option)>, total_items: usize) -> Result Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExportResponse` is never constructed [INFO] [stdout] --> src/modules/web/admin.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ExportResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompilerState` is never constructed [INFO] [stdout] --> src/modules/web/admin.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct CompilerState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/modules/web/admin.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl CompilerState { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 87 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_full_content` is never used [INFO] [stdout] --> src/modules/web/admin.rs:917:14 [INFO] [stdout] | [INFO] [stdout] 917 | pub async fn upload_full_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_incremental_content` is never used [INFO] [stdout] --> src/modules/web/admin.rs:931:14 [INFO] [stdout] | [INFO] [stdout] 931 | pub async fn upload_incremental_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keyword_index` is never read [INFO] [stdout] --> src/modules/web/recommender.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Recommender { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | keyword_index: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/modules/database/storage.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl StorageDB { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn clear_pages(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn save_attachment(&self, attachment: &StoredAttachment) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn get_attachments_by_slug(&self, slug: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn get_all_attachments(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn delete_attachment(&self, filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub fn clear_attachments(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | pub fn clear_all(&mut self) -> 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 `get_mime_type` is never used [INFO] [stdout] --> src/modules/database/storage.rs:623:8 [INFO] [stdout] | [INFO] [stdout] 623 | pub fn get_mime_type(filename: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_comments` and `delete_comment` are never used [INFO] [stdout] --> src/modules/database/comments.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl CommentDB { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn get_all_comments(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn delete_comment(&self, id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommentCount` is never constructed [INFO] [stdout] --> src/modules/database/comments.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct CommentCount { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_page_visits` and `cleanup_old_records` are never used [INFO] [stdout] --> src/modules/database/analytics.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl AnalyticsDB { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn get_page_visits(&self, page_slug: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn cleanup_old_records(&self, days_to_keep: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_user_agent` is never used [INFO] [stdout] --> src/modules/database/analytics.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn parse_user_agent(ua: &str) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `limit` is never read [INFO] [stdout] --> src/modules/database/analytics.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct DailyStatsQuery { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 462 | pub limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_sitemap` and `generate_robots_txt` are never used [INFO] [stdout] --> src/modules/content/compiler.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Compiler { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | fn generate_sitemap(&self, site_content: &SiteContent, generated_files: &mut Vec) -> Result<(), Box) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `generated_files` are never read [INFO] [stdout] --> src/modules/content/compiler.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct CompileResult { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 199 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 200 | pub generated_files: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompileResult` 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: function `process_image_links` is never used [INFO] [stdout] --> src/modules/content/markdown.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn process_image_links(html: &str, base_path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render_archive` and `render_admin_base` are never used [INFO] [stdout] --> src/modules/content/templates.rs:2066:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TemplateRenderer { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 2066 | pub fn render_archive(&self, all_items: &Vec<(String, String, String, Option)>, total_items: usize) -> Result Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Theme` is never constructed [INFO] [stdout] --> src/modules/content/theme.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Theme { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorPalette` is never constructed [INFO] [stdout] --> src/modules/content/theme.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ColorPalette { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_css` is never used [INFO] [stdout] --> src/modules/content/theme.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Theme { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 48 | pub fn to_css(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExportResponse` is never constructed [INFO] [stdout] --> src/modules/web/admin.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ExportResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompilerState` is never constructed [INFO] [stdout] --> src/modules/web/admin.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct CompilerState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/modules/web/admin.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl CompilerState { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 87 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_full_content` is never used [INFO] [stdout] --> src/modules/web/admin.rs:917:14 [INFO] [stdout] | [INFO] [stdout] 917 | pub async fn upload_full_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_incremental_content` is never used [INFO] [stdout] --> src/modules/web/admin.rs:931:14 [INFO] [stdout] | [INFO] [stdout] 931 | pub async fn upload_incremental_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keyword_index` is never read [INFO] [stdout] --> src/modules/web/recommender.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Recommender { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | keyword_index: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "68807faa2507ed9a5985613fbad93266a39430380b8d5c9a021e5e4773247f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68807faa2507ed9a5985613fbad93266a39430380b8d5c9a021e5e4773247f11", kill_on_drop: false }` [INFO] [stdout] 68807faa2507ed9a5985613fbad93266a39430380b8d5c9a021e5e4773247f11