[INFO] cloning repository https://github.com/mcgru/text-researcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mcgru/text-researcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcgru%2Ftext-researcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcgru%2Ftext-researcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e51e63bee32fd733f5a2fbc70940bf65140adb75 [INFO] checking mcgru/text-researcher against 14450d27a2d0d3b3cb66037c8111ee3da14ed3c2 for pr-160391 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcgru%2Ftext-researcher" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mcgru/text-researcher [INFO] finished tweaking git repo https://github.com/mcgru/text-researcher [INFO] tweaked toml for git repo https://github.com/mcgru/text-researcher written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mcgru/text-researcher on toolchain 14450d27a2d0d3b3cb66037c8111ee3da14ed3c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14450d27a2d0d3b3cb66037c8111ee3da14ed3c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mcgru/text-researcher 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" "+14450d27a2d0d3b3cb66037c8111ee3da14ed3c2" "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] 7ed0f596be95d7418a06dac2c66ca58c74c0c153a8002985f2584da798293afb [INFO] running `Command { std: "docker" "start" "7ed0f596be95d7418a06dac2c66ca58c74c0c153a8002985f2584da798293afb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ed0f596be95d7418a06dac2c66ca58c74c0c153a8002985f2584da798293afb", 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" "7ed0f596be95d7418a06dac2c66ca58c74c0c153a8002985f2584da798293afb" "/opt/rustwide/cargo-home/bin/cargo" "+14450d27a2d0d3b3cb66037c8111ee3da14ed3c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ed0f596be95d7418a06dac2c66ca58c74c0c153a8002985f2584da798293afb", 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" "7ed0f596be95d7418a06dac2c66ca58c74c0c153a8002985f2584da798293afb" "/opt/rustwide/cargo-home/bin/cargo" "+14450d27a2d0d3b3cb66037c8111ee3da14ed3c2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking log v0.4.30 [INFO] [stderr] Checking typenum v1.20.0 [INFO] [stderr] Checking cmov v0.5.3 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking unicode-properties v0.1.4 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling cc v1.2.62 [INFO] [stderr] Checking phf_shared v0.13.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ctutils v0.4.2 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling instability v0.3.12 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking compact_str v0.9.0 [INFO] [stderr] Checking lru v0.16.4 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Checking time-core v0.1.8 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking line-clipping v0.3.7 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking pxfm v0.1.29 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking whoami v2.1.2 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking hybrid-array v0.4.12 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking jiff v0.2.26 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking unicode-truncate v2.0.1 [INFO] [stderr] Checking crypto-common v0.2.2 [INFO] [stderr] Checking block-buffer v0.12.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking env_filter v1.0.1 [INFO] [stderr] Checking digest v0.11.3 [INFO] [stderr] Checking hmac v0.13.0 [INFO] [stderr] Checking md-5 v0.11.0 [INFO] [stderr] Checking sha2 v0.11.0 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Checking postgres-protocol v0.6.11 [INFO] [stderr] Checking postgres-types v0.2.13 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking kasuari v0.4.12 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking ratatui-core v0.1.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-postgres v0.7.17 [INFO] [stderr] Checking env_logger v0.11.10 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking ratatui-widgets v0.3.0 [INFO] [stderr] Checking ratatui-crossterm v0.1.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking udpipe-client v0.1.0 (/opt/rustwide/workdir/crates/udpipe-client) [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking ratatui-macros v0.7.0 [INFO] [stderr] Checking ratatui v0.30.0 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking postgres v0.19.13 [INFO] [stderr] Checking r2d2_postgres v0.18.2 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking text-researcher-core v0.1.0 (/opt/rustwide/workdir/crates/core) [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> crates/core/src/dictionary/postgres.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PostgresBackend { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 13 | pool: Pool>, [INFO] [stdout] 14 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking text-researcher v0.1.0 (/opt/rustwide/workdir/crates/app) [INFO] [stdout] warning: unused import: `Rect` [INFO] [stdout] --> crates/app/src/tui/app.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | use ratatui::layout::{Constraint, Direction, Layout, Rect}; [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: `load_project` [INFO] [stdout] --> crates/app/src/tui/app.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | load_project, save_project, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> crates/app/src/tui/panels/menu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Line` and `Span` [INFO] [stdout] --> crates/app/src/tui/panels/menu.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use ratatui::text::{Line, Span}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Wrap` [INFO] [stdout] --> crates/app/src/tui/panels/text.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | use ratatui::widgets::{Block, Borders, Paragraph, Wrap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyCode` and `KeyModifiers` [INFO] [stdout] --> crates/app/src/tui/panels/mod.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use ratatui::crossterm::event::{KeyCode, KeyEvent, KeyModifiers}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rect` [INFO] [stdout] --> crates/app/src/tui/app.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | use ratatui::layout::{Constraint, Direction, Layout, Rect}; [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: `load_project` [INFO] [stdout] --> crates/app/src/tui/app.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | load_project, save_project, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> crates/app/src/tui/panels/menu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Line` and `Span` [INFO] [stdout] --> crates/app/src/tui/panels/menu.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use ratatui::text::{Line, Span}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Wrap` [INFO] [stdout] --> crates/app/src/tui/panels/text.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | use ratatui::widgets::{Block, Borders, Paragraph, Wrap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyCode` and `KeyModifiers` [INFO] [stdout] --> crates/app/src/tui/panels/mod.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use ratatui::crossterm::event::{KeyCode, KeyEvent, KeyModifiers}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focused` [INFO] [stdout] --> crates/app/src/tui/panels/menu.rs:86:53 [INFO] [stdout] | [INFO] [stdout] 86 | fn render(&self, frame: &mut Frame, area: Rect, focused: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_focused` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> crates/core/src/dictionary/postgres.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PostgresBackend { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 13 | pool: Pool>, [INFO] [stdout] 14 | url: 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: constant `DEFAULT_CHUNK_SIZE` is never used [INFO] [stdout] --> crates/app/src/cli/batch.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const DEFAULT_CHUNK_SIZE: usize = 10; [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 `is_running` and `quit` are never used [INFO] [stdout] --> crates/app/src/tui/app.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl AppState { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn is_running(&self) -> bool { self.running } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 261 | pub fn quit(&mut self) { self.running = false; } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SwitchFocus` and `Help` are never constructed [INFO] [stdout] --> crates/app/src/tui/panels/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | SwitchFocus(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` 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: methods `title` and `focusable` are never used [INFO] [stdout] --> crates/app/src/tui/panels/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Panel { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 36 | fn title(&self) -> &str; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | fn focusable(&self) -> bool { true } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_project` is never used [INFO] [stdout] --> crates/app/src/tui/panels/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn load_project(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_byte` and `end_byte` are never read [INFO] [stdout] --> crates/app/src/tui/panels/text.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct WordSpan { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | word: String, [INFO] [stdout] 21 | start_byte: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | end_byte: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WordSpan` 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: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/app/src/tui/app.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | drop(entries); [INFO] [stdout] | ^^^^^-------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 207 - drop(entries); [INFO] [stdout] 207 + let _ = entries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focused` [INFO] [stdout] --> crates/app/src/tui/panels/menu.rs:86:53 [INFO] [stdout] | [INFO] [stdout] 86 | fn render(&self, frame: &mut Frame, area: Rect, focused: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_focused` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CHUNK_SIZE` is never used [INFO] [stdout] --> crates/app/src/cli/batch.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const DEFAULT_CHUNK_SIZE: usize = 10; [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 `is_running` and `quit` are never used [INFO] [stdout] --> crates/app/src/tui/app.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl AppState { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn is_running(&self) -> bool { self.running } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 261 | pub fn quit(&mut self) { self.running = false; } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SwitchFocus` and `Help` are never constructed [INFO] [stdout] --> crates/app/src/tui/panels/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | SwitchFocus(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` 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: methods `title` and `focusable` are never used [INFO] [stdout] --> crates/app/src/tui/panels/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Panel { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 36 | fn title(&self) -> &str; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | fn focusable(&self) -> bool { true } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_project` is never used [INFO] [stdout] --> crates/app/src/tui/panels/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn load_project(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_byte` and `end_byte` are never read [INFO] [stdout] --> crates/app/src/tui/panels/text.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct WordSpan { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | word: String, [INFO] [stdout] 21 | start_byte: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | end_byte: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WordSpan` 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: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/app/src/tui/app.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | drop(entries); [INFO] [stdout] | ^^^^^-------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 207 - drop(entries); [INFO] [stdout] 207 + let _ = entries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.39s [INFO] running `Command { std: "docker" "inspect" "7ed0f596be95d7418a06dac2c66ca58c74c0c153a8002985f2584da798293afb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ed0f596be95d7418a06dac2c66ca58c74c0c153a8002985f2584da798293afb", kill_on_drop: false }` [INFO] [stdout] 7ed0f596be95d7418a06dac2c66ca58c74c0c153a8002985f2584da798293afb