[INFO] cloning repository https://github.com/lonerOrz/pantry [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lonerOrz/pantry" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlonerOrz%2Fpantry", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlonerOrz%2Fpantry'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71910cbc3b7cfe4b01df4cbff4d7e4b3025f3925 [INFO] checking lonerOrz/pantry against master#a33907a7a5381473eec8bcfa0c56e05a856a911c for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlonerOrz%2Fpantry" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lonerOrz/pantry [INFO] finished tweaking git repo https://github.com/lonerOrz/pantry [INFO] tweaked toml for git repo https://github.com/lonerOrz/pantry written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lonerOrz/pantry on toolchain a33907a7a5381473eec8bcfa0c56e05a856a911c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lonerOrz/pantry 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" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded infer v0.15.0 [INFO] [stderr] Downloaded pango-sys v0.21.5 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.21.5 [INFO] [stderr] Downloaded graphene-sys v0.21.5 [INFO] [stderr] Downloaded cairo-sys-rs v0.21.5 [INFO] [stderr] Downloaded glib-macros v0.21.5 [INFO] [stderr] Downloaded gdk-pixbuf v0.21.5 [INFO] [stderr] Downloaded cairo-rs v0.21.5 [INFO] [stderr] Downloaded pango v0.21.5 [INFO] [stderr] Downloaded gdk4-sys v0.10.3 [INFO] [stderr] Downloaded gdk4 v0.10.3 [INFO] [stderr] Downloaded gtk4-sys v0.10.3 [INFO] [stderr] Downloaded gio-sys v0.21.5 [INFO] [stderr] Downloaded toml_edit v0.23.9 [INFO] [stderr] Downloaded glib-sys v0.21.5 [INFO] [stderr] Downloaded gio v0.21.5 [INFO] [stderr] Downloaded graphene-rs v0.21.5 [INFO] [stderr] Downloaded gsk4 v0.10.3 [INFO] [stderr] Downloaded gtk4-macros v0.10.3 [INFO] [stderr] Downloaded gsk4-sys v0.10.3 [INFO] [stderr] Downloaded glib v0.21.5 [INFO] [stderr] Downloaded gobject-sys v0.21.5 [INFO] [stderr] Downloaded gtk4 v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55534638ac183b7a6a665818c751317b9b5f1101133574b5aae3c4649b7d50e8 [INFO] running `Command { std: "docker" "start" "-a" "55534638ac183b7a6a665818c751317b9b5f1101133574b5aae3c4649b7d50e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55534638ac183b7a6a665818c751317b9b5f1101133574b5aae3c4649b7d50e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55534638ac183b7a6a665818c751317b9b5f1101133574b5aae3c4649b7d50e8", kill_on_drop: false }` [INFO] [stdout] 55534638ac183b7a6a665818c751317b9b5f1101133574b5aae3c4649b7d50e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50ee156452e11efea47386baf066f904b0863f2e286afc5f9aa24a4da11704c1 [INFO] running `Command { std: "docker" "start" "-a" "50ee156452e11efea47386baf066f904b0863f2e286afc5f9aa24a4da11704c1", kill_on_drop: false }` [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling version-compare v0.2.1 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling zmij v1.0.15 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling cfg-expr v0.20.5 [INFO] [stderr] Checking infer v0.15.0 [INFO] [stderr] Compiling toml_edit v0.23.9 [INFO] [stderr] Compiling system-deps v7.0.7 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling glib-sys v0.21.5 [INFO] [stderr] Compiling gobject-sys v0.21.5 [INFO] [stderr] Compiling gio-sys v0.21.5 [INFO] [stderr] Compiling cairo-sys-rs v0.21.5 [INFO] [stderr] Compiling pango-sys v0.21.5 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.21.5 [INFO] [stderr] Compiling graphene-sys v0.21.5 [INFO] [stderr] Compiling gdk4-sys v0.10.3 [INFO] [stderr] Compiling gsk4-sys v0.10.3 [INFO] [stderr] Compiling gtk4-sys v0.10.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling glib-macros v0.21.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling gtk4-macros v0.10.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking glib v0.21.5 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking gio v0.21.5 [INFO] [stderr] Checking cairo-rs v0.21.5 [INFO] [stderr] Checking graphene-rs v0.21.5 [INFO] [stderr] Checking pango v0.21.5 [INFO] [stderr] Checking gdk-pixbuf v0.21.5 [INFO] [stderr] Checking gdk4 v0.10.3 [INFO] [stderr] Checking gsk4 v0.10.3 [INFO] [stderr] Checking gtk4 v0.10.3 [INFO] [stderr] Checking pantry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/ui/preview.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | use std::fs::File; [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::fs::File` [INFO] [stdout] --> src/ui/preview.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | use std::fs::File; [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 variable: `args` [INFO] [stdout] --> src/app/event_handlers.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | args: &Args, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preview_template` [INFO] [stdout] --> src/domain/item.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | preview_template: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preview_template` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/app/event_handlers.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | args: &Args, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wrap_in_scroll` and `save_current_window_state` are never used [INFO] [stdout] --> src/app/app.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl PantryApp { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | fn wrap_in_scroll(&self, child: &impl gtk4::prelude::IsA) -> ScrolledWindow { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn save_current_window_state(&self, window: &ApplicationWindow) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LAST_PREVIEW_UPDATE` is never used [INFO] [stdout] --> src/app/app.rs:391:8 [INFO] [stdout] | [INFO] [stdout] 391 | static LAST_PREVIEW_UPDATE: OnceLock> = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fuzzy_match` is never used [INFO] [stdout] --> src/app/event_handlers.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn fuzzy_match(text: &str, pattern: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigLoader` is never constructed [INFO] [stdout] --> src/config/loader.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ConfigLoader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load`, and `load_with_cache` are never used [INFO] [stdout] --> src/config/loader.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ConfigLoader { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn load(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn load_with_cache(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConfigError` is never used [INFO] [stdout] --> src/config/loader.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum ConfigError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_config_entry` is never used [INFO] [stdout] --> src/domain/item.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl ItemProcessor { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn from_config_entry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandExecutor` is never constructed [INFO] [stdout] --> src/handlers/executor.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CommandExecutor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `execute` is never used [INFO] [stdout] --> src/handlers/executor.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl CommandExecutor { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 7 | /// 执行 shell 命令并返回输出 [INFO] [stdout] 8 | pub fn execute(command: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecutionError` is never used [INFO] [stdout] --> src/handlers/executor.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum ExecutionError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_command` is never used [INFO] [stdout] --> src/handlers/executor.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn execute_command(command: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filter` is never constructed [INFO] [stdout] --> src/handlers/filter.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Filter { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_query`, `should_show`, and `setup_listbox_filter` are never used [INFO] [stdout] --> src/handlers/filter.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Filter { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn set_query(&mut self, query: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn should_show(&self, item: &Item) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn setup_listbox_filter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FuzzyMatcher` is never constructed [INFO] [stdout] --> src/handlers/filter.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct FuzzyMatcher; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `match_text` and `match_item` are never used [INFO] [stdout] --> src/handlers/filter.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl FuzzyMatcher { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 76 | /// 模糊匹配文本 [INFO] [stdout] 77 | pub fn match_text(text: &str, pattern: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn match_item(item: &Item, pattern: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoadConfig` is never constructed [INFO] [stdout] --> src/handlers/loader.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LoadConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ItemLoader` is never constructed [INFO] [stdout] --> src/handlers/loader.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ItemLoader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_from_config`, and `add_to_listbox` are never used [INFO] [stdout] --> src/handlers/loader.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ItemLoader { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn load_from_config(&self, _config: &LoadConfig) -> Result, LoadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn add_to_listbox(&self, _listbox: &ListBox, _items: &[Item]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LoadError` is never used [INFO] [stdout] --> src/handlers/loader.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum LoadError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConfigLoaderTrait` is never used [INFO] [stdout] --> src/handlers/loader.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub trait ConfigLoaderTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExecutorTrait` is never used [INFO] [stdout] --> src/handlers/loader.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait ExecutorTrait { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectionHandler` is never constructed [INFO] [stdout] --> src/handlers/selection.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SelectionHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `handle_selection` is never used [INFO] [stdout] --> src/handlers/selection.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl SelectionHandler { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 8 | /// 处理用户选择 [INFO] [stdout] 9 | pub fn handle_selection(listbox: &ListBox) -> SelectionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SelectionResult` is never used [INFO] [stdout] --> src/handlers/selection.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum SelectionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/items.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyboardController` is never constructed [INFO] [stdout] --> src/ui/controller.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct KeyboardController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `setup`, `handle_search_input`, and `clear_search` are never used [INFO] [stdout] --> src/ui/controller.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl KeyboardController { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn setup(self) -> EventControllerKey { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn handle_search_input( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn clear_search( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `handle_selection`, `save_current_window_state`, `update_selection_after_filter`, `first_visible_row_after_filter`, and `update_preview` are never used [INFO] [stdout] --> src/ui/controller.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 141 | impl KeyboardController { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 142 | /// 处理用户选择 [INFO] [stdout] 143 | fn handle_selection(listbox: &ListBox) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn save_current_window_state(window: &ApplicationWindow) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn update_selection_after_filter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn first_visible_row_after_filter(listbox: &ListBox) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn update_preview( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/ui/preview.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl PreviewArea { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 544 | pub fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchOverlay` is never constructed [INFO] [stdout] --> src/ui/search.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SearchOverlay { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `show`, `hide`, `is_visible`, and `get_label` are never used [INFO] [stdout] --> src/ui/search.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SearchOverlay { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 13 | pub fn new(overlay: &Overlay) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn show(&self, text: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn hide(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn is_visible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_label(&self) -> &Label { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preview_template` [INFO] [stdout] --> src/domain/item.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | preview_template: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preview_template` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wrap_in_scroll` and `save_current_window_state` are never used [INFO] [stdout] --> src/app/app.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl PantryApp { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | fn wrap_in_scroll(&self, child: &impl gtk4::prelude::IsA) -> ScrolledWindow { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn save_current_window_state(&self, window: &ApplicationWindow) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LAST_PREVIEW_UPDATE` is never used [INFO] [stdout] --> src/app/app.rs:391:8 [INFO] [stdout] | [INFO] [stdout] 391 | static LAST_PREVIEW_UPDATE: OnceLock> = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fuzzy_match` is never used [INFO] [stdout] --> src/app/event_handlers.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn fuzzy_match(text: &str, pattern: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigLoader` is never constructed [INFO] [stdout] --> src/config/loader.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ConfigLoader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load`, and `load_with_cache` are never used [INFO] [stdout] --> src/config/loader.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ConfigLoader { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn load(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn load_with_cache(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConfigError` is never used [INFO] [stdout] --> src/config/loader.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum ConfigError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_config_entry` is never used [INFO] [stdout] --> src/domain/item.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl ItemProcessor { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn from_config_entry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandExecutor` is never constructed [INFO] [stdout] --> src/handlers/executor.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CommandExecutor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `execute` is never used [INFO] [stdout] --> src/handlers/executor.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl CommandExecutor { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 7 | /// 执行 shell 命令并返回输出 [INFO] [stdout] 8 | pub fn execute(command: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExecutionError` is never used [INFO] [stdout] --> src/handlers/executor.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum ExecutionError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_command` is never used [INFO] [stdout] --> src/handlers/executor.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn execute_command(command: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filter` is never constructed [INFO] [stdout] --> src/handlers/filter.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Filter { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_query`, `should_show`, and `setup_listbox_filter` are never used [INFO] [stdout] --> src/handlers/filter.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Filter { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn set_query(&mut self, query: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn should_show(&self, item: &Item) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn setup_listbox_filter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FuzzyMatcher` is never constructed [INFO] [stdout] --> src/handlers/filter.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct FuzzyMatcher; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `match_text` and `match_item` are never used [INFO] [stdout] --> src/handlers/filter.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl FuzzyMatcher { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 76 | /// 模糊匹配文本 [INFO] [stdout] 77 | pub fn match_text(text: &str, pattern: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn match_item(item: &Item, pattern: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoadConfig` is never constructed [INFO] [stdout] --> src/handlers/loader.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LoadConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ItemLoader` is never constructed [INFO] [stdout] --> src/handlers/loader.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ItemLoader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_from_config`, and `add_to_listbox` are never used [INFO] [stdout] --> src/handlers/loader.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ItemLoader { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn load_from_config(&self, _config: &LoadConfig) -> Result, LoadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn add_to_listbox(&self, _listbox: &ListBox, _items: &[Item]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LoadError` is never used [INFO] [stdout] --> src/handlers/loader.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum LoadError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConfigLoaderTrait` is never used [INFO] [stdout] --> src/handlers/loader.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub trait ConfigLoaderTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExecutorTrait` is never used [INFO] [stdout] --> src/handlers/loader.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait ExecutorTrait { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectionHandler` is never constructed [INFO] [stdout] --> src/handlers/selection.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SelectionHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `handle_selection` is never used [INFO] [stdout] --> src/handlers/selection.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl SelectionHandler { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 8 | /// 处理用户选择 [INFO] [stdout] 9 | pub fn handle_selection(listbox: &ListBox) -> SelectionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SelectionResult` is never used [INFO] [stdout] --> src/handlers/selection.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum SelectionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/items.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyboardController` is never constructed [INFO] [stdout] --> src/ui/controller.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct KeyboardController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `setup`, `handle_search_input`, and `clear_search` are never used [INFO] [stdout] --> src/ui/controller.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl KeyboardController { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn setup(self) -> EventControllerKey { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn handle_search_input( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn clear_search( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `handle_selection`, `save_current_window_state`, `update_selection_after_filter`, `first_visible_row_after_filter`, and `update_preview` are never used [INFO] [stdout] --> src/ui/controller.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 141 | impl KeyboardController { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 142 | /// 处理用户选择 [INFO] [stdout] 143 | fn handle_selection(listbox: &ListBox) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn save_current_window_state(window: &ApplicationWindow) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn update_selection_after_filter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn first_visible_row_after_filter(listbox: &ListBox) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn update_preview( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/ui/preview.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl PreviewArea { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 544 | pub fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchOverlay` is never constructed [INFO] [stdout] --> src/ui/search.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SearchOverlay { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `show`, `hide`, `is_visible`, and `get_label` are never used [INFO] [stdout] --> src/ui/search.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SearchOverlay { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 13 | pub fn new(overlay: &Overlay) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn show(&self, text: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn hide(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn is_visible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_label(&self) -> &Label { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "50ee156452e11efea47386baf066f904b0863f2e286afc5f9aa24a4da11704c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50ee156452e11efea47386baf066f904b0863f2e286afc5f9aa24a4da11704c1", kill_on_drop: false }` [INFO] [stdout] 50ee156452e11efea47386baf066f904b0863f2e286afc5f9aa24a4da11704c1