[INFO] fetching crate scribe-selection 0.5.0... [INFO] testing scribe-selection-0.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate scribe-selection 0.5.0 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scribe-selection 0.5.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-graph v0.5.0 [INFO] [stderr] Downloaded serde_derive v1.0.224 [INFO] [stderr] Downloaded scribe-core v0.5.0 [INFO] [stderr] Downloaded tree-sitter-go v0.20.0 [INFO] [stderr] Downloaded scribe-analysis v0.5.0 [INFO] [stderr] Downloaded serde_core v1.0.224 [INFO] [stderr] Downloaded fancy-regex v0.13.0 [INFO] [stderr] Downloaded tree-sitter v0.20.10 [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 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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2d692f743895df65d79f4cd049fe0edf556b8b4e050815fb20199480b8d8d0b [INFO] running `Command { std: "docker" "start" "-a" "b2d692f743895df65d79f4cd049fe0edf556b8b4e050815fb20199480b8d8d0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2d692f743895df65d79f4cd049fe0edf556b8b4e050815fb20199480b8d8d0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d692f743895df65d79f4cd049fe0edf556b8b4e050815fb20199480b8d8d0b", kill_on_drop: false }` [INFO] [stdout] b2d692f743895df65d79f4cd049fe0edf556b8b4e050815fb20199480b8d8d0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1a0edb22ab66c57cbb3273746709d5f9236eb981564651be130e7ff0c33f0da [INFO] running `Command { std: "docker" "start" "-a" "b1a0edb22ab66c57cbb3273746709d5f9236eb981564651be130e7ff0c33f0da", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_core v1.0.224 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde v1.0.224 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling syn v2.0.106 [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-sitter v0.20.10 [INFO] [stderr] Compiling tree-sitter-html v0.19.0 [INFO] [stderr] Compiling tree-sitter-typescript v0.20.5 [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-rust v0.20.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_derive v1.0.224 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [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 thiserror v1.0.69 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling chrono v0.4.42 [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)]` 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: `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] = note: `#[warn(unused_variables)]` 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: `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 1m 22s [INFO] running `Command { std: "docker" "inspect" "b1a0edb22ab66c57cbb3273746709d5f9236eb981564651be130e7ff0c33f0da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a0edb22ab66c57cbb3273746709d5f9236eb981564651be130e7ff0c33f0da", kill_on_drop: false }` [INFO] [stdout] b1a0edb22ab66c57cbb3273746709d5f9236eb981564651be130e7ff0c33f0da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abe40a867bb2b83c5ed114bd5308024ef6731b732353f58a81e8089a2f148681 [INFO] running `Command { std: "docker" "start" "-a" "abe40a867bb2b83c5ed114bd5308024ef6731b732353f58a81e8089a2f148681", 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 rayon v1.11.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [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 plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [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)]` 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: `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] = note: `#[warn(unused_variables)]` on by default [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)]` 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: `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] = note: `#[warn(unused_variables)]` 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: `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] [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: `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 44.02s [INFO] running `Command { std: "docker" "inspect" "abe40a867bb2b83c5ed114bd5308024ef6731b732353f58a81e8089a2f148681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abe40a867bb2b83c5ed114bd5308024ef6731b732353f58a81e8089a2f148681", kill_on_drop: false }` [INFO] [stdout] abe40a867bb2b83c5ed114bd5308024ef6731b732353f58a81e8089a2f148681 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0a674e6a0cbac5508da73cf66a5fec70b53c6380d2925aa25c3a096949b02102 [INFO] running `Command { std: "docker" "start" "-a" "0a674e6a0cbac5508da73cf66a5fec70b53c6380d2925aa25c3a096949b02102", 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)]` 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: `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] = note: `#[warn(unused_variables)]` 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: 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: `scribe-selection` (lib) generated 11 warnings (run `cargo fix --lib -p scribe-selection` to apply 6 suggestions) [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] warning: `scribe-selection` (lib test) generated 12 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [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_ast_parser_creation ... ok [INFO] [stdout] test ast_parser::tests::test_language_detection ... ok [INFO] [stdout] test bandit_router::tests::test_contextual_adjustments ... 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_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_chunk_budget_selection ... ok [INFO] [stdout] test demotion::tests::test_fidelity_modes ... ok [INFO] [stdout] test demotion::tests::test_language_detection ... ok [INFO] [stdout] test bandit_router::tests::test_bandit_router_creation ... ok [INFO] [stdout] test bandit_router::tests::test_performance_feedback_reward_calculation ... ok [INFO] [stdout] test tests::test_selection_engine_creation ... ok [INFO] [stdout] test two_pass::tests::test_coverage_gap_analysis ... 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_speculative_pass ... ok [INFO] [stdout] test two_pass::tests::test_two_pass_selector_creation ... ok [INFO] [stdout] test quota::tests::test_regex_patterns_directly ... ok [INFO] [stdout] test bandit_router::tests::test_arm_statistics ... ok [INFO] [stdout] test quota::tests::test_category_detection_with_regex_set ... ok [INFO] [stdout] test ast_parser::tests::test_signature_extraction ... ok [INFO] [stdout] test ast_parser::tests::test_rust_parsing ... ok [INFO] [stdout] test quota::tests::test_quota_manager_creation ... ok [INFO] [stdout] test ast_parser::tests::test_python_parsing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [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" "0a674e6a0cbac5508da73cf66a5fec70b53c6380d2925aa25c3a096949b02102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a674e6a0cbac5508da73cf66a5fec70b53c6380d2925aa25c3a096949b02102", kill_on_drop: false }` [INFO] [stdout] 0a674e6a0cbac5508da73cf66a5fec70b53c6380d2925aa25c3a096949b02102