[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] testing Anan2214/anan_blog against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnan2214%2Fanan_blog" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Anan2214/anan_blog on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1e3ce5dac8f7ea7a635bbb63d0a75b2a7cde054129ab72acd269bcf98a0d4199
[INFO] running `Command { std: "docker" "start" "-a" "1e3ce5dac8f7ea7a635bbb63d0a75b2a7cde054129ab72acd269bcf98a0d4199", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e3ce5dac8f7ea7a635bbb63d0a75b2a7cde054129ab72acd269bcf98a0d4199", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e3ce5dac8f7ea7a635bbb63d0a75b2a7cde054129ab72acd269bcf98a0d4199", kill_on_drop: false }`
[INFO] [stdout] 1e3ce5dac8f7ea7a635bbb63d0a75b2a7cde054129ab72acd269bcf98a0d4199
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e3515ade5365147da03d12aa768cc2b1cdde748a46c1c57646b2ea1515b2114
[INFO] running `Command { std: "docker" "start" "-a" "8e3515ade5365147da03d12aa768cc2b1cdde748a46c1c57646b2ea1515b2114", 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 bytes v1.11.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling zmij v1.0.12
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling regex-lite v0.1.8
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling pest v2.8.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling bstr v1.12.1
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling cc v1.2.52
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling pest_meta v2.8.5
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling base64ct v1.8.2
[INFO] [stderr]    Compiling v_htmlescape v0.15.8
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling password-hash v0.4.2
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling filetime v0.2.26
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling pulldown-cmark v0.10.3
[INFO] [stderr]    Compiling deunicode v1.6.2
[INFO] [stderr]    Compiling parse-size v1.1.0
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling inotify v0.9.6
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling slug v0.1.6
[INFO] [stderr]    Compiling clap_builder v4.5.54
[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 hashlink v0.8.4
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.1
[INFO] [stderr]    Compiling humansize v2.1.3
[INFO] [stderr]    Compiling getopts v0.2.24
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling xattr v1.6.1
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling chrono-tz-build v0.3.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling pulldown-cmark-escape v0.10.1
[INFO] [stderr]    Compiling http-range v0.1.5
[INFO] [stderr]    Compiling globset v0.4.18
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling notify v6.1.1
[INFO] [stderr]    Compiling tar v0.4.44
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling chrono-tz v0.9.0
[INFO] [stderr]    Compiling ignore v0.4.25
[INFO] [stderr]    Compiling pest_generator v2.8.5
[INFO] [stderr]    Compiling bzip2 v0.4.4
[INFO] [stderr]    Compiling env_filter v0.1.4
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling globwalk v0.9.1
[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]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling pest_derive v2.8.5
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling actix-multipart-derive v0.6.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling clap v4.5.54
[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 derive_more v2.1.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling serde_plain v1.0.2
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling actix-rt v2.11.0
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling rusqlite v0.30.0
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling actix-tls v3.5.0
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tera v1.20.1
[INFO] [stderr]    Compiling actix-http v3.11.2
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling actix-web v4.12.1
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling actix-files v0.6.9
[INFO] [stderr]    Compiling actix-multipart v0.6.2
[INFO] [stderr]    Compiling 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: `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: 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<String>, Option<String>) {
[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<String>, Option<String>) {
[INFO] [stdout]     |                             ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[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<Config>,
[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: 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: 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<Vec<StoredAttachment>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 358 |     pub fn get_all_attachments(&self) -> Result<Vec<StoredAttachment>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 383 |     pub fn delete_attachment(&self, filename: &str) -> Result<bool> {
[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<Vec<Comment>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn delete_comment(&self, id: &str) -> Result<bool> {
[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<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 308 |     pub fn cleanup_old_records(&self, days_to_keep: i64) -> Result<usize> {
[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<usize>,
[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<PathBuf>) -> Result<(), Box<dyn std::error::Er...
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn generate_robots_txt(&self, generated_files: &mut Vec<PathBuf>) -> Result<(), Box<dyn std::error::Error>> {
[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<PathBuf>,
[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<String>)>, total_items: usize) -> Result<String, ...
[INFO] [stdout]      |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2083 |     pub fn render_admin_base(&self, active: &str) -> Result<String, Box<dyn std::error::Error>> {
[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<String, Vec<usize>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s
[INFO] running `Command { std: "docker" "inspect" "8e3515ade5365147da03d12aa768cc2b1cdde748a46c1c57646b2ea1515b2114", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e3515ade5365147da03d12aa768cc2b1cdde748a46c1c57646b2ea1515b2114", kill_on_drop: false }`
[INFO] [stdout] 8e3515ade5365147da03d12aa768cc2b1cdde748a46c1c57646b2ea1515b2114
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2751ad6b32e864be3690962d9fa3f20837fd8c961d12ba6ce74483677df97ee2
[INFO] running `Command { std: "docker" "start" "-a" "2751ad6b32e864be3690962d9fa3f20837fd8c961d12ba6ce74483677df97ee2", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: 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: `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<String>, Option<String>) {
[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<String>, Option<String>) {
[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:918:5
[INFO] [stdout]     |
[INFO] [stdout] 918 |     config: web::Data<Config>,
[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: 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<Vec<StoredAttachment>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 358 |     pub fn get_all_attachments(&self) -> Result<Vec<StoredAttachment>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 383 |     pub fn delete_attachment(&self, filename: &str) -> Result<bool> {
[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<Vec<Comment>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn delete_comment(&self, id: &str) -> Result<bool> {
[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<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 308 |     pub fn cleanup_old_records(&self, days_to_keep: i64) -> Result<usize> {
[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<usize>,
[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<PathBuf>) -> Result<(), Box<dyn std::error::Er...
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn generate_robots_txt(&self, generated_files: &mut Vec<PathBuf>) -> Result<(), Box<dyn std::error::Error>> {
[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<PathBuf>,
[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<String>)>, total_items: usize) -> Result<String, ...
[INFO] [stdout]      |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2083 |     pub fn render_admin_base(&self, active: &str) -> Result<String, Box<dyn std::error::Error>> {
[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<String, Vec<usize>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.89s
[INFO] running `Command { std: "docker" "inspect" "2751ad6b32e864be3690962d9fa3f20837fd8c961d12ba6ce74483677df97ee2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2751ad6b32e864be3690962d9fa3f20837fd8c961d12ba6ce74483677df97ee2", kill_on_drop: false }`
[INFO] [stdout] 2751ad6b32e864be3690962d9fa3f20837fd8c961d12ba6ce74483677df97ee2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bea4a4a875e0310e99a8963ae502d3094bdc4b586908237509149e16eb2b9d8f
[INFO] running `Command { std: "docker" "start" "-a" "bea4a4a875e0310e99a8963ae502d3094bdc4b586908237509149e16eb2b9d8f", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Command`
[INFO] [stderr]  --> src/modules/cli/mod.rs:1:32
[INFO] [stderr]   |
[INFO] [stderr] 1 | use clap::{Parser, Subcommand, Command};
[INFO] [stderr]   |                                ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path::PathBuf`
[INFO] [stderr]  --> src/modules/database/analytics.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::path::PathBuf;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `uuid::Uuid`
[INFO] [stderr]  --> src/modules/database/analytics.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use uuid::Uuid;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]    --> src/modules/content/scanner.rs:322:9
[INFO] [stderr]     |
[INFO] [stderr] 322 |     use super::*;
[INFO] [stderr]     |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Attachment`
[INFO] [stderr]  --> src/modules/content/compiler.rs:2:22
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::scanner::{Attachment, Scanner, SiteContent};
[INFO] [stderr]   |                      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Category`, `ContentItem`, and `SiteContent`
[INFO] [stderr]  --> src/modules/web/admin.rs:2:22
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::scanner::{Category, ContentItem, Scanner, SiteContent};
[INFO] [stderr]   |                      ^^^^^^^^  ^^^^^^^^^^^           ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Mutex`
[INFO] [stderr]   --> src/modules/web/admin.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::sync::Mutex;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::Utc`
[INFO] [stderr]   --> src/modules/web/admin.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use chrono::Utc;
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Category`
[INFO] [stderr]  --> src/modules/web/recommender.rs:1:22
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::scanner::{Category, ContentItem, SiteContent};
[INFO] [stderr]   |                      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `theme`
[INFO] [stderr]  --> src/main.rs:6:64
[INFO] [stderr]   |
[INFO] [stderr] 6 | use modules::content::{compiler, scanner, markdown, templates, theme};
[INFO] [stderr]   |                                                                ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/modules/web/admin.rs:430:17
[INFO] [stderr]     |
[INFO] [stderr] 430 |             let mut scanner = Scanner::new(config.paths.content_dir.clone());
[INFO] [stderr]     |                 ----^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `timestamp`
[INFO] [stderr]    --> src/modules/cli/mod.rs:140:9
[INFO] [stderr]     |
[INFO] [stderr] 140 |     let timestamp = Utc::now().format("%Y%m%d_%H%M%S").to_string();
[INFO] [stderr]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `user_agent`
[INFO] [stderr]    --> src/modules/database/analytics.rs:365:37
[INFO] [stderr]     |
[INFO] [stderr] 365 | pub fn detect_source(referer: &str, user_agent: &str) -> (VisitSource, Option<String>, Option<String>) {
[INFO] [stderr]     |                                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_agent`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `referer_lower`
[INFO] [stderr]    --> src/modules/database/analytics.rs:366:9
[INFO] [stderr]     |
[INFO] [stderr] 366 |     let referer_lower = referer.to_lowercase();
[INFO] [stderr]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_referer_lower`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ip`
[INFO] [stderr]    --> src/modules/database/analytics.rs:447:29
[INFO] [stderr]     |
[INFO] [stderr] 447 | pub fn get_location_from_ip(ip: &str) -> (Option<String>, Option<String>) {
[INFO] [stderr]     |                             ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `engine`
[INFO] [stderr]    --> src/modules/database/analytics.rs:729:22
[INFO] [stderr]     |
[INFO] [stderr] 729 |         let (source, engine, keyword) = detect_source("", "");
[INFO] [stderr]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `keyword`
[INFO] [stderr]    --> src/modules/database/analytics.rs:729:30
[INFO] [stderr]     |
[INFO] [stderr] 729 |         let (source, engine, keyword) = detect_source("", "");
[INFO] [stderr]     |                              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyword`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `engine`
[INFO] [stderr]    --> src/modules/database/analytics.rs:751:22
[INFO] [stderr]     |
[INFO] [stderr] 751 |         let (source, engine, keyword) = detect_source(
[INFO] [stderr]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `keyword`
[INFO] [stderr]    --> src/modules/database/analytics.rs:751:30
[INFO] [stderr]     |
[INFO] [stderr] 751 |         let (source, engine, keyword) = detect_source(
[INFO] [stderr]     |                              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyword`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `engine`
[INFO] [stderr]    --> src/modules/database/analytics.rs:758:22
[INFO] [stderr]     |
[INFO] [stderr] 758 |         let (source, engine, keyword) = detect_source(
[INFO] [stderr]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `keyword`
[INFO] [stderr]    --> src/modules/database/analytics.rs:758:30
[INFO] [stderr]     |
[INFO] [stderr] 758 |         let (source, engine, keyword) = detect_source(
[INFO] [stderr]     |                              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyword`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]    --> src/modules/web/admin.rs:131:23
[INFO] [stderr]     |
[INFO] [stderr] 131 | fn verify_admin_token(config: &Config, token: &str) -> bool {
[INFO] [stderr]     |                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]    --> src/modules/web/admin.rs:918:5
[INFO] [stderr]     |
[INFO] [stderr] 918 |     config: web::Data<Config>,
[INFO] [stderr]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `slug`
[INFO] [stderr]     --> src/modules/web/admin.rs:1838:9
[INFO] [stderr]      |
[INFO] [stderr] 1838 |     let slug = name.to_lowercase().replace(' ', "-");
[INFO] [stderr]      |         ^^^^ help: if this is intentional, prefix it with an underscore: `_slug`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/modules/web/recommender.rs:121:13
[INFO] [stderr]     |
[INFO] [stderr] 121 |         let mut recommendations: Vec<_> = scores
[INFO] [stderr]     |             ----^^^^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: methods `clear_pages`, `get_attachments_by_slug`, `get_all_attachments`, `delete_attachment`, `clear_attachments`, and `clear_all` are never used
[INFO] [stderr]    --> src/modules/database/storage.rs:276:12
[INFO] [stderr]     |
[INFO] [stderr]  51 | impl StorageDB {
[INFO] [stderr]     | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 276 |     pub fn clear_pages(&self) -> Result<()> {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 333 |     pub fn get_attachments_by_slug(&self, slug: &str) -> Result<Vec<StoredAttachment>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 358 |     pub fn get_all_attachments(&self) -> Result<Vec<StoredAttachment>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 383 |     pub fn delete_attachment(&self, filename: &str) -> Result<bool> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 400 |     pub fn clear_attachments(&self) -> Result<()> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 551 |     pub fn clear_all(&mut self) -> Result<()> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_mime_type` is never used
[INFO] [stderr]    --> src/modules/database/storage.rs:623:8
[INFO] [stderr]     |
[INFO] [stderr] 623 | pub fn get_mime_type(filename: &str) -> &'static str {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_all_comments` and `delete_comment` are never used
[INFO] [stderr]    --> src/modules/database/comments.rs:110:12
[INFO] [stderr]     |
[INFO] [stderr]  31 | impl CommentDB {
[INFO] [stderr]     | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 110 |     pub fn get_all_comments(&self) -> Result<Vec<Comment>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 133 |     pub fn delete_comment(&self, id: &str) -> Result<bool> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CommentCount` is never constructed
[INFO] [stderr]    --> src/modules/database/comments.rs:155:12
[INFO] [stderr]     |
[INFO] [stderr] 155 | pub struct CommentCount {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_page_visits` and `cleanup_old_records` are never used
[INFO] [stderr]    --> src/modules/database/analytics.rs:299:12
[INFO] [stderr]     |
[INFO] [stderr]  95 | impl AnalyticsDB {
[INFO] [stderr]     | ---------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 299 |     pub fn get_page_visits(&self, page_slug: &str) -> Result<i64> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 308 |     pub fn cleanup_old_records(&self, days_to_keep: i64) -> Result<usize> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `limit` is never read
[INFO] [stderr]    --> src/modules/database/analytics.rs:462:9
[INFO] [stderr]     |
[INFO] [stderr] 459 | pub struct DailyStatsQuery {
[INFO] [stderr]     |            --------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 462 |     pub limit: Option<usize>,
[INFO] [stderr]     |         ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `generate_sitemap` and `generate_robots_txt` are never used
[INFO] [stderr]    --> src/modules/content/compiler.rs:143:8
[INFO] [stderr]     |
[INFO] [stderr]  15 | impl Compiler {
[INFO] [stderr]     | ------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 143 |     fn generate_sitemap(&self, site_content: &SiteContent, generated_files: &mut Vec<PathBuf>) -> Result<(), Box<dyn std::error::Er...
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 179 |     fn generate_robots_txt(&self, generated_files: &mut Vec<PathBuf>) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `success` and `generated_files` are never read
[INFO] [stderr]    --> src/modules/content/compiler.rs:199:9
[INFO] [stderr]     |
[INFO] [stderr] 198 | pub struct CompileResult {
[INFO] [stderr]     |            ------------- fields in this struct
[INFO] [stderr] 199 |     pub success: bool,
[INFO] [stderr]     |         ^^^^^^^
[INFO] [stderr] 200 |     pub generated_files: Vec<PathBuf>,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `CompileResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `process_image_links` is never used
[INFO] [stderr]    --> src/modules/content/markdown.rs:128:8
[INFO] [stderr]     |
[INFO] [stderr] 128 | pub fn process_image_links(html: &str, base_path: &str) -> String {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `render_archive` and `render_admin_base` are never used
[INFO] [stderr]     --> src/modules/content/templates.rs:2066:12
[INFO] [stderr]      |
[INFO] [stderr]   10 | impl TemplateRenderer {
[INFO] [stderr]      | --------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 2066 |     pub fn render_archive(&self, all_items: &Vec<(String, String, String, Option<String>)>, total_items: usize) -> Result<String, ...
[INFO] [stderr]      |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 2083 |     pub fn render_admin_base(&self, active: &str) -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stderr]      |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ExportResponse` is never constructed
[INFO] [stderr]   --> src/modules/web/admin.rs:73:12
[INFO] [stderr]    |
[INFO] [stderr] 73 | pub struct ExportResponse {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CompilerState` is never constructed
[INFO] [stderr]   --> src/modules/web/admin.rs:81:12
[INFO] [stderr]    |
[INFO] [stderr] 81 | pub struct CompilerState {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/modules/web/admin.rs:87:12
[INFO] [stderr]    |
[INFO] [stderr] 86 | impl CompilerState {
[INFO] [stderr]    | ------------------ associated function in this implementation
[INFO] [stderr] 87 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `upload_full_content` is never used
[INFO] [stderr]    --> src/modules/web/admin.rs:917:14
[INFO] [stderr]     |
[INFO] [stderr] 917 | pub async fn upload_full_content(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `upload_incremental_content` is never used
[INFO] [stderr]    --> src/modules/web/admin.rs:931:14
[INFO] [stderr]     |
[INFO] [stderr] 931 | pub async fn upload_incremental_content(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `keyword_index` is never read
[INFO] [stderr]   --> src/modules/web/recommender.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct Recommender {
[INFO] [stderr]    |            ----------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 20 |     keyword_index: HashMap<String, Vec<usize>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `lf_blog` (bin "lf_blog" test) generated 41 warnings (run `cargo fix --bin "lf_blog" -p lf_blog --tests` to apply 25 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lf_blog-c3148f11533d6d4d)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test modules::content::markdown::tests::test_parse_without_frontmatter ... ok
[INFO] [stdout] test modules::content::scanner::tests::test_url_generation ... ok
[INFO] [stdout] test modules::content::markdown::tests::test_parse_markdown ... ok
[INFO] [stdout] test modules::content::theme::tests::test_theme_default ... ok
[INFO] [stdout] test modules::content::theme::tests::test_theme_to_css ... ok
[INFO] [stdout] test modules::database::storage::tests::test_storage_creation ... ok
[INFO] [stdout] test modules::database::storage::tests::test_save_and_get_attachment ... ok
[INFO] [stdout] test modules::database::storage::tests::test_save_and_get_page ... ok
[INFO] [stdout] test modules::database::analytics::tests::test_detect_source ... FAILED
[INFO] [stdout] test modules::database::analytics::tests::test_parse_user_agent ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- modules::database::analytics::tests::test_detect_source stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'modules::database::analytics::tests::test_detect_source' (23) panicked at src/modules/database/analytics.rs:739:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: None
[INFO] [stdout]  right: Some("rust programming")
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5cfe7007798a - std[ec419fa8110287d5]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5cfe7007798a - std[ec419fa8110287d5]::backtrace_rs::backtrace::trace_unsynchronized::<std[ec419fa8110287d5]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5cfe7007798a - std[ec419fa8110287d5]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5cfe7007798a - <<std[ec419fa8110287d5]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[35159d6ffb30e017]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5cfe7008de0a - <core[35159d6ffb30e017]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5cfe7008de0a - core[35159d6ffb30e017]::fmt::write
[INFO] [stdout]    6:     0x5cfe7007c1f2 - std[ec419fa8110287d5]::io::default_write_fmt::<alloc[a8a7aba520129d98]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5cfe7007c1f2 - <alloc[a8a7aba520129d98]::vec::Vec<u8> as std[ec419fa8110287d5]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5cfe700568df - <std[ec419fa8110287d5]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5cfe700568df - std[ec419fa8110287d5]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5cfe7006fd89 - std[ec419fa8110287d5]::panicking::default_hook
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5cfe6fe38fac - <alloc[a8a7aba520129d98]::boxed::Box<dyn for<'a, 'b> core[35159d6ffb30e017]::ops::function::Fn<(&'a std[ec419fa8110287d5]::panic::PanicHookInfo<'b>,), Output = ()> + core[35159d6ffb30e017]::marker::Sync + core[35159d6ffb30e017]::marker::Send> as core[35159d6ffb30e017]::ops::function::Fn<(&std[ec419fa8110287d5]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5cfe6fe38fac - test[a8007afcd3effadc]::test_main_inner::<test[a8007afcd3effadc]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5cfe7006ff42 - <alloc[a8a7aba520129d98]::boxed::Box<dyn for<'a, 'b> core[35159d6ffb30e017]::ops::function::Fn<(&'a std[ec419fa8110287d5]::panic::PanicHookInfo<'b>,), Output = ()> + core[35159d6ffb30e017]::marker::Sync + core[35159d6ffb30e017]::marker::Send> as core[35159d6ffb30e017]::ops::function::Fn<(&std[ec419fa8110287d5]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5cfe7006ff42 - std[ec419fa8110287d5]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5cfe70056998 - std[ec419fa8110287d5]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5cfe7004e289 - std[ec419fa8110287d5]::sys::backtrace::__rust_end_short_backtrace::<std[ec419fa8110287d5]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5cfe700576ad - __rustc[cfb3622dd870db93]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5cfe7008e5cc - core[35159d6ffb30e017]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5cfe7008e483 - core[35159d6ffb30e017]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x5cfe6fdadb70 - core[35159d6ffb30e017]::panicking::assert_failed::<core[35159d6ffb30e017]::option::Option<alloc[a8a7aba520129d98]::string::String>, core[35159d6ffb30e017]::option::Option<alloc[a8a7aba520129d98]::string::String>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x5cfe6fdcd9b5 - lf_blog[2c255d31aee1bc7b]::modules::database::analytics::tests::test_detect_source
[INFO] [stdout]                                at /opt/rustwide/workdir/src/modules/database/analytics.rs:739:9
[INFO] [stdout]   22:     0x5cfe6fdcd5e7 - lf_blog[2c255d31aee1bc7b]::modules::database::analytics::tests::test_detect_source::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/modules/database/analytics.rs:727:28
[INFO] [stdout]   23:     0x5cfe6fdc2736 - <lf_blog[2c255d31aee1bc7b]::modules::database::analytics::tests::test_detect_source::{closure#0} as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5cfe6fe2c28b - <fn() -> core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5cfe6fe2c28b - test[a8007afcd3effadc]::__rust_begin_short_backtrace::<core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>, fn() -> core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:724:18
[INFO] [stdout]   26:     0x5cfe6fe39a7b - test[a8007afcd3effadc]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:747:74
[INFO] [stdout]   27:     0x5cfe6fe39a7b - <core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x5cfe6fe39a7b - std[ec419fa8110287d5]::panicking::catch_unwind::do_call::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}>, core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5cfe6fe39a7b - std[ec419fa8110287d5]::panicking::catch_unwind::<core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>, core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5cfe6fe39a7b - std[ec419fa8110287d5]::panic::catch_unwind::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}>, core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5cfe6fe39a7b - test[a8007afcd3effadc]::run_test_in_process
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:747:27
[INFO] [stdout]   32:     0x5cfe6fe39a7b - test[a8007afcd3effadc]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:668:43
[INFO] [stdout]   33:     0x5cfe6fe34454 - test[a8007afcd3effadc]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:698:41
[INFO] [stdout]   34:     0x5cfe6fe34454 - std[ec419fa8110287d5]::sys::backtrace::__rust_begin_short_backtrace::<test[a8007afcd3effadc]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5cfe6fe3c682 - std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked::<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   36:     0x5cfe6fe3c682 - <core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x5cfe6fe3c682 - std[ec419fa8110287d5]::panicking::catch_unwind::do_call::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5cfe6fe3c682 - std[ec419fa8110287d5]::panicking::catch_unwind::<(), core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5cfe6fe3c682 - std[ec419fa8110287d5]::panic::catch_unwind::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5cfe6fe3c682 - std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked::<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   41:     0x5cfe6fe3c682 - <std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1} as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5cfe7007729f - <alloc[a8a7aba520129d98]::boxed::Box<dyn core[35159d6ffb30e017]::ops::function::FnOnce<(), Output = ()> + core[35159d6ffb30e017]::marker::Send> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   43:     0x5cfe7007729f - <std[ec419fa8110287d5]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7f20124fbaa4 - <unknown>
[INFO] [stdout]   45:     0x7f2012588a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- modules::database::analytics::tests::test_parse_user_agent stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'modules::database::analytics::tests::test_parse_user_agent' (24) panicked at src/modules/database/analytics.rs:723:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "macOS"
[INFO] [stdout]  right: "iOS"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5cfe7007798a - std[ec419fa8110287d5]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5cfe7007798a - std[ec419fa8110287d5]::backtrace_rs::backtrace::trace_unsynchronized::<std[ec419fa8110287d5]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5cfe7007798a - std[ec419fa8110287d5]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5cfe7007798a - <<std[ec419fa8110287d5]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[35159d6ffb30e017]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5cfe7008de0a - <core[35159d6ffb30e017]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5cfe7008de0a - core[35159d6ffb30e017]::fmt::write
[INFO] [stdout]    6:     0x5cfe7007c1f2 - std[ec419fa8110287d5]::io::default_write_fmt::<alloc[a8a7aba520129d98]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5cfe7007c1f2 - <alloc[a8a7aba520129d98]::vec::Vec<u8> as std[ec419fa8110287d5]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5cfe700568df - <std[ec419fa8110287d5]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5cfe700568df - std[ec419fa8110287d5]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5cfe7006fd89 - std[ec419fa8110287d5]::panicking::default_hook
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5cfe6fe38fac - <alloc[a8a7aba520129d98]::boxed::Box<dyn for<'a, 'b> core[35159d6ffb30e017]::ops::function::Fn<(&'a std[ec419fa8110287d5]::panic::PanicHookInfo<'b>,), Output = ()> + core[35159d6ffb30e017]::marker::Sync + core[35159d6ffb30e017]::marker::Send> as core[35159d6ffb30e017]::ops::function::Fn<(&std[ec419fa8110287d5]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5cfe6fe38fac - test[a8007afcd3effadc]::test_main_inner::<test[a8007afcd3effadc]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5cfe7006ff42 - <alloc[a8a7aba520129d98]::boxed::Box<dyn for<'a, 'b> core[35159d6ffb30e017]::ops::function::Fn<(&'a std[ec419fa8110287d5]::panic::PanicHookInfo<'b>,), Output = ()> + core[35159d6ffb30e017]::marker::Sync + core[35159d6ffb30e017]::marker::Send> as core[35159d6ffb30e017]::ops::function::Fn<(&std[ec419fa8110287d5]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5cfe7006ff42 - std[ec419fa8110287d5]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5cfe70056998 - std[ec419fa8110287d5]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5cfe7004e289 - std[ec419fa8110287d5]::sys::backtrace::__rust_end_short_backtrace::<std[ec419fa8110287d5]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5cfe700576ad - __rustc[cfb3622dd870db93]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5cfe7008e5cc - core[35159d6ffb30e017]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5cfe7008e483 - core[35159d6ffb30e017]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x5cfe6fdadbc1 - core[35159d6ffb30e017]::panicking::assert_failed::<alloc[a8a7aba520129d98]::string::String, &str>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x5cfe6fdce2a0 - lf_blog[2c255d31aee1bc7b]::modules::database::analytics::tests::test_parse_user_agent
[INFO] [stdout]                                at /opt/rustwide/workdir/src/modules/database/analytics.rs:723:9
[INFO] [stdout]   22:     0x5cfe6fdcd617 - lf_blog[2c255d31aee1bc7b]::modules::database::analytics::tests::test_parse_user_agent::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/modules/database/analytics.rs:712:31
[INFO] [stdout]   23:     0x5cfe6fdc2776 - <lf_blog[2c255d31aee1bc7b]::modules::database::analytics::tests::test_parse_user_agent::{closure#0} as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5cfe6fe2c28b - <fn() -> core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5cfe6fe2c28b - test[a8007afcd3effadc]::__rust_begin_short_backtrace::<core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>, fn() -> core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:724:18
[INFO] [stdout]   26:     0x5cfe6fe39a7b - test[a8007afcd3effadc]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:747:74
[INFO] [stdout]   27:     0x5cfe6fe39a7b - <core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x5cfe6fe39a7b - std[ec419fa8110287d5]::panicking::catch_unwind::do_call::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}>, core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5cfe6fe39a7b - std[ec419fa8110287d5]::panicking::catch_unwind::<core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>, core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5cfe6fe39a7b - std[ec419fa8110287d5]::panic::catch_unwind::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<test[a8007afcd3effadc]::run_test_in_process::{closure#0}>, core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5cfe6fe39a7b - test[a8007afcd3effadc]::run_test_in_process
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:747:27
[INFO] [stdout]   32:     0x5cfe6fe39a7b - test[a8007afcd3effadc]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:668:43
[INFO] [stdout]   33:     0x5cfe6fe34454 - test[a8007afcd3effadc]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/test/src/lib.rs:698:41
[INFO] [stdout]   34:     0x5cfe6fe34454 - std[ec419fa8110287d5]::sys::backtrace::__rust_begin_short_backtrace::<test[a8007afcd3effadc]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5cfe6fe3c682 - std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked::<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   36:     0x5cfe6fe3c682 - <core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x5cfe6fe3c682 - std[ec419fa8110287d5]::panicking::catch_unwind::do_call::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5cfe6fe3c682 - std[ec419fa8110287d5]::panicking::catch_unwind::<(), core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5cfe6fe3c682 - std[ec419fa8110287d5]::panic::catch_unwind::<core[35159d6ffb30e017]::panic::unwind_safe::AssertUnwindSafe<std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5cfe6fe3c682 - std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked::<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   41:     0x5cfe6fe3c682 - <std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1} as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5cfe7007729f - <alloc[a8a7aba520129d98]::boxed::Box<dyn core[35159d6ffb30e017]::ops::function::FnOnce<(), Output = ()> + core[35159d6ffb30e017]::marker::Send> as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   43:     0x5cfe7007729f - <std[ec419fa8110287d5]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7f20124fbaa4 - <unknown>
[INFO] [stdout]   45:     0x7f2012588a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     modules::database::analytics::tests::test_detect_source
[INFO] [stdout]     modules::database::analytics::tests::test_parse_user_agent
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 8 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin lf_blog`
[INFO] running `Command { std: "docker" "inspect" "bea4a4a875e0310e99a8963ae502d3094bdc4b586908237509149e16eb2b9d8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bea4a4a875e0310e99a8963ae502d3094bdc4b586908237509149e16eb2b9d8f", kill_on_drop: false }`
[INFO] [stdout] bea4a4a875e0310e99a8963ae502d3094bdc4b586908237509149e16eb2b9d8f
