[INFO] cloning repository https://github.com/nehcuh/gitai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nehcuh/gitai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnehcuh%2Fgitai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnehcuh%2Fgitai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ede5bca350e1dce907fb3899b4a60758016c8806 [INFO] building nehcuh/gitai against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnehcuh%2Fgitai" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nehcuh/gitai on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nehcuh/gitai [INFO] finished tweaking git repo https://github.com/nehcuh/gitai [INFO] tweaked toml for git repo https://github.com/nehcuh/gitai written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nehcuh/gitai 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-process v2.3.1 [INFO] [stderr] Downloaded async-object-pool v0.1.5 [INFO] [stderr] Downloaded tree-sitter-highlight v0.25.4 [INFO] [stderr] Downloaded tree-sitter-rust v0.24.0 [INFO] [stderr] Downloaded tree-sitter-java v0.23.5 [INFO] [stderr] Downloaded tree-sitter v0.25.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9154a98ea2bd6b338c468c64aa5420403262d63d305c53d39c55f1716838e024 [INFO] running `Command { std: "docker" "start" "-a" "9154a98ea2bd6b338c468c64aa5420403262d63d305c53d39c55f1716838e024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9154a98ea2bd6b338c468c64aa5420403262d63d305c53d39c55f1716838e024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9154a98ea2bd6b338c468c64aa5420403262d63d305c53d39c55f1716838e024", kill_on_drop: false }` [INFO] [stdout] 9154a98ea2bd6b338c468c64aa5420403262d63d305c53d39c55f1716838e024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dc3c2d79fbbf0b13fdebf89d1d0187c3dcb444be455db03fb9cfc57e038764f [INFO] running `Command { std: "docker" "start" "-a" "0dc3c2d79fbbf0b13fdebf89d1d0187c3dcb444be455db03fb9cfc57e038764f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling tree-sitter-cpp v0.23.4 [INFO] [stderr] Compiling tree-sitter-rust v0.24.0 [INFO] [stderr] Compiling tree-sitter-java v0.23.5 [INFO] [stderr] Compiling tree-sitter-c v0.23.4 [INFO] [stderr] Compiling tree-sitter-go v0.23.4 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling tree-sitter-javascript v0.23.1 [INFO] [stderr] Compiling tree-sitter-python v0.23.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tree-sitter v0.25.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling h2 v0.4.10 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tree-sitter-highlight v0.25.4 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling gitai v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/rust/highlights.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/rust/injections.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/rust/locals.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/javascript/highlights.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/javascript/injections.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/javascript/locals.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/python/highlights.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/python/injections.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/python/locals.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/go/highlights.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/go/injections.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/go/locals.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/java/highlights.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/java/injections.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/java/locals.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/c/highlights.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/c/injections.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/c/locals.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/cpp/highlights.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/cpp/injections.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/cpp/locals.scm [INFO] [stderr] warning: gitai@0.1.0: Tree-sitter 查询文件准备完成 [INFO] [stdout] warning: unused import: `tokio` [INFO] [stdout] --> src/handlers/intelligent_git.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_env_map` is never used [INFO] [stdout] --> src/config.rs:995:4 [INFO] [stdout] | [INFO] [stdout] 995 | fn make_env_map(vars: &[(&str, &str)]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_ai_request` is never used [INFO] [stdout] --> src/handlers/ai.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | async fn execute_ai_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio` [INFO] [stdout] --> src/handlers/intelligent_git.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_age_hours` is never read [INFO] [stdout] --> src/config.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct ReviewConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 220 | pub max_age_hours: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReviewConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_env_map` is never used [INFO] [stdout] --> src/config.rs:995:4 [INFO] [stdout] | [INFO] [stdout] 995 | fn make_env_map(vars: &[(&str, &str)]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_ai_request` is never used [INFO] [stdout] --> src/handlers/ai.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | async fn execute_ai_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_staged_files_status` is never used [INFO] [stdout] --> src/handlers/git.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn get_staged_files_status() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `capture_names`, `important_nodes`, and `scope_indicators` are never read [INFO] [stdout] --> src/tree_sitter_analyzer/analyzer.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct NodeAnalysisConfig { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 33 | pub language: &'static str, [INFO] [stdout] 34 | pub capture_names: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub important_nodes: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub visibility_indicators: &'static [&'static str], [INFO] [stdout] 37 | pub scope_indicators: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeAnalysisConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_project_root` and `set_analysis_depth` are never used [INFO] [stdout] --> src/tree_sitter_analyzer/analyzer.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 405 | impl TreeSitterAnalyzer { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn set_project_root(&mut self, root: PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn set_analysis_depth(&mut self, depth: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_change_stats` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/analyzer.rs:758:8 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn collect_change_stats(affected_nodes: &[AffectedNode]) -> ChangeStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnalysisDepth` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum AnalysisDepth { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalysisDepth` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_range`, `additions`, and `deletions` are never read [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct AffectedNode { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub line_range: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | pub change_type: Option, // 新增:变更类型(added, deleted, modified) [INFO] [stdout] 52 | pub additions: Option>, // 新增:添加的行 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | pub deletions: Option>, // 新增:删除的行 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AffectedNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChangeStats` is never constructed [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChangeStats { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `injections_query` and `locals_query` are never read [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct LanguageConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 150 | pub injections_query: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | pub locals_query: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LanguageConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl LanguageConfig { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn get_full_queries(&self) -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_supported` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl LanguageRegistry { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn is_supported(&self, language: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn get_rust_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_java_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:329:8 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn get_java_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_python_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn get_python_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_go_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn get_go_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_js_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn get_js_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_c_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn get_c_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cpp_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn get_cpp_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn get_rust_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_java_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn get_java_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_python_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:362:8 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn get_python_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_go_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn get_go_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_js_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn get_js_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_c_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn get_c_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cpp_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn get_cpp_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_query_pattern_for_language` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn get_query_pattern_for_language(language: &str) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_full_queries_for_language` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:401:8 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn get_full_queries_for_language( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_supported_languages` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:436:8 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn get_supported_languages() -> &'static [&'static str] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_language_supported` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn is_language_supported(language: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_extensions_for_language` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn get_extensions_for_language(language: &str) -> &'static [&'static str] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/types/git.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct GitDiff { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 155 | pub changed_files: Vec, [INFO] [stdout] 156 | pub metadata: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitDiff` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Renamed` is never constructed [INFO] [stdout] --> src/types/git.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub enum ChangeType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 165 | Renamed, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChangeType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_mode_change` is never read [INFO] [stdout] --> src/types/git.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct ChangedFile { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 177 | pub file_mode_change: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChangedFile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "0dc3c2d79fbbf0b13fdebf89d1d0187c3dcb444be455db03fb9cfc57e038764f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dc3c2d79fbbf0b13fdebf89d1d0187c3dcb444be455db03fb9cfc57e038764f", kill_on_drop: false }` [INFO] [stdout] 0dc3c2d79fbbf0b13fdebf89d1d0187c3dcb444be455db03fb9cfc57e038764f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 440447a13e58e03d846c55ee51ad4ade8ea238bafbba1fad3cc94938003e2e8e [INFO] running `Command { std: "docker" "start" "-a" "440447a13e58e03d846c55ee51ad4ade8ea238bafbba1fad3cc94938003e2e8e", kill_on_drop: false }` [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling polling v3.8.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling async-io v2.4.1 [INFO] [stderr] Compiling async-signal v0.2.11 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-process v2.3.1 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling gitai v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling async-object-pool v0.1.5 [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/rust/highlights.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/rust/injections.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/rust/locals.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/javascript/highlights.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/javascript/injections.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/javascript/locals.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/python/highlights.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/python/injections.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/python/locals.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/go/highlights.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/go/injections.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/go/locals.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/java/highlights.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/java/injections.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/java/locals.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/c/highlights.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/c/injections.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/c/locals.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/cpp/highlights.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/cpp/injections.scm [INFO] [stderr] warning: gitai@0.1.0: 本地文件已存在,跳过下载: /opt/rustwide/workdir/queries/cpp/locals.scm [INFO] [stderr] warning: gitai@0.1.0: Tree-sitter 查询文件准备完成 [INFO] [stdout] warning: unused import: `tokio` [INFO] [stdout] --> src/handlers/intelligent_git.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_env_map` is never used [INFO] [stdout] --> src/config.rs:995:4 [INFO] [stdout] | [INFO] [stdout] 995 | fn make_env_map(vars: &[(&str, &str)]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_ai_request` is never used [INFO] [stdout] --> src/handlers/ai.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | async fn execute_ai_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio` [INFO] [stdout] --> src/handlers/intelligent_git.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling basic-cookies v0.1.5 [INFO] [stderr] Compiling httpmock v0.7.0 [INFO] [stdout] warning: field `max_age_hours` is never read [INFO] [stdout] --> src/config.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct ReviewConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 220 | pub max_age_hours: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReviewConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_env_map` is never used [INFO] [stdout] --> src/config.rs:995:4 [INFO] [stdout] | [INFO] [stdout] 995 | fn make_env_map(vars: &[(&str, &str)]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_ai_request` is never used [INFO] [stdout] --> src/handlers/ai.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | async fn execute_ai_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_staged_files_status` is never used [INFO] [stdout] --> src/handlers/git.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn get_staged_files_status() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `capture_names`, `important_nodes`, and `scope_indicators` are never read [INFO] [stdout] --> src/tree_sitter_analyzer/analyzer.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct NodeAnalysisConfig { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 33 | pub language: &'static str, [INFO] [stdout] 34 | pub capture_names: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub important_nodes: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub visibility_indicators: &'static [&'static str], [INFO] [stdout] 37 | pub scope_indicators: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeAnalysisConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_project_root` and `set_analysis_depth` are never used [INFO] [stdout] --> src/tree_sitter_analyzer/analyzer.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 405 | impl TreeSitterAnalyzer { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn set_project_root(&mut self, root: PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn set_analysis_depth(&mut self, depth: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_change_stats` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/analyzer.rs:758:8 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn collect_change_stats(affected_nodes: &[AffectedNode]) -> ChangeStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnalysisDepth` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum AnalysisDepth { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalysisDepth` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_range`, `additions`, and `deletions` are never read [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct AffectedNode { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub line_range: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | pub change_type: Option, // 新增:变更类型(added, deleted, modified) [INFO] [stdout] 52 | pub additions: Option>, // 新增:添加的行 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | pub deletions: Option>, // 新增:删除的行 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AffectedNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChangeStats` is never constructed [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChangeStats { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `injections_query` and `locals_query` are never read [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct LanguageConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 150 | pub injections_query: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | pub locals_query: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LanguageConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl LanguageConfig { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn get_full_queries(&self) -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_supported` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl LanguageRegistry { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn is_supported(&self, language: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn get_rust_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_java_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:329:8 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn get_java_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_python_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn get_python_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_go_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn get_go_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_js_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn get_js_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_c_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn get_c_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cpp_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn get_cpp_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn get_rust_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_java_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn get_java_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_python_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:362:8 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn get_python_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_go_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn get_go_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_js_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn get_js_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_c_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn get_c_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cpp_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn get_cpp_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_query_pattern_for_language` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn get_query_pattern_for_language(language: &str) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_full_queries_for_language` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:401:8 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn get_full_queries_for_language( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_supported_languages` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:436:8 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn get_supported_languages() -> &'static [&'static str] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_language_supported` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn is_language_supported(language: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_extensions_for_language` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn get_extensions_for_language(language: &str) -> &'static [&'static str] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/types/git.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct GitDiff { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 155 | pub changed_files: Vec, [INFO] [stdout] 156 | pub metadata: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitDiff` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Renamed` is never constructed [INFO] [stdout] --> src/types/git.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub enum ChangeType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 165 | Renamed, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChangeType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_mode_change` is never read [INFO] [stdout] --> src/types/git.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct ChangedFile { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 177 | pub file_mode_change: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChangedFile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_ai_request` is never used [INFO] [stdout] --> src/handlers/ai.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | async fn execute_ai_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_age_hours` is never read [INFO] [stdout] --> src/config.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct ReviewConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 220 | pub max_age_hours: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReviewConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_ai_request` is never used [INFO] [stdout] --> src/handlers/ai.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | async fn execute_ai_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_staged_files_status` is never used [INFO] [stdout] --> src/handlers/git.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn get_staged_files_status() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `capture_names`, `important_nodes`, and `scope_indicators` are never read [INFO] [stdout] --> src/tree_sitter_analyzer/analyzer.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct NodeAnalysisConfig { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 33 | pub language: &'static str, [INFO] [stdout] 34 | pub capture_names: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub important_nodes: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub visibility_indicators: &'static [&'static str], [INFO] [stdout] 37 | pub scope_indicators: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeAnalysisConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_project_root` and `set_analysis_depth` are never used [INFO] [stdout] --> src/tree_sitter_analyzer/analyzer.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 405 | impl TreeSitterAnalyzer { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn set_project_root(&mut self, root: PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn set_analysis_depth(&mut self, depth: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_change_stats` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/analyzer.rs:758:8 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn collect_change_stats(affected_nodes: &[AffectedNode]) -> ChangeStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnalysisDepth` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum AnalysisDepth { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalysisDepth` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_range`, `additions`, and `deletions` are never read [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct AffectedNode { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub line_range: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | pub change_type: Option, // 新增:变更类型(added, deleted, modified) [INFO] [stdout] 52 | pub additions: Option>, // 新增:添加的行 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | pub deletions: Option>, // 新增:删除的行 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AffectedNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChangeStats` is never constructed [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ChangeStats { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `injections_query` and `locals_query` are never read [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct LanguageConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 150 | pub injections_query: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | pub locals_query: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LanguageConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl LanguageConfig { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn get_full_queries(&self) -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_supported` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl LanguageRegistry { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn is_supported(&self, language: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn get_rust_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_java_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:329:8 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn get_java_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_python_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn get_python_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_go_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn get_go_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_js_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn get_js_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_c_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn get_c_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cpp_query_pattern` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn get_cpp_query_pattern() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rust_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn get_rust_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_java_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn get_java_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_python_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:362:8 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn get_python_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_go_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn get_go_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_js_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn get_js_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_c_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn get_c_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cpp_full_queries` is never used [INFO] [stdout] --> src/tree_sitter_analyzer/core.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn get_cpp_full_queries() -> (&'static str, &'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/types/git.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct GitDiff { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 155 | pub changed_files: Vec, [INFO] [stdout] 156 | pub metadata: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitDiff` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Renamed` is never constructed [INFO] [stdout] --> src/types/git.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub enum ChangeType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 165 | Renamed, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChangeType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_mode_change` is never read [INFO] [stdout] --> src/types/git.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct ChangedFile { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 177 | pub file_mode_change: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChangedFile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "440447a13e58e03d846c55ee51ad4ade8ea238bafbba1fad3cc94938003e2e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "440447a13e58e03d846c55ee51ad4ade8ea238bafbba1fad3cc94938003e2e8e", kill_on_drop: false }` [INFO] [stdout] 440447a13e58e03d846c55ee51ad4ade8ea238bafbba1fad3cc94938003e2e8e