[INFO] fetching crate scribe-analysis 0.5.1...
[INFO] testing scribe-analysis-0.5.1 against 1.99.0-beta.8 for beta-1.100-2
[INFO] extracting crate scribe-analysis 0.5.1 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate scribe-analysis 0.5.1
[INFO] finished tweaking crates.io crate scribe-analysis 0.5.1
[INFO] tweaked toml for crates.io crate scribe-analysis 0.5.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate scribe-analysis 0.5.1 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate scribe-analysis 0.5.1 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.101
[INFO] [stderr]   Downloaded js-sys v0.3.78
[INFO] [stderr]   Downloaded tree-sitter-html v0.19.0
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.101
[INFO] [stderr]   Downloaded tree_magic_mini v3.2.0
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.101
[INFO] [stderr]   Downloaded globset v0.4.16
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.101
[INFO] [stderr]   Downloaded wasi v0.14.6+wasi-0.2.4
[INFO] [stderr]   Downloaded tempfile v3.22.0
[INFO] [stderr]   Downloaded serde v1.0.224
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.101
[INFO] [stderr]   Downloaded unicode-ident v1.0.19
[INFO] [stderr]   Downloaded scribe-core v0.5.1
[INFO] [stderr]   Downloaded serde_core v1.0.224
[INFO] [stderr]   Downloaded ignore v0.4.23
[INFO] [stderr]   Downloaded clap v4.5.47
[INFO] [stderr]   Downloaded fancy-regex v0.13.0
[INFO] [stderr]   Downloaded anyhow v1.0.99
[INFO] [stderr]   Downloaded cc v1.0.106
[INFO] [stderr]   Downloaded regex v1.11.2
[INFO] [stderr]   Downloaded tree-sitter-go v0.20.0
[INFO] [stderr]   Downloaded serde_derive v1.0.224
[INFO] [stderr]   Downloaded indexmap v2.11.1
[INFO] [stderr]   Downloaded tree-sitter v0.20.10
[INFO] [stderr]   Downloaded io-uring v0.7.10
[INFO] [stderr]   Downloaded serde_json v1.0.145
[INFO] [stderr]   Downloaded clap_builder v4.5.47
[INFO] [stderr]   Downloaded tree-sitter-python v0.20.4
[INFO] [stderr]   Downloaded tree-sitter-javascript v0.20.4
[INFO] [stderr]   Downloaded tree-sitter-rust v0.20.4
[INFO] [stderr]   Downloaded regex-syntax v0.8.6
[INFO] [stderr]   Downloaded regex-automata v0.4.10
[INFO] [stderr]   Downloaded web-sys v0.3.78
[INFO] [stderr]   Downloaded tree-sitter-typescript v0.20.5
[INFO] [stderr]   Downloaded windows-sys v0.61.0
[INFO] [stderr]   Downloaded tiktoken-rs v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1f60570ff7e05cd406c91b834b5550760e05c13b021360be599e2771dfbd124c
[INFO] running `Command { std: "docker" "start" "1f60570ff7e05cd406c91b834b5550760e05c13b021360be599e2771dfbd124c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f60570ff7e05cd406c91b834b5550760e05c13b021360be599e2771dfbd124c", 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" "1f60570ff7e05cd406c91b834b5550760e05c13b021360be599e2771dfbd124c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f60570ff7e05cd406c91b834b5550760e05c13b021360be599e2771dfbd124c", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1f60570ff7e05cd406c91b834b5550760e05c13b021360be599e2771dfbd124c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling cc v1.0.106
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling serde_core v1.0.224
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling serde v1.0.224
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling tree-sitter v0.20.10
[INFO] [stderr]    Compiling tree-sitter-javascript v0.20.4
[INFO] [stderr]    Compiling tree-sitter-typescript v0.20.5
[INFO] [stderr]    Compiling tree-sitter-html v0.19.0
[INFO] [stderr]    Compiling tree-sitter-rust v0.20.4
[INFO] [stderr]    Compiling tree-sitter-python v0.20.4
[INFO] [stderr]    Compiling tree-sitter-go v0.20.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling indexmap v2.11.1
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling tree_magic_mini v3.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.224
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling bstr v1.12.0
[INFO] [stderr]    Compiling fancy-regex v0.13.0
[INFO] [stderr]    Compiling globset v0.4.16
[INFO] [stderr]    Compiling tiktoken-rs v0.7.0
[INFO] [stderr]    Compiling ignore v0.4.23
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling scribe-core v0.5.1
[INFO] [stderr]    Compiling scribe-analysis v0.5.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Tree`
[INFO] [stdout]   --> src/ast_import_parser.rs:12:43
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tree_sitter::{Language, Node, Parser, Tree, TreeCursor};
[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: `SimpleImport`
[INFO] [stdout]   --> src/heuristics/import_analysis.rs:15:65
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::ast_import_parser::{ImportLanguage, SimpleAstParser, SimpleImport};
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/heuristics/scoring/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Language as TsLanguage` and `Tree`
[INFO] [stdout]   --> src/heuristics/template_detection.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tree_sitter::{Language as TsLanguage, Node, Parser, Tree};
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tree`
[INFO] [stdout]    --> src/language_support/function_extraction.rs:272:9
[INFO] [stdout]     |
[INFO] [stdout] 272 |         tree: &Tree,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_tree`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tree`
[INFO] [stdout]    --> src/language_support/function_extraction.rs:305:9
[INFO] [stdout]     |
[INFO] [stdout] 305 |         tree: &Tree,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class_count`
[INFO] [stdout]    --> src/language_support/language_metrics.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 |         class_count: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `language` is never read
[INFO] [stdout]   --> src/language_support/function_extraction.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct FunctionExtractor {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 55 |     language: AstLanguage,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `extract_parameters` and `extract_parent_classes` are never used
[INFO] [stdout]    --> src/language_support/function_extraction.rs:459:8
[INFO] [stdout]     |
[INFO] [stdout]  61 | impl FunctionExtractor {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 459 |     fn extract_parameters(&self, params_text: &str, _node: Node) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 481 |     fn extract_parent_classes(&self, parents_text: &str) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.27s
[INFO] running `Command { std: "docker" "inspect" "1f60570ff7e05cd406c91b834b5550760e05c13b021360be599e2771dfbd124c", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1f60570ff7e05cd406c91b834b5550760e05c13b021360be599e2771dfbd124c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.224
[INFO] [stderr]    Compiling serde v1.0.224
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling clap_builder v4.5.47
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling clap v4.5.47
[INFO] [stderr]    Compiling tempfile v3.22.0
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling scribe-core v0.5.1
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling scribe-analysis v0.5.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Tree`
[INFO] [stdout]   --> src/ast_import_parser.rs:12:43
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tree_sitter::{Language, Node, Parser, Tree, TreeCursor};
[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: `SimpleImport`
[INFO] [stdout]   --> src/heuristics/import_analysis.rs:15:65
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::ast_import_parser::{ImportLanguage, SimpleAstParser, SimpleImport};
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/heuristics/scoring/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Language as TsLanguage` and `Tree`
[INFO] [stdout]   --> src/heuristics/template_detection.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tree_sitter::{Language as TsLanguage, Node, Parser, Tree};
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tree`
[INFO] [stdout]    --> src/language_support/function_extraction.rs:272:9
[INFO] [stdout]     |
[INFO] [stdout] 272 |         tree: &Tree,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_tree`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tree`
[INFO] [stdout]    --> src/language_support/function_extraction.rs:305:9
[INFO] [stdout]     |
[INFO] [stdout] 305 |         tree: &Tree,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class_count`
[INFO] [stdout]    --> src/language_support/language_metrics.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 |         class_count: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `language` is never read
[INFO] [stdout]   --> src/language_support/function_extraction.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct FunctionExtractor {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 55 |     language: AstLanguage,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `extract_parameters` and `extract_parent_classes` are never used
[INFO] [stdout]    --> src/language_support/function_extraction.rs:459:8
[INFO] [stdout]     |
[INFO] [stdout]  61 | impl FunctionExtractor {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 459 |     fn extract_parameters(&self, params_text: &str, _node: Node) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 481 |     fn extract_parent_classes(&self, parents_text: &str) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Tree`
[INFO] [stdout]   --> src/ast_import_parser.rs:12:43
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tree_sitter::{Language, Node, Parser, Tree, TreeCursor};
[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: `SimpleImport`
[INFO] [stdout]   --> src/heuristics/import_analysis.rs:15:65
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::ast_import_parser::{ImportLanguage, SimpleAstParser, SimpleImport};
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/heuristics/scoring/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]    --> src/heuristics/scoring/normalization.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 190 |     use std::path::PathBuf;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]    --> src/heuristics/scoring/mod.rs:191:9
[INFO] [stdout]     |
[INFO] [stdout] 191 |     use std::path::PathBuf;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Language as TsLanguage` and `Tree`
[INFO] [stdout]   --> src/heuristics/template_detection.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tree_sitter::{Language as TsLanguage, Node, Parser, Tree};
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]    --> src/heuristics/template_detection.rs:673:9
[INFO] [stdout]     |
[INFO] [stdout] 673 |     use std::fs;
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tree`
[INFO] [stdout]    --> src/language_support/function_extraction.rs:272:9
[INFO] [stdout]     |
[INFO] [stdout] 272 |         tree: &Tree,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_tree`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tree`
[INFO] [stdout]    --> src/language_support/function_extraction.rs:305:9
[INFO] [stdout]     |
[INFO] [stdout] 305 |         tree: &Tree,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class_count`
[INFO] [stdout]    --> src/language_support/language_metrics.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 |         class_count: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content` is never read
[INFO] [stdout]    --> src/heuristics/scoring/normalization.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 193 |     struct MockFile {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 198 |         content: Option<String>,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_test_file` is never used
[INFO] [stdout]    --> src/heuristics/template_detection.rs:677:8
[INFO] [stdout]     |
[INFO] [stdout] 677 |     fn create_test_file(content: &str, extension: &str) -> NamedTempFile {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `language` is never read
[INFO] [stdout]   --> src/language_support/function_extraction.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct FunctionExtractor {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 55 |     language: AstLanguage,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `extract_parameters` and `extract_parent_classes` are never used
[INFO] [stdout]    --> src/language_support/function_extraction.rs:459:8
[INFO] [stdout]     |
[INFO] [stdout]  61 | impl FunctionExtractor {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 459 |     fn extract_parameters(&self, params_text: &str, _node: Node) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 481 |     fn extract_parent_classes(&self, parents_text: &str) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 21.98s
[INFO] running `Command { std: "docker" "inspect" "1f60570ff7e05cd406c91b834b5550760e05c13b021360be599e2771dfbd124c", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1f60570ff7e05cd406c91b834b5550760e05c13b021360be599e2771dfbd124c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Tree`
[INFO] [stderr]   --> src/ast_import_parser.rs:12:43
[INFO] [stderr]    |
[INFO] [stderr] 12 | use tree_sitter::{Language, Node, Parser, Tree, TreeCursor};
[INFO] [stderr]    |                                           ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SimpleImport`
[INFO] [stderr]   --> src/heuristics/import_analysis.rs:15:65
[INFO] [stderr]    |
[INFO] [stderr] 15 | use crate::ast_import_parser::{ImportLanguage, SimpleAstParser, SimpleImport};
[INFO] [stderr]    |                                                                 ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]   --> src/heuristics/scoring/mod.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use std::collections::HashMap;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Language as TsLanguage` and `Tree`
[INFO] [stderr]   --> src/heuristics/template_detection.rs:18:19
[INFO] [stderr]    |
[INFO] [stderr] 18 | use tree_sitter::{Language as TsLanguage, Node, Parser, Tree};
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^^                ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tree`
[INFO] [stderr]    --> src/language_support/function_extraction.rs:272:9
[INFO] [stderr]     |
[INFO] [stderr] 272 |         tree: &Tree,
[INFO] [stderr]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_tree`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tree`
[INFO] [stderr]    --> src/language_support/function_extraction.rs:305:9
[INFO] [stderr]     |
[INFO] [stderr] 305 |         tree: &Tree,
[INFO] [stderr]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_tree`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `class_count`
[INFO] [stderr]    --> src/language_support/language_metrics.rs:229:9
[INFO] [stderr]     |
[INFO] [stderr] 229 |         class_count: usize,
[INFO] [stderr]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_count`
[INFO] [stderr] 
[INFO] [stderr] warning: field `language` is never read
[INFO] [stderr]   --> src/language_support/function_extraction.rs:55:5
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub struct FunctionExtractor {
[INFO] [stderr]    |            ----------------- field in this struct
[INFO] [stderr] 55 |     language: AstLanguage,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `extract_parameters` and `extract_parent_classes` are never used
[INFO] [stderr]    --> src/language_support/function_extraction.rs:459:8
[INFO] [stderr]     |
[INFO] [stderr]  61 | impl FunctionExtractor {
[INFO] [stderr]     | ---------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 459 |     fn extract_parameters(&self, params_text: &str, _node: Node) -> Vec<String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 481 |     fn extract_parent_classes(&self, parents_text: &str) -> Vec<String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `scribe-analysis` (lib) generated 9 warnings (run `cargo fix --lib -p scribe-analysis` to apply 7 suggestions)
[INFO] [stderr] warning: unused import: `std::path::PathBuf`
[INFO] [stderr]    --> src/heuristics/scoring/normalization.rs:190:9
[INFO] [stderr]     |
[INFO] [stderr] 190 |     use std::path::PathBuf;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path::PathBuf`
[INFO] [stderr]    --> src/heuristics/scoring/mod.rs:191:9
[INFO] [stderr]     |
[INFO] [stderr] 191 |     use std::path::PathBuf;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs`
[INFO] [stderr]    --> src/heuristics/template_detection.rs:673:9
[INFO] [stderr]     |
[INFO] [stderr] 673 |     use std::fs;
[INFO] [stderr]     |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `content` is never read
[INFO] [stderr]    --> src/heuristics/scoring/normalization.rs:198:9
[INFO] [stderr]     |
[INFO] [stderr] 193 |     struct MockFile {
[INFO] [stderr]     |            -------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 198 |         content: Option<String>,
[INFO] [stderr]     |         ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_test_file` is never used
[INFO] [stderr]    --> src/heuristics/template_detection.rs:677:8
[INFO] [stderr]     |
[INFO] [stderr] 677 |     fn create_test_file(content: &str, extension: &str) -> NamedTempFile {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `language` is never read
[INFO] [stderr]   --> src/language_support/function_extraction.rs:55:5
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub struct FunctionExtractor {
[INFO] [stderr]    |            ----------------- field in this struct
[INFO] [stderr] 55 |     language: AstLanguage,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `scribe-analysis` (lib test) generated 14 warnings (8 duplicates) (run `cargo fix --lib -p scribe-analysis --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scribe_analysis-0a60159f77fdcc2a)
[INFO] [stdout] 
[INFO] [stdout] running 39 tests
[INFO] [stdout] test heuristics::import_analysis::tests::test_centrality_calculator ... ok
[INFO] [stdout] test heuristics::scoring::final_scoring::tests::test_final_score_calculation ... ok
[INFO] [stdout] test heuristics::scoring::normalization::tests::test_normalization_stats ... ok
[INFO] [stdout] test heuristics::scoring::tests::test_basic_scoring ... ok
[INFO] [stdout] test heuristics::scoring::tests::test_score_explanation ... ok
[INFO] [stdout] test heuristics::import_analysis::tests::test_path_normalization ... ok
[INFO] [stdout] test heuristics::scoring::tests::test_weight_presets ... ok
[INFO] [stdout] test heuristics::template_detection::tests::test_pattern_counting ... ok
[INFO] [stdout] test heuristics::template_detection::tests::test_directory_context_detection ... ok
[INFO] [stdout] test heuristics::tests::test_heuristic_system_creation ... ok
[INFO] [stdout] test heuristics::tests::test_metrics ... ok
[INFO] [stdout] test heuristics::import_analysis::tests::test_import_extraction ... ok
[INFO] [stdout] test heuristics::scoring::normalization::tests::test_path_score_inversion ... ok
[INFO] [stdout] test heuristics::import_analysis::tests::test_graph_builder ... ok
[INFO] [stdout] test heuristics::template_detection::tests::test_extension_based_detection ... ok
[INFO] [stdout] test heuristics::scoring::final_scoring::tests::test_score_explanation ... ok
[INFO] [stdout] test heuristics::import_analysis::tests::test_import_graph_creation ... ok
[INFO] [stdout] test language_support::ast_language::tests::test_language_count ... ok
[INFO] [stdout] test language_support::ast_language::tests::test_language_detection ... ok
[INFO] [stdout] test heuristics::tests::test_document_analysis ... ok
[INFO] [stdout] test heuristics::import_analysis::tests::test_pagerank_calculation ... ok
[INFO] [stdout] test language_support::ast_language::tests::test_language_features ... ok
[INFO] [stdout] test language_support::ast_language::tests::test_language_tiers ... ok
[INFO] [stdout] test heuristics::template_detection::tests::test_template_score_boost ... ok
[INFO] [stdout] test heuristics::import_analysis::tests::test_graph_statistics ... ok
[INFO] [stdout] test language_support::ast_language::tests::test_language_stats ... ok
[INFO] [stdout] test language_support::documentation_analysis::tests::test_python_documentation_analysis ... ok
[INFO] [stdout] test language_support::language_metrics::tests::test_python_metrics ... ok
[INFO] [stdout] test language_support::language_metrics::tests::test_rust_metrics ... ok
[INFO] [stdout] test heuristics::template_detection::tests::test_engine_score_boost ... ok
[INFO] [stdout] test heuristics::import_analysis::tests::test_import_matching ... ok
[INFO] [stdout] test language_support::function_extraction::tests::test_python_function_extraction ... ok
[INFO] [stdout] test language_support::function_extraction::tests::test_python_class_extraction ... ok
[INFO] [stdout] test language_support::function_extraction::tests::test_javascript_function_extraction ... ok
[INFO] [stdout] test language_support::function_extraction::tests::test_function_extractor_creation ... ok
[INFO] [stdout] test language_support::tests::test_language_support_creation ... ok
[INFO] [stdout] test language_support::tests::test_language_analysis ... ok
[INFO] [stdout] test language_support::tests::test_python_function_extraction ... ok
[INFO] [stdout] test language_support::tests::test_supported_languages ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests scribe_analysis
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1f60570ff7e05cd406c91b834b5550760e05c13b021360be599e2771dfbd124c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f60570ff7e05cd406c91b834b5550760e05c13b021360be599e2771dfbd124c", kill_on_drop: false }`
[INFO] [stdout] 1f60570ff7e05cd406c91b834b5550760e05c13b021360be599e2771dfbd124c
