[INFO] fetching crate bnn-code 0.1.3...
[INFO] checking bnn-code-0.1.3 against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] extracting crate bnn-code 0.1.3 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate bnn-code 0.1.3
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate bnn-code 0.1.3
[INFO] tweaked toml for crates.io crate bnn-code 0.1.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate bnn-code 0.1.3 on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate bnn-code 0.1.3 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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 75cf259391aea1aeb52b25d66a744a6011f2bc12efd68e2f8a8504b4fefdfd86
[INFO] running `Command { std: "docker" "start" "75cf259391aea1aeb52b25d66a744a6011f2bc12efd68e2f8a8504b4fefdfd86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75cf259391aea1aeb52b25d66a744a6011f2bc12efd68e2f8a8504b4fefdfd86", 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" "75cf259391aea1aeb52b25d66a744a6011f2bc12efd68e2f8a8504b4fefdfd86" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75cf259391aea1aeb52b25d66a744a6011f2bc12efd68e2f8a8504b4fefdfd86", 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" "75cf259391aea1aeb52b25d66a744a6011f2bc12efd68e2f8a8504b4fefdfd86" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking log v0.4.33
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling base64ct v1.8.3
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling http v1.4.2
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling socks v0.3.4
[INFO] [stderr]    Compiling utf8-zero v0.8.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling onig_sys v69.9.3
[INFO] [stderr]    Compiling lzma-rust2 v0.15.8
[INFO] [stderr]    Compiling hmac-sha256 v1.1.14
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking signal-hook v0.3.18
[INFO] [stderr]    Compiling pem-rfc7468 v1.0.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.28.0
[INFO] [stderr]    Compiling tree-sitter v0.20.10
[INFO] [stderr]    Compiling esaxx-rs v0.1.10
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling webpki-root-certs v1.0.8
[INFO] [stderr]    Compiling der v0.8.0
[INFO] [stderr]    Compiling ureq-proto v0.6.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]     Checking castaway v0.2.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling monostate-impl v0.1.18
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]    Compiling tree-sitter v0.24.7
[INFO] [stderr]    Compiling tree-sitter-javascript v0.25.0
[INFO] [stderr]    Compiling tree-sitter-typescript v0.23.2
[INFO] [stderr]    Compiling tree-sitter-go v0.25.0
[INFO] [stderr]    Compiling tree-sitter-rust v0.24.2
[INFO] [stderr]    Compiling tree-sitter-python v0.25.0
[INFO] [stderr]    Compiling tree-sitter-java v0.23.5
[INFO] [stderr]    Compiling tree-sitter-swift v0.7.3
[INFO] [stderr]    Compiling tree-sitter-cpp v0.23.4
[INFO] [stderr]    Compiling tree-sitter-ruby v0.23.1
[INFO] [stderr]    Compiling tree-sitter-kotlin v0.3.5
[INFO] [stderr]    Compiling anyhow v1.0.103
[INFO] [stderr]     Checking spm_precompiled v0.1.4
[INFO] [stderr]     Checking unicode-truncate v1.1.0
[INFO] [stderr]     Checking compact_str v0.7.1
[INFO] [stderr]     Checking inotify v0.9.6
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking rayon-cond v0.3.0
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking ndarray v0.17.2
[INFO] [stderr]     Checking monostate v0.1.18
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking regex v1.12.4
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]     Checking serde_json v1.0.150
[INFO] [stderr]     Checking crossterm v0.27.0
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking lru v0.12.5
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]     Checking onig v6.5.3
[INFO] [stderr]    Compiling ureq v3.3.0
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling stability v0.2.1
[INFO] [stderr]     Checking filetime v0.2.29
[INFO] [stderr]     Checking unicode-normalization-alignments v0.1.12
[INFO] [stderr]     Checking libloading v0.9.0
[INFO] [stderr]     Checking unicode_categories v0.1.1
[INFO] [stderr]     Checking derive_builder v0.20.2
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking ratatui v0.26.3
[INFO] [stderr]     Checking notify v6.1.1
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking tokenizers v0.19.1
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]    Compiling ort-sys v2.0.0-rc.12
[INFO] [stderr]     Checking ort v2.0.0-rc.12
[INFO] [stderr]     Checking rusqlite v0.31.0
[INFO] [stderr]     Checking bnn-code v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `engine`
[INFO] [stdout]    --> tests/integration_test.rs:286:9
[INFO] [stdout]     |
[INFO] [stdout] 286 |     let engine = OnnxEngine::new(Path::new("models/model.onnx")).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: variant `Comment` is never constructed
[INFO] [stdout]   --> src/indexer/chunker.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum ChunkType {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 20 |     Comment,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChunkType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `search_by_keyword`, `get_file_chunks`, and `chunk_count` are never used
[INFO] [stdout]    --> src/indexer/database.rs:63:12
[INFO] [stdout]     |
[INFO] [stdout]  10 | impl CodeDatabase {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn search_by_keyword(&self, keyword: &str) -> Result<Vec<CodeChunk>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |     pub fn get_file_chunks(&self, file_path: &str) -> Result<Vec<CodeChunk>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn chunk_count(&self) -> Result<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `doc_comment` is never read
[INFO] [stdout]   --> src/indexer/parser.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct CodeSymbol {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub doc_comment: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CodeSymbol` 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: type alias `CodeParser` is never used
[INFO] [stdout]   --> src/indexer/parser.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub type CodeParser = AstParser;
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_terminal` is never used
[INFO] [stdout]   --> src/ui/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn init_terminal() -> Result<Terminal<CrosstermBackend<io::Stdout>>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `restore_terminal` is never used
[INFO] [stdout]   --> src/ui/mod.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn restore_terminal() -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StreamHandler` is never constructed
[INFO] [stdout]  --> src/ui/streaming.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct StreamHandler {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `feed`, `get_buffer`, and `reset` are never used
[INFO] [stdout]   --> src/ui/streaming.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl StreamHandler {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn feed(&mut self, token: &str) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn get_buffer(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stream_response` is never used
[INFO] [stdout]   --> src/ui/streaming.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub async fn stream_response(response: &str) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AppState` is never constructed
[INFO] [stdout]   --> src/ui/terminal.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AppState {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render` is never used
[INFO] [stdout]   --> src/ui/terminal.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn render(frame: &mut Frame, state: &AppState) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cache_dir` is never used
[INFO] [stdout]   --> src/utils/cache.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn cache_dir() -> PathBuf {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `file_cache_key` is never used
[INFO] [stdout]   --> src/utils/cache.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn file_cache_key(path: &std::path::Path) -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_config` is never used
[INFO] [stdout]    --> src/utils/config.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub fn load_config() -> Result<BnnConfig> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Comment` is never constructed
[INFO] [stdout]   --> src/indexer/chunker.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum ChunkType {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 20 |     Comment,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChunkType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_terminal` is never used
[INFO] [stdout]   --> src/ui/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn init_terminal() -> Result<Terminal<CrosstermBackend<io::Stdout>>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `restore_terminal` is never used
[INFO] [stdout]   --> src/ui/mod.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn restore_terminal() -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StreamHandler` is never constructed
[INFO] [stdout]  --> src/ui/streaming.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct StreamHandler {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `feed`, `get_buffer`, and `reset` are never used
[INFO] [stdout]   --> src/ui/streaming.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl StreamHandler {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn feed(&mut self, token: &str) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn get_buffer(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stream_response` is never used
[INFO] [stdout]   --> src/ui/streaming.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub async fn stream_response(response: &str) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AppState` is never constructed
[INFO] [stdout]   --> src/ui/terminal.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AppState {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render` is never used
[INFO] [stdout]   --> src/ui/terminal.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn render(frame: &mut Frame, state: &AppState) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cache_dir` is never used
[INFO] [stdout]   --> src/utils/cache.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn cache_dir() -> PathBuf {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `file_cache_key` is never used
[INFO] [stdout]   --> src/utils/cache.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn file_cache_key(path: &std::path::Path) -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.34s
[INFO] running `Command { std: "docker" "inspect" "75cf259391aea1aeb52b25d66a744a6011f2bc12efd68e2f8a8504b4fefdfd86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75cf259391aea1aeb52b25d66a744a6011f2bc12efd68e2f8a8504b4fefdfd86", kill_on_drop: false }`
[INFO] [stdout] 75cf259391aea1aeb52b25d66a744a6011f2bc12efd68e2f8a8504b4fefdfd86
