[INFO] fetching crate scribe-selection 0.5.0... [INFO] testing scribe-selection-0.5.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate scribe-selection 0.5.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate scribe-selection 0.5.0 [INFO] finished tweaking crates.io crate scribe-selection 0.5.0 [INFO] tweaked toml for crates.io crate scribe-selection 0.5.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scribe-selection 0.5.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate scribe-selection 0.5.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tree-sitter-html v0.19.0 [INFO] [stderr] Downloaded serde v1.0.224 [INFO] [stderr] Downloaded scribe-core v0.5.0 [INFO] [stderr] Downloaded scribe-graph v0.5.0 [INFO] [stderr] Downloaded scribe-analysis v0.5.0 [INFO] [stderr] Downloaded tree-sitter-javascript v0.20.4 [INFO] [stderr] Downloaded tree-sitter-go v0.20.0 [INFO] [stderr] Downloaded tree-sitter v0.20.10 [INFO] [stderr] Downloaded tree-sitter-python v0.20.4 [INFO] [stderr] Downloaded cc v1.0.106 [INFO] [stderr] Downloaded serde_derive v1.0.224 [INFO] [stderr] Downloaded serde_core v1.0.224 [INFO] [stderr] Downloaded tree-sitter-rust v0.20.4 [INFO] [stderr] Downloaded tree-sitter-typescript v0.20.5 [INFO] [stderr] Downloaded tiktoken-rs v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 893bc8fd0139567ec6f2d75bd4f06112061f2ee04b8dc2ed1345b60f1dc797d9 [INFO] running `Command { std: "docker" "start" "-a" "893bc8fd0139567ec6f2d75bd4f06112061f2ee04b8dc2ed1345b60f1dc797d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "893bc8fd0139567ec6f2d75bd4f06112061f2ee04b8dc2ed1345b60f1dc797d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "893bc8fd0139567ec6f2d75bd4f06112061f2ee04b8dc2ed1345b60f1dc797d9", kill_on_drop: false }` [INFO] [stdout] 893bc8fd0139567ec6f2d75bd4f06112061f2ee04b8dc2ed1345b60f1dc797d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daca12b2c16970f124008e6a8df45cbe563ddc60e23b86188b141f5345efe67a [INFO] running `Command { std: "docker" "start" "-a" "daca12b2c16970f124008e6a8df45cbe563ddc60e23b86188b141f5345efe67a", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling serde_core v1.0.224 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling serde v1.0.224 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling tree-sitter-go v0.20.0 [INFO] [stderr] Compiling tree-sitter-javascript v0.20.4 [INFO] [stderr] Compiling tree-sitter-python v0.20.4 [INFO] [stderr] Compiling tree-sitter-typescript v0.20.5 [INFO] [stderr] Compiling tree-sitter-rust v0.20.4 [INFO] [stderr] Compiling tree-sitter-html v0.19.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.224 [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 async-trait v0.1.89 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [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 chrono v0.4.42 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling scribe-core v0.5.0 [INFO] [stderr] Compiling scribe-analysis v0.5.0 [INFO] [stderr] Compiling scribe-graph v0.5.0 [INFO] [stderr] Compiling scribe-selection v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ScribeError` [INFO] [stdout] --> src/bandit_router.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use scribe_core::{Result, ScribeError}; [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: `std::f64::consts::E` [INFO] [stdout] --> src/bandit_router.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::f64::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AstChunk as AstParserChunk` and `AstSignature` [INFO] [stdout] --> src/demotion.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ast_parser::{AstChunk as AstParserChunk, AstLanguage, AstParser, AstSignature}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScribeError` [INFO] [stdout] --> src/demotion.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use scribe_core::{Result, ScribeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScribeError` [INFO] [stdout] --> src/two_pass.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use scribe_core::{Result, ScribeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/two_pass.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `density` [INFO] [stdout] --> src/quota.rs:537:27 [INFO] [stdout] | [INFO] [stdout] 537 | for (file_result, density, importance, tokens) in &file_densities { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_density` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/token_budget.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/two_pass.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let start_time = std::time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependencies` [INFO] [stdout] --> src/two_pass.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | dependencies: &HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependencies` [INFO] [stdout] --> src/two_pass.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | dependencies: &HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.70s [INFO] running `Command { std: "docker" "inspect" "daca12b2c16970f124008e6a8df45cbe563ddc60e23b86188b141f5345efe67a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daca12b2c16970f124008e6a8df45cbe563ddc60e23b86188b141f5345efe67a", kill_on_drop: false }` [INFO] [stdout] daca12b2c16970f124008e6a8df45cbe563ddc60e23b86188b141f5345efe67a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 138f4a8931011d560e70641c772aff2b7afaf2bb09582b80923aa322a60d93a1 [INFO] running `Command { std: "docker" "start" "-a" "138f4a8931011d560e70641c772aff2b7afaf2bb09582b80923aa322a60d93a1", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.224 [INFO] [stderr] Compiling serde v1.0.224 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling scribe-core v0.5.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling scribe-analysis v0.5.0 [INFO] [stderr] Compiling scribe-graph v0.5.0 [INFO] [stderr] Compiling scribe-selection v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ScribeError` [INFO] [stdout] --> src/bandit_router.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use scribe_core::{Result, ScribeError}; [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: `std::f64::consts::E` [INFO] [stdout] --> src/bandit_router.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::f64::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AstChunk as AstParserChunk` and `AstSignature` [INFO] [stdout] --> src/demotion.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ast_parser::{AstChunk as AstParserChunk, AstLanguage, AstParser, AstSignature}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScribeError` [INFO] [stdout] --> src/demotion.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use scribe_core::{Result, ScribeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScribeError` [INFO] [stdout] --> src/two_pass.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use scribe_core::{Result, ScribeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/two_pass.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScribeError` [INFO] [stdout] --> src/bandit_router.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use scribe_core::{Result, ScribeError}; [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: `std::f64::consts::E` [INFO] [stdout] --> src/bandit_router.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::f64::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AstChunk as AstParserChunk` and `AstSignature` [INFO] [stdout] --> src/demotion.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ast_parser::{AstChunk as AstParserChunk, AstLanguage, AstParser, AstSignature}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScribeError` [INFO] [stdout] --> src/demotion.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use scribe_core::{Result, ScribeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScribeError` [INFO] [stdout] --> src/two_pass.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use scribe_core::{Result, ScribeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/two_pass.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `density` [INFO] [stdout] --> src/quota.rs:537:27 [INFO] [stdout] | [INFO] [stdout] 537 | for (file_result, density, importance, tokens) in &file_densities { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_density` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/token_budget.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/two_pass.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let start_time = std::time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependencies` [INFO] [stdout] --> src/two_pass.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | dependencies: &HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependencies` [INFO] [stdout] --> src/two_pass.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | dependencies: &HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/demotion.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | let engine = DemotionEngine::new().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `density` [INFO] [stdout] --> src/quota.rs:537:27 [INFO] [stdout] | [INFO] [stdout] 537 | for (file_result, density, importance, tokens) in &file_densities { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_density` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/token_budget.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/two_pass.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let start_time = std::time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependencies` [INFO] [stdout] --> src/two_pass.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | dependencies: &HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependencies` [INFO] [stdout] --> src/two_pass.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | dependencies: &HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.80s [INFO] running `Command { std: "docker" "inspect" "138f4a8931011d560e70641c772aff2b7afaf2bb09582b80923aa322a60d93a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "138f4a8931011d560e70641c772aff2b7afaf2bb09582b80923aa322a60d93a1", kill_on_drop: false }` [INFO] [stdout] 138f4a8931011d560e70641c772aff2b7afaf2bb09582b80923aa322a60d93a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1457d445e377ed3e17798a31d8cee3592d91e64b16187f25c2071c3c26965bf8 [INFO] running `Command { std: "docker" "start" "-a" "1457d445e377ed3e17798a31d8cee3592d91e64b16187f25c2071c3c26965bf8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ScribeError` [INFO] [stderr] --> src/bandit_router.rs:7:27 [INFO] [stderr] | [INFO] [stderr] 7 | use scribe_core::{Result, ScribeError}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::f64::consts::E` [INFO] [stderr] --> src/bandit_router.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::f64::consts::E; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AstChunk as AstParserChunk` and `AstSignature` [INFO] [stderr] --> src/demotion.rs:9:25 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::ast_parser::{AstChunk as AstParserChunk, AstLanguage, AstParser, AstSignature}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ScribeError` [INFO] [stderr] --> src/demotion.rs:10:27 [INFO] [stderr] | [INFO] [stderr] 10 | use scribe_core::{Result, ScribeError}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ScribeError` [INFO] [stderr] --> src/two_pass.rs:7:27 [INFO] [stderr] | [INFO] [stderr] 7 | use scribe_core::{Result, ScribeError}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/two_pass.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `density` [INFO] [stderr] --> src/quota.rs:537:27 [INFO] [stderr] | [INFO] [stderr] 537 | for (file_result, density, importance, tokens) in &file_densities { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_density` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/token_budget.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | config: &Config, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_time` [INFO] [stderr] --> src/two_pass.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | let start_time = std::time::Instant::now(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dependencies` [INFO] [stderr] --> src/two_pass.rs:354:9 [INFO] [stderr] | [INFO] [stderr] 354 | dependencies: &HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dependencies` [INFO] [stderr] --> src/two_pass.rs:382:9 [INFO] [stderr] | [INFO] [stderr] 382 | dependencies: &HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `engine` [INFO] [stderr] --> src/demotion.rs:503:13 [INFO] [stderr] | [INFO] [stderr] 503 | let engine = DemotionEngine::new().unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `density` [INFO] [stderr] --> src/quota.rs:537:27 [INFO] [stderr] | [INFO] [stderr] 537 | for (file_result, density, importance, tokens) in &file_densities { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_density` [INFO] [stderr] [INFO] [stderr] warning: `scribe-selection` (lib) generated 11 warnings (run `cargo fix --lib -p scribe-selection` to apply 11 suggestions) [INFO] [stderr] warning: `scribe-selection` (lib test) generated 12 warnings (10 duplicates) (run `cargo fix --lib -p scribe-selection --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scribe_selection-c655404ef2fc8315) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test ast_parser::tests::test_language_detection ... ok [INFO] [stdout] test ast_parser::tests::test_ast_parser_creation ... ok [INFO] [stdout] test bandit_router::tests::test_bandit_router_creation ... ok [INFO] [stdout] test bandit_router::tests::test_feedback_learning ... ok [INFO] [stdout] test bandit_router::tests::test_initial_routing_exploration ... ok [INFO] [stdout] test bandit_router::tests::test_arm_statistics ... ok [INFO] [stdout] test bandit_router::tests::test_performance_feedback_reward_calculation ... ok [INFO] [stdout] test bandit_router::tests::test_contextual_adjustments ... ok [INFO] [stdout] test bandit_router::tests::test_state_persistence ... ok [INFO] [stdout] test bandit_router::tests::test_strategy_selection_improvement ... ok [INFO] [stdout] test bandit_router::tests::test_thompson_sampling ... ok [INFO] [stdout] test demotion::tests::test_fidelity_modes ... ok [INFO] [stdout] test demotion::tests::test_language_detection ... ok [INFO] [stdout] test two_pass::tests::test_coverage_gap_analysis ... ok [INFO] [stdout] test demotion::tests::test_chunk_budget_selection ... ok [INFO] [stdout] test tests::test_selection_engine_creation ... ok [INFO] [stdout] test quota::tests::test_regex_patterns_directly ... ok [INFO] [stdout] test two_pass::tests::test_speculative_pass ... ok [INFO] [stdout] test two_pass::tests::test_full_two_pass_selection ... ok [INFO] [stdout] test two_pass::tests::test_rule_evaluation ... ok [INFO] [stdout] test two_pass::tests::test_two_pass_selector_creation ... ok [INFO] [stdout] test ast_parser::tests::test_signature_extraction ... ok [INFO] [stdout] test ast_parser::tests::test_python_parsing ... ok [INFO] [stdout] test quota::tests::test_quota_manager_creation ... ok [INFO] [stdout] test ast_parser::tests::test_rust_parsing ... ok [INFO] [stdout] test quota::tests::test_category_detection_with_regex_set ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests scribe_selection [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" "1457d445e377ed3e17798a31d8cee3592d91e64b16187f25c2071c3c26965bf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1457d445e377ed3e17798a31d8cee3592d91e64b16187f25c2071c3c26965bf8", kill_on_drop: false }` [INFO] [stdout] 1457d445e377ed3e17798a31d8cee3592d91e64b16187f25c2071c3c26965bf8