[INFO] cloning repository https://github.com/hastur-dev/cargo-fast-lint
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hastur-dev/cargo-fast-lint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhastur-dev%2Fcargo-fast-lint", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhastur-dev%2Fcargo-fast-lint'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 517cb8bb7561c9ddbfad5f62a56db9897936ed71
[INFO] testing hastur-dev/cargo-fast-lint against beta-2026-04-21 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhastur-dev%2Fcargo-fast-lint" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hastur-dev/cargo-fast-lint
[INFO] finished tweaking git repo https://github.com/hastur-dev/cargo-fast-lint
[INFO] tweaked toml for git repo https://github.com/hastur-dev/cargo-fast-lint written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hastur-dev/cargo-fast-lint on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hastur-dev/cargo-fast-lint 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f577ef33257afd5e6f38a8fef663f8b9fc4a3224071217c0778fdfb24c6188ab
[INFO] running `Command { std: "docker" "start" "-a" "f577ef33257afd5e6f38a8fef663f8b9fc4a3224071217c0778fdfb24c6188ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f577ef33257afd5e6f38a8fef663f8b9fc4a3224071217c0778fdfb24c6188ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f577ef33257afd5e6f38a8fef663f8b9fc4a3224071217c0778fdfb24c6188ab", kill_on_drop: false }`
[INFO] [stdout] f577ef33257afd5e6f38a8fef663f8b9fc4a3224071217c0778fdfb24c6188ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 098dcc56ba272306077f115ea828ef70059676f93da2416c3addf0e3b17bd9e8
[INFO] running `Command { std: "docker" "start" "-a" "098dcc56ba272306077f115ea828ef70059676f93da2416c3addf0e3b17bd9e8", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]    Compiling unicode-width v0.2.1
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling clap_builder v4.5.42
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling bstr v1.12.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling memmap2 v0.9.7
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling globset v0.4.16
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling ignore v0.4.23
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling tower-lsp-macros v0.9.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling auto_impl v1.3.0
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.3
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling clap v4.5.42
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling lsp-types v0.94.1
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tower-lsp v0.20.0
[INFO] [stderr]    Compiling cargo-fl v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `IncrementalResults`
[INFO] [stdout]  --> src/analyzer.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::incremental::{IncrementalAnalyzer, IncrementalResults};
[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 imports: `DocTemplateGenerator`, `ImportOrganizer`, and `NamingConventionFixer`
[INFO] [stdout]  --> src/analyzer.rs:6:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::autofix::{AutoFixEngine, ImportOrganizer, NamingConventionFixer, DocTemplateGenerator};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Item` and `ReturnType`
[INFO] [stdout]  --> src/rules/must_use.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{Expr, ExprCall, ExprMethodCall, Item, ItemFn, ReturnType, Attribute, Meta};
[INFO] [stdout]   |                                           ^^^^          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinOp`, `ExprCall`, `ExprIf`, `ExprLet`, `PatIdent`, and `Type`
[INFO] [stdout]  --> src/rules/anti_patterns.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{Expr, ExprMethodCall, ExprCall, Pat, PatIdent, ExprMatch, Type, ExprForLoop, ExprIf, ExprLet, BinOp};
[INFO] [stdout]   |                                 ^^^^^^^^       ^^^^^^^^             ^^^^               ^^^^^^  ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemTime`
[INFO] [stdout]  --> src/cache.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FileMetadata`
[INFO] [stdout]  --> src/incremental.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::cache::{AnalysisCache, FileMetadata};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/autofix.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total_fixes_applied` is never read
[INFO] [stdout]    --> src/analyzer.rs:124:39
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut total_fixes_applied = 0;
[INFO] [stdout]     |                                       ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 140 |             total_fixes_applied = self.autofix_engine.fixes_applied;
[INFO] [stdout]     |             ------------------------------------------------------- `total_fixes_applied` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `else_branch`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:229:25
[INFO] [stdout]     |
[INFO] [stdout] 229 |             if let Some(else_branch) = &if_expr.else_branch {
[INFO] [stdout]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_branch`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:294:26
[INFO] [stdout]     |
[INFO] [stdout] 294 |             if let (Some(start), Some(end)) = (&range.start, &range.end) {
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:294:39
[INFO] [stdout]     |
[INFO] [stdout] 294 |             if let (Some(start), Some(end)) = (&range.start, &range.end) {
[INFO] [stdout]     |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_hash`
[INFO] [stdout]   --> src/ast_cache.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let file_hash = Self::compute_file_hash(&content);
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `issue`
[INFO] [stdout]   --> src/autofix.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         issue: &Issue,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_issue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cleaned`
[INFO] [stdout]    --> src/autofix.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let cleaned = import_str.replace(" ", "").replace("\n", "");
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cleaned`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut skip_import_lines: std::collections::HashSet<usize> = std::collections::HashSet::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut first_use_line: Option<usize> = None;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut in_import_region = false;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `use_positions`
[INFO] [stdout]    --> src/autofix.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |         use_positions: &[usize],
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_positions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `skip_import_lines`
[INFO] [stdout]    --> src/autofix.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut skip_import_lines: std::collections::HashSet<usize> = std::collections::HashSet::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_import_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_use_line`
[INFO] [stdout]    --> src/autofix.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut first_use_line: Option<usize> = None;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_use_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_import_region`
[INFO] [stdout]    --> src/autofix.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut in_import_region = false;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_import_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_idx`
[INFO] [stdout]    --> src/autofix.rs:214:14
[INFO] [stdout]     |
[INFO] [stdout] 214 |         for (line_idx, line) in lines.iter().enumerate() {
[INFO] [stdout]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_result_ignored` is never used
[INFO] [stdout]   --> src/rules/must_use.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<'a> MustUseVisitor<'a> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn is_result_ignored(&self, parent_expr: Option<&Expr>) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `builder` is never read
[INFO] [stdout]  --> src/walker.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct RustFileWalker {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 5 |     builder: WalkBuilder,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/incremental.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct IncrementalAnalyzer {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] 10 |     config: Arc<Config>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `evict_oldest` is never used
[INFO] [stdout]    --> src/ast_cache.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout]  52 | impl ASTCache {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     fn evict_oldest(&self, cache: &mut AHashMap<PathBuf, CachedAST>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IncrementalResults`
[INFO] [stdout]  --> src/analyzer.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::incremental::{IncrementalAnalyzer, IncrementalResults};
[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 imports: `DocTemplateGenerator`, `ImportOrganizer`, and `NamingConventionFixer`
[INFO] [stdout]  --> src/analyzer.rs:6:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::autofix::{AutoFixEngine, ImportOrganizer, NamingConventionFixer, DocTemplateGenerator};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Item` and `ReturnType`
[INFO] [stdout]  --> src/rules/must_use.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{Expr, ExprCall, ExprMethodCall, Item, ItemFn, ReturnType, Attribute, Meta};
[INFO] [stdout]   |                                           ^^^^          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinOp`, `ExprCall`, `ExprIf`, `ExprLet`, `PatIdent`, and `Type`
[INFO] [stdout]  --> src/rules/anti_patterns.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{Expr, ExprMethodCall, ExprCall, Pat, PatIdent, ExprMatch, Type, ExprForLoop, ExprIf, ExprLet, BinOp};
[INFO] [stdout]   |                                 ^^^^^^^^       ^^^^^^^^             ^^^^               ^^^^^^  ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemTime`
[INFO] [stdout]  --> src/cache.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FileMetadata`
[INFO] [stdout]  --> src/incremental.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::cache::{AnalysisCache, FileMetadata};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/autofix.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/lsp_server.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Backend {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     config: Mutex<Config>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total_fixes_applied` is never read
[INFO] [stdout]    --> src/analyzer.rs:124:39
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut total_fixes_applied = 0;
[INFO] [stdout]     |                                       ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 140 |             total_fixes_applied = self.autofix_engine.fixes_applied;
[INFO] [stdout]     |             ------------------------------------------------------- `total_fixes_applied` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `else_branch`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:229:25
[INFO] [stdout]     |
[INFO] [stdout] 229 |             if let Some(else_branch) = &if_expr.else_branch {
[INFO] [stdout]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_branch`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:294:26
[INFO] [stdout]     |
[INFO] [stdout] 294 |             if let (Some(start), Some(end)) = (&range.start, &range.end) {
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:294:39
[INFO] [stdout]     |
[INFO] [stdout] 294 |             if let (Some(start), Some(end)) = (&range.start, &range.end) {
[INFO] [stdout]     |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_hash`
[INFO] [stdout]   --> src/ast_cache.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let file_hash = Self::compute_file_hash(&content);
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `issue`
[INFO] [stdout]   --> src/autofix.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         issue: &Issue,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_issue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cleaned`
[INFO] [stdout]    --> src/autofix.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let cleaned = import_str.replace(" ", "").replace("\n", "");
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cleaned`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut skip_import_lines: std::collections::HashSet<usize> = std::collections::HashSet::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut first_use_line: Option<usize> = None;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut in_import_region = false;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `use_positions`
[INFO] [stdout]    --> src/autofix.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |         use_positions: &[usize],
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_positions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `skip_import_lines`
[INFO] [stdout]    --> src/autofix.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut skip_import_lines: std::collections::HashSet<usize> = std::collections::HashSet::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_import_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_use_line`
[INFO] [stdout]    --> src/autofix.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut first_use_line: Option<usize> = None;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_use_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_import_region`
[INFO] [stdout]    --> src/autofix.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut in_import_region = false;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_import_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_idx`
[INFO] [stdout]    --> src/autofix.rs:214:14
[INFO] [stdout]     |
[INFO] [stdout] 214 |         for (line_idx, line) in lines.iter().enumerate() {
[INFO] [stdout]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `analyze_file` is never used
[INFO] [stdout]    --> src/analyzer.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout]  47 | impl Analyzer {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 227 |     pub fn analyze_file(&self, path: &Path) -> AnalysisResults {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cache_hit_rate`, `analysis_time_ms`, `fixes_applied`, and `has_fixes` are never used
[INFO] [stdout]    --> src/analyzer.rs:292:12
[INFO] [stdout]     |
[INFO] [stdout] 271 | impl AnalysisResults {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 292 |     pub fn cache_hit_rate(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 299 |     pub fn analysis_time_ms(&self) -> u128 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |     pub fn fixes_applied(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |     pub fn has_fixes(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `file_path` is never read
[INFO] [stdout]   --> src/rules/mod.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct RuleContext {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 65 |     pub file_path: PathBuf,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `report_issue` is never used
[INFO] [stdout]   --> src/rules/mod.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl RuleContext {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub fn report_issue(&mut self, rule: &str, severity: Severity, message: String, location: Location, fix: Option<Fix>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_result_ignored` is never used
[INFO] [stdout]   --> src/rules/must_use.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<'a> MustUseVisitor<'a> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn is_result_ignored(&self, parent_expr: Option<&Expr>) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `builder` is never read
[INFO] [stdout]  --> src/walker.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct RustFileWalker {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 5 |     builder: WalkBuilder,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove_file` and `cache_stats` are never used
[INFO] [stdout]    --> src/cache.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl AnalysisCache {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn remove_file(&mut self, path: &Path) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn cache_stats(&self) -> CacheStats {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CacheStats` is never constructed
[INFO] [stdout]    --> src/cache.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub struct CacheStats {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/incremental.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct IncrementalAnalyzer {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] 10 |     config: Arc<Config>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `invalidate_file`, `get_cache_stats`, and `save_cache` are never used
[INFO] [stdout]    --> src/incremental.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl IncrementalAnalyzer {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn invalidate_file(&mut self, path: &Path) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn get_cache_stats(&self) -> crate::cache::CacheStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn save_cache(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `total_issues` is never used
[INFO] [stdout]    --> src/incremental.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl IncrementalResults {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn total_issues(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_cache_size` is never read
[INFO] [stdout]   --> src/ast_cache.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct ASTCache {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     max_cache_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `evict_oldest`, `invalidate`, `clear`, and `cache_stats` are never used
[INFO] [stdout]    --> src/ast_cache.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout]  52 | impl ASTCache {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     fn evict_oldest(&self, cache: &mut AHashMap<PathBuf, CachedAST>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn invalidate(&self, path: &Path) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn clear(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub fn cache_stats(&self) -> Result<ASTCacheStats, Box<dyn std::error::Error + '_>> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ASTCacheStats` is never constructed
[INFO] [stdout]    --> src/ast_cache.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub struct ASTCacheStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ImportOrganizer` is never constructed
[INFO] [stdout]   --> src/autofix.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct ImportOrganizer {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/autofix.rs:76:12
[INFO] [stdout]     |
[INFO] [stdout]  75 | impl ImportOrganizer {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout]  76 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub fn organize_imports(&self, content: &str) -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn group_and_sort_imports(&self, use_items: Vec<ItemUse>) -> Result<Vec<String>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     fn is_std_import(&self, use_item: &ItemUse) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     fn is_external_import(&self, use_item: &ItemUse) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 |     fn use_tree_to_string(&self, tree: &UseTree) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     fn reconstruct_file_with_organized_imports(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn create_import_fix(&self, content: &str) -> Result<Option<Fix>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NamingConventionFixer` is never constructed
[INFO] [stdout]    --> src/autofix.rs:263:12
[INFO] [stdout]     |
[INFO] [stdout] 263 | pub struct NamingConventionFixer;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `create_snake_case_fix`, `create_pascal_case_fix`, `to_snake_case`, and `to_pascal_case` are never used
[INFO] [stdout]    --> src/autofix.rs:266:12
[INFO] [stdout]     |
[INFO] [stdout] 265 | impl NamingConventionFixer {
[INFO] [stdout]     | -------------------------- associated items in this implementation
[INFO] [stdout] 266 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub fn create_snake_case_fix(&self, identifier: &str, location: &Location) -> Option<Fix> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 287 |     pub fn create_pascal_case_fix(&self, identifier: &str, location: &Location) -> Option<Fix> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 304 |     fn to_snake_case(&self, s: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 322 |     fn to_pascal_case(&self, s: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DocTemplateGenerator` is never constructed
[INFO] [stdout]    --> src/autofix.rs:342:12
[INFO] [stdout]     |
[INFO] [stdout] 342 | pub struct DocTemplateGenerator;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `generate_function_doc_fix`, `generate_struct_doc_fix`, `generate_function_description`, and `generate_struct_description` are never used
[INFO] [stdout]    --> src/autofix.rs:345:12
[INFO] [stdout]     |
[INFO] [stdout] 344 | impl DocTemplateGenerator {
[INFO] [stdout]     | ------------------------- associated items in this implementation
[INFO] [stdout] 345 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 349 |     pub fn generate_function_doc_fix(&self, fn_name: &str, location: &Location, has_params: bool, has_return: bool) -> Fix {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 388 |     pub fn generate_struct_doc_fix(&self, struct_name: &str, location: &Location) -> Fix {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 405 |     fn generate_function_description(&self, fn_name: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 422 |     fn generate_struct_description(&self, struct_name: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s
[INFO] running `Command { std: "docker" "inspect" "098dcc56ba272306077f115ea828ef70059676f93da2416c3addf0e3b17bd9e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "098dcc56ba272306077f115ea828ef70059676f93da2416c3addf0e3b17bd9e8", kill_on_drop: false }`
[INFO] [stdout] 098dcc56ba272306077f115ea828ef70059676f93da2416c3addf0e3b17bd9e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7acdec9bbe3e3b163592eac3fdd8a24ea98fa9293d5f1e0b3363b1d62f5c09d6
[INFO] running `Command { std: "docker" "start" "-a" "7acdec9bbe3e3b163592eac3fdd8a24ea98fa9293d5f1e0b3363b1d62f5c09d6", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling lsp-types v0.94.1
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tower-lsp v0.20.0
[INFO] [stderr]    Compiling cargo-fl v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `IncrementalResults`
[INFO] [stdout]  --> src/analyzer.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::incremental::{IncrementalAnalyzer, IncrementalResults};
[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 imports: `DocTemplateGenerator`, `ImportOrganizer`, and `NamingConventionFixer`
[INFO] [stdout]  --> src/analyzer.rs:6:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::autofix::{AutoFixEngine, ImportOrganizer, NamingConventionFixer, DocTemplateGenerator};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Item` and `ReturnType`
[INFO] [stdout]  --> src/rules/must_use.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{Expr, ExprCall, ExprMethodCall, Item, ItemFn, ReturnType, Attribute, Meta};
[INFO] [stdout]   |                                           ^^^^          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinOp`, `ExprCall`, `ExprIf`, `ExprLet`, `PatIdent`, and `Type`
[INFO] [stdout]  --> src/rules/anti_patterns.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{Expr, ExprMethodCall, ExprCall, Pat, PatIdent, ExprMatch, Type, ExprForLoop, ExprIf, ExprLet, BinOp};
[INFO] [stdout]   |                                 ^^^^^^^^       ^^^^^^^^             ^^^^               ^^^^^^  ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemTime`
[INFO] [stdout]  --> src/cache.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FileMetadata`
[INFO] [stdout]  --> src/incremental.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::cache::{AnalysisCache, FileMetadata};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/autofix.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IncrementalResults`
[INFO] [stdout]  --> src/analyzer.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::incremental::{IncrementalAnalyzer, IncrementalResults};
[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 imports: `DocTemplateGenerator`, `ImportOrganizer`, and `NamingConventionFixer`
[INFO] [stdout]  --> src/analyzer.rs:6:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::autofix::{AutoFixEngine, ImportOrganizer, NamingConventionFixer, DocTemplateGenerator};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Item` and `ReturnType`
[INFO] [stdout]  --> src/rules/must_use.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{Expr, ExprCall, ExprMethodCall, Item, ItemFn, ReturnType, Attribute, Meta};
[INFO] [stdout]   |                                           ^^^^          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinOp`, `ExprCall`, `ExprIf`, `ExprLet`, `PatIdent`, and `Type`
[INFO] [stdout]  --> src/rules/anti_patterns.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{Expr, ExprMethodCall, ExprCall, Pat, PatIdent, ExprMatch, Type, ExprForLoop, ExprIf, ExprLet, BinOp};
[INFO] [stdout]   |                                 ^^^^^^^^       ^^^^^^^^             ^^^^               ^^^^^^  ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemTime`
[INFO] [stdout]  --> src/cache.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FileMetadata`
[INFO] [stdout]  --> src/incremental.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::cache::{AnalysisCache, FileMetadata};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/autofix.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total_fixes_applied` is never read
[INFO] [stdout]    --> src/analyzer.rs:124:39
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut total_fixes_applied = 0;
[INFO] [stdout]     |                                       ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 140 |             total_fixes_applied = self.autofix_engine.fixes_applied;
[INFO] [stdout]     |             ------------------------------------------------------- `total_fixes_applied` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `else_branch`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:229:25
[INFO] [stdout]     |
[INFO] [stdout] 229 |             if let Some(else_branch) = &if_expr.else_branch {
[INFO] [stdout]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_branch`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:294:26
[INFO] [stdout]     |
[INFO] [stdout] 294 |             if let (Some(start), Some(end)) = (&range.start, &range.end) {
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:294:39
[INFO] [stdout]     |
[INFO] [stdout] 294 |             if let (Some(start), Some(end)) = (&range.start, &range.end) {
[INFO] [stdout]     |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total_fixes_applied` is never read
[INFO] [stdout]    --> src/analyzer.rs:124:39
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut total_fixes_applied = 0;
[INFO] [stdout]     |                                       ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 140 |             total_fixes_applied = self.autofix_engine.fixes_applied;
[INFO] [stdout]     |             ------------------------------------------------------- `total_fixes_applied` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_hash`
[INFO] [stdout]   --> src/ast_cache.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let file_hash = Self::compute_file_hash(&content);
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `issue`
[INFO] [stdout]   --> src/autofix.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         issue: &Issue,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_issue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cleaned`
[INFO] [stdout]    --> src/autofix.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let cleaned = import_str.replace(" ", "").replace("\n", "");
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cleaned`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut skip_import_lines: std::collections::HashSet<usize> = std::collections::HashSet::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut first_use_line: Option<usize> = None;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut in_import_region = false;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `use_positions`
[INFO] [stdout]    --> src/autofix.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |         use_positions: &[usize],
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_positions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `skip_import_lines`
[INFO] [stdout]    --> src/autofix.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut skip_import_lines: std::collections::HashSet<usize> = std::collections::HashSet::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_import_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_use_line`
[INFO] [stdout]    --> src/autofix.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut first_use_line: Option<usize> = None;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_use_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_import_region`
[INFO] [stdout]    --> src/autofix.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut in_import_region = false;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_import_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_idx`
[INFO] [stdout]    --> src/autofix.rs:214:14
[INFO] [stdout]     |
[INFO] [stdout] 214 |         for (line_idx, line) in lines.iter().enumerate() {
[INFO] [stdout]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_result_ignored` is never used
[INFO] [stdout]   --> src/rules/must_use.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<'a> MustUseVisitor<'a> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn is_result_ignored(&self, parent_expr: Option<&Expr>) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `builder` is never read
[INFO] [stdout]  --> src/walker.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct RustFileWalker {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 5 |     builder: WalkBuilder,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/incremental.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct IncrementalAnalyzer {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] 10 |     config: Arc<Config>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `evict_oldest` is never used
[INFO] [stdout]    --> src/ast_cache.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout]  52 | impl ASTCache {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     fn evict_oldest(&self, cache: &mut AHashMap<PathBuf, CachedAST>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `else_branch`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:229:25
[INFO] [stdout]     |
[INFO] [stdout] 229 |             if let Some(else_branch) = &if_expr.else_branch {
[INFO] [stdout]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_branch`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:294:26
[INFO] [stdout]     |
[INFO] [stdout] 294 |             if let (Some(start), Some(end)) = (&range.start, &range.end) {
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:294:39
[INFO] [stdout]     |
[INFO] [stdout] 294 |             if let (Some(start), Some(end)) = (&range.start, &range.end) {
[INFO] [stdout]     |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_hash`
[INFO] [stdout]   --> src/ast_cache.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let file_hash = Self::compute_file_hash(&content);
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `issue`
[INFO] [stdout]   --> src/autofix.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         issue: &Issue,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_issue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cleaned`
[INFO] [stdout]    --> src/autofix.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let cleaned = import_str.replace(" ", "").replace("\n", "");
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cleaned`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut skip_import_lines: std::collections::HashSet<usize> = std::collections::HashSet::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut first_use_line: Option<usize> = None;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut in_import_region = false;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `use_positions`
[INFO] [stdout]    --> src/autofix.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |         use_positions: &[usize],
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_positions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `skip_import_lines`
[INFO] [stdout]    --> src/autofix.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut skip_import_lines: std::collections::HashSet<usize> = std::collections::HashSet::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_import_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_use_line`
[INFO] [stdout]    --> src/autofix.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut first_use_line: Option<usize> = None;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_use_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_import_region`
[INFO] [stdout]    --> src/autofix.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut in_import_region = false;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_import_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_idx`
[INFO] [stdout]    --> src/autofix.rs:214:14
[INFO] [stdout]     |
[INFO] [stdout] 214 |         for (line_idx, line) in lines.iter().enumerate() {
[INFO] [stdout]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_result_ignored` is never used
[INFO] [stdout]   --> src/rules/must_use.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<'a> MustUseVisitor<'a> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn is_result_ignored(&self, parent_expr: Option<&Expr>) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `builder` is never read
[INFO] [stdout]  --> src/walker.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct RustFileWalker {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 5 |     builder: WalkBuilder,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/incremental.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct IncrementalAnalyzer {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] 10 |     config: Arc<Config>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `evict_oldest` is never used
[INFO] [stdout]    --> src/ast_cache.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout]  52 | impl ASTCache {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     fn evict_oldest(&self, cache: &mut AHashMap<PathBuf, CachedAST>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `demo`
[INFO] [stdout]   --> examples/demo.rs:25:2
[INFO] [stdout]    |
[INFO] [stdout] 25 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `examples/demo.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> examples/demo.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     todo!("Implement this function");
[INFO] [stdout]    |     -------------------------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 14 |     vec![1, 2, 3].iter().map(|x| x * 2);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cargo-fl` (example "demo") due to 1 previous error; 2 warnings emitted
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]  --> examples/demo.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let value = map.get("key").unwrap();
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IncrementalResults`
[INFO] [stdout]  --> src/analyzer.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::incremental::{IncrementalAnalyzer, IncrementalResults};
[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 imports: `DocTemplateGenerator`, `ImportOrganizer`, and `NamingConventionFixer`
[INFO] [stdout]  --> src/analyzer.rs:6:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::autofix::{AutoFixEngine, ImportOrganizer, NamingConventionFixer, DocTemplateGenerator};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Item` and `ReturnType`
[INFO] [stdout]  --> src/rules/must_use.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{Expr, ExprCall, ExprMethodCall, Item, ItemFn, ReturnType, Attribute, Meta};
[INFO] [stdout]   |                                           ^^^^          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinOp`, `ExprCall`, `ExprIf`, `ExprLet`, `PatIdent`, and `Type`
[INFO] [stdout]  --> src/rules/anti_patterns.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{Expr, ExprMethodCall, ExprCall, Pat, PatIdent, ExprMatch, Type, ExprForLoop, ExprIf, ExprLet, BinOp};
[INFO] [stdout]   |                                 ^^^^^^^^       ^^^^^^^^             ^^^^               ^^^^^^  ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemTime`
[INFO] [stdout]  --> src/cache.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FileMetadata`
[INFO] [stdout]  --> src/incremental.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::cache::{AnalysisCache, FileMetadata};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/autofix.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/lsp_server.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Backend {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     config: Mutex<Config>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total_fixes_applied` is never read
[INFO] [stdout]    --> src/analyzer.rs:124:39
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut total_fixes_applied = 0;
[INFO] [stdout]     |                                       ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 140 |             total_fixes_applied = self.autofix_engine.fixes_applied;
[INFO] [stdout]     |             ------------------------------------------------------- `total_fixes_applied` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `else_branch`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:229:25
[INFO] [stdout]     |
[INFO] [stdout] 229 |             if let Some(else_branch) = &if_expr.else_branch {
[INFO] [stdout]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_branch`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:294:26
[INFO] [stdout]     |
[INFO] [stdout] 294 |             if let (Some(start), Some(end)) = (&range.start, &range.end) {
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> src/rules/anti_patterns.rs:294:39
[INFO] [stdout]     |
[INFO] [stdout] 294 |             if let (Some(start), Some(end)) = (&range.start, &range.end) {
[INFO] [stdout]     |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_hash`
[INFO] [stdout]   --> src/ast_cache.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let file_hash = Self::compute_file_hash(&content);
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `issue`
[INFO] [stdout]   --> src/autofix.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         issue: &Issue,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_issue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cleaned`
[INFO] [stdout]    --> src/autofix.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let cleaned = import_str.replace(" ", "").replace("\n", "");
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cleaned`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut skip_import_lines: std::collections::HashSet<usize> = std::collections::HashSet::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut first_use_line: Option<usize> = None;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autofix.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut in_import_region = false;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `use_positions`
[INFO] [stdout]    --> src/autofix.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |         use_positions: &[usize],
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_positions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `skip_import_lines`
[INFO] [stdout]    --> src/autofix.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut skip_import_lines: std::collections::HashSet<usize> = std::collections::HashSet::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_import_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_use_line`
[INFO] [stdout]    --> src/autofix.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut first_use_line: Option<usize> = None;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_use_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_import_region`
[INFO] [stdout]    --> src/autofix.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut in_import_region = false;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_import_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_idx`
[INFO] [stdout]    --> src/autofix.rs:214:14
[INFO] [stdout]     |
[INFO] [stdout] 214 |         for (line_idx, line) in lines.iter().enumerate() {
[INFO] [stdout]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `analyze_file` is never used
[INFO] [stdout]    --> src/analyzer.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout]  47 | impl Analyzer {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 227 |     pub fn analyze_file(&self, path: &Path) -> AnalysisResults {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cache_hit_rate`, `analysis_time_ms`, `fixes_applied`, and `has_fixes` are never used
[INFO] [stdout]    --> src/analyzer.rs:292:12
[INFO] [stdout]     |
[INFO] [stdout] 271 | impl AnalysisResults {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 292 |     pub fn cache_hit_rate(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 299 |     pub fn analysis_time_ms(&self) -> u128 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |     pub fn fixes_applied(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |     pub fn has_fixes(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `file_path` is never read
[INFO] [stdout]   --> src/rules/mod.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct RuleContext {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 65 |     pub file_path: PathBuf,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `report_issue` is never used
[INFO] [stdout]   --> src/rules/mod.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl RuleContext {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub fn report_issue(&mut self, rule: &str, severity: Severity, message: String, location: Location, fix: Option<Fix>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_result_ignored` is never used
[INFO] [stdout]   --> src/rules/must_use.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<'a> MustUseVisitor<'a> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn is_result_ignored(&self, parent_expr: Option<&Expr>) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `builder` is never read
[INFO] [stdout]  --> src/walker.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct RustFileWalker {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 5 |     builder: WalkBuilder,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove_file` and `cache_stats` are never used
[INFO] [stdout]    --> src/cache.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl AnalysisCache {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn remove_file(&mut self, path: &Path) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn cache_stats(&self) -> CacheStats {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CacheStats` is never constructed
[INFO] [stdout]    --> src/cache.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub struct CacheStats {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/incremental.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct IncrementalAnalyzer {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] 10 |     config: Arc<Config>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `invalidate_file`, `get_cache_stats`, and `save_cache` are never used
[INFO] [stdout]    --> src/incremental.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl IncrementalAnalyzer {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn invalidate_file(&mut self, path: &Path) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn get_cache_stats(&self) -> crate::cache::CacheStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn save_cache(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `total_issues` is never used
[INFO] [stdout]    --> src/incremental.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl IncrementalResults {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn total_issues(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `evict_oldest`, `invalidate`, and `clear` are never used
[INFO] [stdout]    --> src/ast_cache.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout]  52 | impl ASTCache {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     fn evict_oldest(&self, cache: &mut AHashMap<PathBuf, CachedAST>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn invalidate(&self, path: &Path) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn clear(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `avg_ast_size` and `max_cache_size` are never read
[INFO] [stdout]    --> src/ast_cache.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub struct ASTCacheStats {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 200 |     pub avg_ast_size: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 201 |     pub max_cache_size: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ASTCacheStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `preserve_comments` and `group_external_crates` are never read
[INFO] [stdout]   --> src/autofix.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct ImportOrganizer {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 70 |     pub preserve_comments: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 71 |     pub group_external_crates: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `create_import_fix` is never used
[INFO] [stdout]    --> src/autofix.rs:240:12
[INFO] [stdout]     |
[INFO] [stdout]  75 | impl ImportOrganizer {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn create_import_fix(&self, content: &str) -> Result<Option<Fix>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `create_snake_case_fix` and `create_pascal_case_fix` are never used
[INFO] [stdout]    --> src/autofix.rs:270:12
[INFO] [stdout]     |
[INFO] [stdout] 265 | impl NamingConventionFixer {
[INFO] [stdout]     | -------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub fn create_snake_case_fix(&self, identifier: &str, location: &Location) -> Option<Fix> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 287 |     pub fn create_pascal_case_fix(&self, identifier: &str, location: &Location) -> Option<Fix> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DocTemplateGenerator` is never constructed
[INFO] [stdout]    --> src/autofix.rs:342:12
[INFO] [stdout]     |
[INFO] [stdout] 342 | pub struct DocTemplateGenerator;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `generate_function_doc_fix`, `generate_struct_doc_fix`, `generate_function_description`, and `generate_struct_description` are never used
[INFO] [stdout]    --> src/autofix.rs:345:12
[INFO] [stdout]     |
[INFO] [stdout] 344 | impl DocTemplateGenerator {
[INFO] [stdout]     | ------------------------- associated items in this implementation
[INFO] [stdout] 345 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 349 |     pub fn generate_function_doc_fix(&self, fn_name: &str, location: &Location, has_params: bool, has_return: bool) -> Fix {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 388 |     pub fn generate_struct_doc_fix(&self, struct_name: &str, location: &Location) -> Fix {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 405 |     fn generate_function_description(&self, fn_name: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 422 |     fn generate_struct_description(&self, struct_name: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7acdec9bbe3e3b163592eac3fdd8a24ea98fa9293d5f1e0b3363b1d62f5c09d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7acdec9bbe3e3b163592eac3fdd8a24ea98fa9293d5f1e0b3363b1d62f5c09d6", kill_on_drop: false }`
[INFO] [stdout] 7acdec9bbe3e3b163592eac3fdd8a24ea98fa9293d5f1e0b3363b1d62f5c09d6
