[INFO] cloning repository https://github.com/tree-sitter-perl/perl-tree-sitter-lsp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tree-sitter-perl/perl-tree-sitter-lsp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftree-sitter-perl%2Fperl-tree-sitter-lsp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftree-sitter-perl%2Fperl-tree-sitter-lsp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16b0471d62cf56c566570e74f5f66a28768dd344 [INFO] checking tree-sitter-perl/perl-tree-sitter-lsp against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftree-sitter-perl%2Fperl-tree-sitter-lsp" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tree-sitter-perl/perl-tree-sitter-lsp [INFO] finished tweaking git repo https://github.com/tree-sitter-perl/perl-tree-sitter-lsp [INFO] tweaked toml for git repo https://github.com/tree-sitter-perl/perl-tree-sitter-lsp written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tree-sitter-perl/perl-tree-sitter-lsp on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tree-sitter-perl/perl-tree-sitter-lsp 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ts-parser-pod v1.0.0 [INFO] [stderr] Downloaded tree-sitter-cmake v0.7.1 [INFO] [stderr] Downloaded thin-vec v0.2.16 [INFO] [stderr] Downloaded rhai_codegen v3.1.0 [INFO] [stderr] Downloaded tree-sitter-r v1.2.0 [INFO] [stderr] Downloaded rhai v1.24.0 [INFO] [stderr] Downloaded tokio v1.52.0 [INFO] [stderr] Downloaded ts-parser-perl v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6e45281e623a3b5eb0e6d3145244ee713f20e7c38a2d2f21d71c6b1f63b0099a [INFO] running `Command { std: "docker" "start" "6e45281e623a3b5eb0e6d3145244ee713f20e7c38a2d2f21d71c6b1f63b0099a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e45281e623a3b5eb0e6d3145244ee713f20e7c38a2d2f21d71c6b1f63b0099a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6e45281e623a3b5eb0e6d3145244ee713f20e7c38a2d2f21d71c6b1f63b0099a" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e45281e623a3b5eb0e6d3145244ee713f20e7c38a2d2f21d71c6b1f63b0099a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6e45281e623a3b5eb0e6d3145244ee713f20e7c38a2d2f21d71c6b1f63b0099a" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling tree-sitter-language v0.1.7 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking yoke v0.8.2 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling rhai_codegen v3.1.0 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking jiff v0.2.23 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Compiling perl-lsp v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking thin-vec v0.2.16 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking tokio v1.52.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rhai v1.24.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling ts-parser-perl v2.0.0 [INFO] [stderr] Compiling ts-parser-pod v1.0.0 [INFO] [stderr] Compiling tree-sitter-c v0.24.2 [INFO] [stderr] Compiling tree-sitter-python v0.25.0 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling tree-sitter-r v1.2.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling tree-sitter-cmake v0.7.1 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Compiling tree-sitter-cpp v0.23.4 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking env_filter v1.0.1 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Checking env_logger v0.11.10 [INFO] [stderr] Compiling tree-sitter v0.25.10 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking rusqlite v0.32.1 [INFO] [stdout] warning: unused import: `crate::index::module_cache::Generation` [INFO] [stdout] --> src/index/conclusion_flush.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::index::module_cache::Generation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::file_analysis::FileAnalysis` [INFO] [stdout] --> src/index/module_cache/blob.rs:883:9 [INFO] [stdout] | [INFO] [stdout] 883 | use crate::model::file_analysis::FileAnalysis; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CrossFileLookup` [INFO] [stdout] --> src/index/module_index/module_index_tests.rs:2243:39 [INFO] [stdout] | [INFO] [stdout] 2243 | use crate::model::file_analysis::{CrossFileLookup, MethodResolution, SymKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::index::module_cache::Generation` [INFO] [stdout] --> src/index/conclusion_flush.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::index::module_cache::Generation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/index/pack_bag_cache.rs:249:28 [INFO] [stdout] | [INFO] [stdout] 249 | let _ = self.bytes.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |b| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 249 - let _ = self.bytes.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |b| { [INFO] [stdout] 249 + let _ = self.bytes.try_update(Ordering::Relaxed, Ordering::Relaxed, |b| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/index/pack_bag_cache.rs:249:28 [INFO] [stdout] | [INFO] [stdout] 249 | let _ = self.bytes.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |b| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 249 - let _ = self.bytes.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |b| { [INFO] [stdout] 249 + let _ = self.bytes.try_update(Ordering::Relaxed, Ordering::Relaxed, |b| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lsp/cli/query.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | let mut item_json = |sources: &mut SourceCache, it: &resolve::HierarchyItem| { [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/lsp/cli/query.rs:636:21 [INFO] [stdout] | [INFO] [stdout] 636 | let mut edge_json = |sources: &mut SourceCache, [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/lsp/symbols/completion.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 558 | let mut items: Vec = [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CrossFileLookup` [INFO] [stdout] --> src/index/module_index/module_index_tests.rs:2117:39 [INFO] [stdout] | [INFO] [stdout] 2117 | use crate::model::file_analysis::{CrossFileLookup, MethodResolution}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `walk_block_package_scoped` is never used [INFO] [stdout] --> src/build/builder/visit_decl.rs:462:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> Builder<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 462 | pub(super) fn walk_block_package_scoped(&mut self, node: Node<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Beta` and `Alpha` are never constructed [INFO] [stdout] --> src/build/language_driver.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub enum Maturity { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 175 | Stable, [INFO] [stdout] 176 | Beta, [INFO] [stdout] | ^^^^ [INFO] [stdout] 177 | Alpha, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Maturity` 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 `ids` is never used [INFO] [stdout] --> src/build/language_driver.rs:1634:12 [INFO] [stdout] | [INFO] [stdout] 1493 | impl LanguageRegistry { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1634 | pub fn ids(&self) -> Vec<&'static str> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resident_bytes` is never used [INFO] [stdout] --> src/index/closedness_store.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl ClosednessStore { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn resident_bytes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `prefetch_refs`, `is_dependency_path`, and `defs_with_prefix` are never used [INFO] [stdout] --> src/model/file_analysis/cross_file.rs:802:8 [INFO] [stdout] | [INFO] [stdout] 423 | pub trait CrossFileLookup { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 802 | fn prefetch_refs(&self, _paths: &[std::path::PathBuf]) {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 852 | fn is_dependency_path(&self, _path: &std::path::Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 980 | fn defs_with_prefix(&self, _prefix: &str) -> Vec<(String, Vec>)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NameKeyed` is never constructed [INFO] [stdout] --> src/model/file_analysis/cross_file.rs:1106:5 [INFO] [stdout] | [INFO] [stdout] 1096 | pub enum PackVisibility { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1106 | NameKeyed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackVisibility` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refs_mut` is never used [INFO] [stdout] --> src/model/file_analysis/ref_table.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 259 | impl FileAnalysis { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn refs_mut(&mut self) -> &mut [Ref] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `adopt_path_symbols` is never used [INFO] [stdout] --> src/model/file_analysis/symbol_table.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl FileAnalysis { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn adopt_path_symbols(&mut self, symbols: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `import_edit_for`, `total_inferred_return`, and `leaf_namespace` are never used [INFO] [stdout] --> src/model/file_analysis/class_queries.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FileAnalysis { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn import_edit_for(&self, fq: &str, row: usize) -> Option<(Point, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn total_inferred_return(&self, sym_id: SymbolId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1131 | pub fn leaf_namespace(&self, leaf: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `promoted_field_twin` and `promoted_param_use_spans` are never used [INFO] [stdout] --> src/model/file_analysis/cursor_queries.rs:992:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FileAnalysis { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 992 | pub fn promoted_field_twin(&self, sym: &Symbol) -> Option<&Symbol> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1008 | pub fn promoted_param_use_spans(&self, member: &str, class: &str) -> Option<(Span, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `native_type_spelling` is never used [INFO] [stdout] --> src/model/file_analysis/hover.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl FileAnalysis { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn native_type_spelling(&self, ty: &InferredType) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_static` is never read [INFO] [stdout] --> src/model/file_analysis/completion.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct CompletionCandidate { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub is_static: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompletionCandidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `complete_lexical_methods_at` is never used [INFO] [stdout] --> src/model/file_analysis/completion.rs:561:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl FileAnalysis { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 561 | pub fn complete_lexical_methods_at(&self, point: Point) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_type_root` is never used [INFO] [stdout] --> src/model/file_analysis/completion.rs:1472:15 [INFO] [stdout] | [INFO] [stdout] 1472 | pub(crate) fn format_type_root(ty: &InferredType) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_builder_source` is never used [INFO] [stdout] --> src/model/witnesses/mod.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl WitnessBag { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn has_builder_source(&self, att: &WitnessAttachment, tag: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_fact_value` is never used [INFO] [stdout] --> src/model/witnesses/tags.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl UndefArm { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn from_fact_value(v: &super::FactValue) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `for_each_attachment_mut` is never used [INFO] [stdout] --> src/model/witnesses/types.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl WitnessPayload { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn for_each_attachment_mut(&mut self, f: &mut dyn FnMut(&mut WitnessAttachment)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backing_rep` is never used [INFO] [stdout] --> src/model/witnesses/types.rs:709:12 [INFO] [stdout] | [INFO] [stdout] 706 | impl FrameworkFact { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 709 | pub fn backing_rep(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index/module_cache/module_cache_tests.rs:1823:9 [INFO] [stdout] | [INFO] [stdout] 1823 | let mut fnv = |acc: &mut u64, bytes: &[u8]| { [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/lsp/cli/query.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | let mut item_json = |sources: &mut SourceCache, it: &resolve::HierarchyItem| { [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/lsp/cli/query.rs:636:21 [INFO] [stdout] | [INFO] [stdout] 636 | let mut edge_json = |sources: &mut SourceCache, [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/lsp/symbols/completion.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 558 | let mut items: Vec = [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `walk_block_package_scoped` is never used [INFO] [stdout] --> src/build/builder/visit_decl.rs:462:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> Builder<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 462 | pub(super) fn walk_block_package_scoped(&mut self, node: Node<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Beta` and `Alpha` are never constructed [INFO] [stdout] --> src/build/language_driver.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub enum Maturity { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 175 | Stable, [INFO] [stdout] 176 | Beta, [INFO] [stdout] | ^^^^ [INFO] [stdout] 177 | Alpha, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Maturity` 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 `open_and_load_diag` is never used [INFO] [stdout] --> src/index/module_cache/blob.rs:495:8 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn open_and_load_diag( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRITER_BUSY_TIMEOUT` is never used [INFO] [stdout] --> src/index/module_cache/conn.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | pub(super) const WRITER_BUSY_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_test_cache_dir` is never used [INFO] [stdout] --> src/index/module_cache/conn.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn with_test_cache_dir(dir: &std::path::Path, busy: std::time::Duration, f: impl FnOnce() -> R) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `providers_of` is never used [INFO] [stdout] --> src/index/module_index/parts.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 193 | impl ModuleEdgeIndexes { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn providers_of(&self, pkg: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `prefetch_refs`, `is_dependency_path`, and `defs_with_prefix` are never used [INFO] [stdout] --> src/model/file_analysis/cross_file.rs:802:8 [INFO] [stdout] | [INFO] [stdout] 423 | pub trait CrossFileLookup { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 802 | fn prefetch_refs(&self, _paths: &[std::path::PathBuf]) {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 852 | fn is_dependency_path(&self, _path: &std::path::Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 980 | fn defs_with_prefix(&self, _prefix: &str) -> Vec<(String, Vec>)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NameKeyed` is never constructed [INFO] [stdout] --> src/model/file_analysis/cross_file.rs:1106:5 [INFO] [stdout] | [INFO] [stdout] 1096 | pub enum PackVisibility { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1106 | NameKeyed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackVisibility` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refs_mut` is never used [INFO] [stdout] --> src/model/file_analysis/ref_table.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 259 | impl FileAnalysis { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn refs_mut(&mut self) -> &mut [Ref] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `adopt_path_symbols` is never used [INFO] [stdout] --> src/model/file_analysis/symbol_table.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl FileAnalysis { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn adopt_path_symbols(&mut self, symbols: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `import_edit_for`, `total_inferred_return`, and `leaf_namespace` are never used [INFO] [stdout] --> src/model/file_analysis/class_queries.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FileAnalysis { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn import_edit_for(&self, fq: &str, row: usize) -> Option<(Point, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn total_inferred_return(&self, sym_id: SymbolId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1131 | pub fn leaf_namespace(&self, leaf: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `promoted_field_twin` and `promoted_param_use_spans` are never used [INFO] [stdout] --> src/model/file_analysis/cursor_queries.rs:992:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FileAnalysis { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 992 | pub fn promoted_field_twin(&self, sym: &Symbol) -> Option<&Symbol> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1008 | pub fn promoted_param_use_spans(&self, member: &str, class: &str) -> Option<(Span, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `native_type_spelling` is never used [INFO] [stdout] --> src/model/file_analysis/hover.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl FileAnalysis { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn native_type_spelling(&self, ty: &InferredType) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_static` is never read [INFO] [stdout] --> src/model/file_analysis/completion.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct CompletionCandidate { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub is_static: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompletionCandidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `complete_lexical_methods_at` is never used [INFO] [stdout] --> src/model/file_analysis/completion.rs:561:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl FileAnalysis { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 561 | pub fn complete_lexical_methods_at(&self, point: Point) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_type_root` is never used [INFO] [stdout] --> src/model/file_analysis/completion.rs:1472:15 [INFO] [stdout] | [INFO] [stdout] 1472 | pub(crate) fn format_type_root(ty: &InferredType) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_builder_source` is never used [INFO] [stdout] --> src/model/witnesses/mod.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl WitnessBag { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn has_builder_source(&self, att: &WitnessAttachment, tag: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `for_each_attachment_mut` is never used [INFO] [stdout] --> src/model/witnesses/types.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl WitnessPayload { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn for_each_attachment_mut(&mut self, f: &mut dyn FnMut(&mut WitnessAttachment)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backing_rep` is never used [INFO] [stdout] --> src/model/witnesses/types.rs:709:12 [INFO] [stdout] | [INFO] [stdout] 706 | impl FrameworkFact { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 709 | pub fn backing_rep(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.20s [INFO] running `Command { std: "docker" "inspect" "6e45281e623a3b5eb0e6d3145244ee713f20e7c38a2d2f21d71c6b1f63b0099a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e45281e623a3b5eb0e6d3145244ee713f20e7c38a2d2f21d71c6b1f63b0099a", kill_on_drop: false }` [INFO] [stdout] 6e45281e623a3b5eb0e6d3145244ee713f20e7c38a2d2f21d71c6b1f63b0099a