[INFO] cloning repository https://github.com/codyaverett/viz-code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codyaverett/viz-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodyaverett%2Fviz-code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodyaverett%2Fviz-code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 568768fb3a24b0f75bccb8e42ee30db18c038a2d
[INFO] checking codyaverett/viz-code against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodyaverett%2Fviz-code" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/codyaverett/viz-code
[INFO] finished tweaking git repo https://github.com/codyaverett/viz-code
[INFO] tweaked toml for git repo https://github.com/codyaverett/viz-code written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/codyaverett/viz-code on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/codyaverett/viz-code 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap v4.5.51
[INFO] [stderr]   Downloaded clap_builder v4.5.51
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a3fb25854a291d72f94063873a1ffb8cc4c0a15d276c73941e91acb039db7124
[INFO] running `Command { std: "docker" "start" "a3fb25854a291d72f94063873a1ffb8cc4c0a15d276c73941e91acb039db7124", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3fb25854a291d72f94063873a1ffb8cc4c0a15d276c73941e91acb039db7124", 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" "a3fb25854a291d72f94063873a1ffb8cc4c0a15d276c73941e91acb039db7124" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3fb25854a291d72f94063873a1ffb8cc4c0a15d276c73941e91acb039db7124", 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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a3fb25854a291d72f94063873a1ffb8cc4c0a15d276c73941e91acb039db7124" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.106
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking bstr v1.12.1
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking clap_builder v4.5.51
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling tree-sitter v0.22.6
[INFO] [stderr]    Compiling tree-sitter-rust v0.21.2
[INFO] [stderr]    Compiling tree-sitter-javascript v0.21.4
[INFO] [stderr]    Compiling tree-sitter-typescript v0.21.2
[INFO] [stderr]    Compiling tree-sitter-python v0.21.0
[INFO] [stderr]    Compiling tree-sitter-java v0.21.0
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking globset v0.4.18
[INFO] [stderr]     Checking ignore v0.4.25
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking clap v4.5.51
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking viz-code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Dependency`
[INFO] [stdout]  --> src/generators/dependency_graph.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::models::{Dependency, Diagram, DiagramType, 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 imports: `QueryCursor` and `Query`
[INFO] [stdout]  --> src/processors/javascript.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tree_sitter::{Node, Parser, Query, QueryCursor, Tree};
[INFO] [stdout]   |                                 ^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FieldInfo`
[INFO] [stdout]  --> src/processors/python.rs:3:44
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ClassInfo, Dependency, DependencyType, FieldInfo, FileAnalysis,
[INFO] [stdout]   |                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FunctionInfo`
[INFO] [stdout]  --> src/processors/java.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     FunctionInfo, MethodInfo, Parameter, Visibility,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `language_processor::*`
[INFO] [stdout]  --> src/processors/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use language_processor::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Dependency`
[INFO] [stdout]  --> src/generators/dependency_graph.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::models::{Dependency, Diagram, DiagramType, 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 imports: `QueryCursor` and `Query`
[INFO] [stdout]  --> src/processors/javascript.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tree_sitter::{Node, Parser, Query, QueryCursor, Tree};
[INFO] [stdout]   |                                 ^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FieldInfo`
[INFO] [stdout]  --> src/processors/python.rs:3:44
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ClassInfo, Dependency, DependencyType, FieldInfo, FileAnalysis,
[INFO] [stdout]   |                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FunctionInfo`
[INFO] [stdout]  --> src/processors/java.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     FunctionInfo, MethodInfo, Parameter, Visibility,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `language_processor::*`
[INFO] [stdout]  --> src/processors/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use language_processor::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `language`
[INFO] [stdout]   --> src/generators/class_diagram.rs:13:62
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn generate_class_diagram(&self, classes: &[&ClassInfo], language: &str) -> String {
[INFO] [stdout]    |                                                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_language`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_path`
[INFO] [stdout]   --> src/generators/dependency_graph.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |         for (file_path, (node_id, name)) in &file_names {
[INFO] [stdout]    |              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `language`
[INFO] [stdout]   --> src/generators/class_diagram.rs:13:62
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn generate_class_diagram(&self, classes: &[&ClassInfo], language: &str) -> String {
[INFO] [stdout]    |                                                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_language`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_path`
[INFO] [stdout]   --> src/generators/dependency_graph.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |         for (file_path, (node_id, name)) in &file_names {
[INFO] [stdout]    |              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_max_functions` is never used
[INFO] [stdout]   --> src/generators/flowchart.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl FlowchartGenerator {
[INFO] [stdout]    | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn with_max_functions(mut self, max: usize) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/models/diagram.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl DiagramType {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 13 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ComplexityMetrics` is never constructed
[INFO] [stdout]  --> src/models/metrics.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ComplexityMetrics {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinesOfCode` is never constructed
[INFO] [stdout]   --> src/models/metrics.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct LinesOfCode {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileMetrics` is never constructed
[INFO] [stdout]   --> src/models/metrics.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct FileMetrics {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_process` is never used
[INFO] [stdout]   --> src/processors/language_processor.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub trait LanguageProcessor: Send + Sync {
[INFO] [stdout]    |           ----------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn can_process(&self, language: &Language) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `supported_languages` is never used
[INFO] [stdout]   --> src/processors/registry.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl ProcessorRegistry {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn supported_languages(&self) -> Vec<Language> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Unknown` is never constructed
[INFO] [stdout]    --> src/scanner.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub enum Language {
[INFO] [stdout]     |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 116 |     Unknown,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Language` 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 `extensions` is never used
[INFO] [stdout]    --> src/scanner.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl Language {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn extensions(&self) -> &[&str] {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_max_functions` is never used
[INFO] [stdout]   --> src/generators/flowchart.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl FlowchartGenerator {
[INFO] [stdout]    | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn with_max_functions(mut self, max: usize) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/models/diagram.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl DiagramType {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 13 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ComplexityMetrics` is never constructed
[INFO] [stdout]  --> src/models/metrics.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ComplexityMetrics {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinesOfCode` is never constructed
[INFO] [stdout]   --> src/models/metrics.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct LinesOfCode {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileMetrics` is never constructed
[INFO] [stdout]   --> src/models/metrics.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct FileMetrics {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_process` is never used
[INFO] [stdout]   --> src/processors/language_processor.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub trait LanguageProcessor: Send + Sync {
[INFO] [stdout]    |           ----------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn can_process(&self, language: &Language) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `supported_languages` is never used
[INFO] [stdout]   --> src/processors/registry.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl ProcessorRegistry {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn supported_languages(&self) -> Vec<Language> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Unknown` is never constructed
[INFO] [stdout]    --> src/scanner.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub enum Language {
[INFO] [stdout]     |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 116 |     Unknown,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Language` 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 `extensions` is never used
[INFO] [stdout]    --> src/scanner.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl Language {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn extensions(&self) -> &[&str] {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.58s
[INFO] running `Command { std: "docker" "inspect" "a3fb25854a291d72f94063873a1ffb8cc4c0a15d276c73941e91acb039db7124", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3fb25854a291d72f94063873a1ffb8cc4c0a15d276c73941e91acb039db7124", kill_on_drop: false }`
[INFO] [stdout] a3fb25854a291d72f94063873a1ffb8cc4c0a15d276c73941e91acb039db7124
