[INFO] cloning repository https://github.com/chishtil1730/gitlinkMacOs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chishtil1730/gitlinkMacOs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchishtil1730%2FgitlinkMacOs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchishtil1730%2FgitlinkMacOs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90d59dea3aeb4d7b7df074c2c805e75c6efdc4c8 [INFO] checking chishtil1730/gitlinkMacOs against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchishtil1730%2FgitlinkMacOs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chishtil1730/gitlinkMacOs [INFO] finished tweaking git repo https://github.com/chishtil1730/gitlinkMacOs [INFO] tweaked toml for git repo https://github.com/chishtil1730/gitlinkMacOs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chishtil1730/gitlinkMacOs on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chishtil1730/gitlinkMacOs 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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3aac6f4626340d3f31eb0bace3a3f80b574a620f2ca1ec14af93c674151ea410 [INFO] running `Command { std: "docker" "start" "-a" "3aac6f4626340d3f31eb0bace3a3f80b574a620f2ca1ec14af93c674151ea410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3aac6f4626340d3f31eb0bace3a3f80b574a620f2ca1ec14af93c674151ea410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aac6f4626340d3f31eb0bace3a3f80b574a620f2ca1ec14af93c674151ea410", kill_on_drop: false }` [INFO] [stdout] 3aac6f4626340d3f31eb0bace3a3f80b574a620f2ca1ec14af93c674151ea410 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c0cf2169d3e9741fc064a64aa2c51a2d4d70491b9406a992684ee8f2ee24481 [INFO] running `Command { std: "docker" "start" "-a" "2c0cf2169d3e9741fc064a64aa2c51a2d4d70491b9406a992684ee8f2ee24481", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Checking lru v0.16.3 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking compact_str v0.9.0 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking unicode-truncate v2.0.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking line-clipping v0.3.5 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Checking serde_spanned v1.0.4 [INFO] [stderr] Checking grep-matcher v0.1.8 [INFO] [stderr] Checking is-docker v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking yaml-rust2 v0.10.4 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking toml v0.9.12+spec-1.1.0 [INFO] [stderr] Checking is-wsl v0.4.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking serde-untagged v0.1.9 [INFO] [stderr] Checking rust-ini v0.21.3 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking getrandom v0.4.1 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking linux-keyutils v0.2.4 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Checking shell-words v1.1.1 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking uuid v1.21.0 [INFO] [stderr] Checking open v5.3.3 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking kasuari v0.4.11 [INFO] [stderr] Checking grep-regex v0.1.14 [INFO] [stderr] Checking grep-searcher v0.1.16 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking ratatui-core v0.1.0 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking ratatui-widgets v0.3.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking ratatui-crossterm v0.1.0 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking ron v0.12.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking ratatui-macros v0.7.0 [INFO] [stderr] Checking ratatui v0.30.0 [INFO] [stderr] Checking config v0.15.19 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking git2 v0.18.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking secret-service v3.1.0 [INFO] [stderr] Checking keyring v2.3.3 [INFO] [stderr] Checking gitlink v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Signature` [INFO] [stdout] --> src/prp_hub/commit.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use git2::{Repository, Signature, StatusOptions}; [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: `ObjectType` [INFO] [stdout] --> src/scanner/engine.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use git2::{ObjectType, Repository}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/scanner/ignore.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signature` [INFO] [stdout] --> src/prp_hub/commit.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use git2::{Repository, Signature, StatusOptions}; [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: `ObjectType` [INFO] [stdout] --> src/scanner/engine.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use git2::{ObjectType, Repository}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/scanner/ignore.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/github/repo_selector.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut peek_input = String::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/github/repo_selector.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let mut buffer = [0u8; 1]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peek_input` [INFO] [stdout] --> src/github/repo_selector.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut peek_input = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peek_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/github/repo_selector.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let mut buffer = [0u8; 1]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/github/repo_selector.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut peek_input = String::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/github/repo_selector.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let mut buffer = [0u8; 1]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peek_input` [INFO] [stdout] --> src/github/repo_selector.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut peek_input = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peek_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/github/repo_selector.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let mut buffer = [0u8; 1]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tui/app.rs:1361:17 [INFO] [stdout] | [INFO] [stdout] 1355 | KeyCode::Esc | KeyCode::Char('q') => return true, [INFO] [stdout] | --------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1361 | KeyCode::Esc if ov.search_active => { [INFO] [stdout] | ^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filtered` [INFO] [stdout] --> src/tui/app.rs:1384:25 [INFO] [stdout] | [INFO] [stdout] 1384 | let filtered = ov.filtered_indices(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filtered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/tui/components/output_block.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let label = format!(" {} ", cmd.content.trim()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accent` [INFO] [stdout] --> src/tui/components/info_overlay.rs:910:95 [INFO] [stdout] | [INFO] [stdout] 910 | fn draw_multi_sync_loading(f: &mut Frame, ov: &crate::tui::app::MultiSyncOverlay, area: Rect, accent: Color) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_accent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_cursor` [INFO] [stdout] --> src/tui/components/info_overlay.rs:1014:17 [INFO] [stdout] | [INFO] [stdout] 1014 | let is_cursor = ov.cursor == (scroll_start + cursor_idx).min(filtered.len().saturating_sub(1)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tui/mod.rs:900:25 [INFO] [stdout] | [INFO] [stdout] 900 | let mut chars = left.chars(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> src/tui/mod.rs:900:25 [INFO] [stdout] | [INFO] [stdout] 900 | let mut chars = left.chars(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tui/app.rs:1361:17 [INFO] [stdout] | [INFO] [stdout] 1355 | KeyCode::Esc | KeyCode::Char('q') => return true, [INFO] [stdout] | --------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1361 | KeyCode::Esc if ov.search_active => { [INFO] [stdout] | ^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filtered` [INFO] [stdout] --> src/tui/app.rs:1384:25 [INFO] [stdout] | [INFO] [stdout] 1384 | let filtered = ov.filtered_indices(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filtered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/tui/components/output_block.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let label = format!(" {} ", cmd.content.trim()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cache_dir` is never used [INFO] [stdout] --> src/github/cache.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn cache_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cache_path` is never used [INFO] [stdout] --> src/github/cache.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn cache_path(key: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_cache_valid` is never used [INFO] [stdout] --> src/github/cache.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn is_cache_valid(path: &PathBuf, ttl: Duration) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `error_type`, and `path` are never read [INFO] [stdout] --> src/github/graphql.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct GraphQLError { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 68 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | #[serde(rename = "type")] [INFO] [stdout] 70 | error_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | path: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphQLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleRepoCommitsResponse` is never constructed [INFO] [stdout] --> src/github/graphql.rs:579:12 [INFO] [stdout] | [INFO] [stdout] 579 | pub struct SingleRepoCommitsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_single_repo_commits` is never used [INFO] [stdout] --> src/github/graphql.rs:583:14 [INFO] [stdout] | [INFO] [stdout] 583 | pub async fn fetch_single_repo_commits( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IssuesResponse` is never constructed [INFO] [stdout] --> src/github/graphql.rs:711:12 [INFO] [stdout] | [INFO] [stdout] 711 | pub struct IssuesResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RepositoryWithIssues` is never constructed [INFO] [stdout] --> src/github/graphql.rs:716:12 [INFO] [stdout] | [INFO] [stdout] 716 | pub struct RepositoryWithIssues { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_issues` is never used [INFO] [stdout] --> src/github/graphql.rs:748:14 [INFO] [stdout] | [INFO] [stdout] 748 | pub async fn fetch_issues( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RepoSelector` is never constructed [INFO] [stdout] --> src/github/repo_selector.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RepoSelector { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `select_repository`, `show_search_dialog`, `select_multiple`, and `filter_by_name` are never used [INFO] [stdout] --> src/github/repo_selector.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl RepoSelector { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 12 | /// Fetch repositories from GitHub and create selector [INFO] [stdout] 13 | pub async fn new(client: &GraphQLClient) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn select_repository(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn show_search_dialog(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn select_multiple(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn filter_by_name(&self, search: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `display_sync_status` and `display_multi_sync_status` are never used [INFO] [stdout] --> src/github/sync_checker.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 59 | impl SyncChecker { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 244 | pub async fn display_sync_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub async fn display_multi_sync_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/github/sync_checker.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 359 | pub struct LocalRepoInfo { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 360 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalRepoInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_push_status` is never used [INFO] [stdout] --> src/github/push_checker.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn display_push_status(status: &PushStatus) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_push_preview` is never used [INFO] [stdout] --> src/github/push_checker.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn display_push_preview(preview: &PushPreview) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GITHUB_API_BASE` is never used [INFO] [stdout] --> src/github/actions_client.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const GITHUB_API_BASE: &str = "https://api.github.com"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ActionsClient` is never constructed [INFO] [stdout] --> src/github/actions_client.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ActionsClient { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowRunsResponse` is never constructed [INFO] [stdout] --> src/github/actions_client.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct WorkflowRunsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowRun` is never constructed [INFO] [stdout] --> src/github/actions_client.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct WorkflowRun { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RunRepository` is never constructed [INFO] [stdout] --> src/github/actions_client.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RunRepository { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fetch_repo_workflow_runs`, and `fetch_all_workflow_runs` are never used [INFO] [stdout] --> src/github/actions_client.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl ActionsClient { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 39 | pub fn new(token: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn fetch_repo_workflow_runs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn fetch_all_workflow_runs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_workflow_runs` is never used [INFO] [stdout] --> src/github/actions_client.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn display_workflow_runs(runs: &[WorkflowRun], limit: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_archive` is never used [INFO] [stdout] --> src/planner/storage.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn load_archive() -> TaskList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_archive` is never used [INFO] [stdout] --> src/planner/storage.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn save_archive(task_list: &TaskList) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_planner` is never used [INFO] [stdout] --> src/planner/ui.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_planner() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redraw` is never used [INFO] [stdout] --> src/planner/ui.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn redraw( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_tasks` is never used [INFO] [stdout] --> src/planner/ui.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn render_tasks( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_new_task` is never used [INFO] [stdout] --> src/planner/ui.rs:250:4 [INFO] [stdout] | [INFO] [stdout] 250 | fn prompt_new_task() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_edit_task` is never used [INFO] [stdout] --> src/planner/ui.rs:292:4 [INFO] [stdout] | [INFO] [stdout] 292 | fn prompt_edit_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_tag` and `remove_tag` are never used [INFO] [stdout] --> src/planner/task.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_tag(&mut self, tag: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn remove_tag(&mut self, tag: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_undo` and `can_redo` are never used [INFO] [stdout] --> src/planner/history.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl History { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn can_undo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn can_redo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `started_at` is never read [INFO] [stdout] --> src/prp_hub/types.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CommitSession { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub started_at: SystemTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommitSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total` is never used [INFO] [stdout] --> src/prp_hub/status.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl RepoStatus { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn total(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_history_blob` is never used [INFO] [stdout] --> src/scanner/engine.rs:430:4 [INFO] [stdout] | [INFO] [stdout] 430 | fn scan_history_blob( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ignored_list_string` is never used [INFO] [stdout] --> src/scanner/ignore.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_ignored_list_string() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_ignored` is never used [INFO] [stdout] --> src/scanner/ignore.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn list_ignored() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_all` is never used [INFO] [stdout] --> src/scanner/ignore.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn clear_all() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kv` is never used [INFO] [stdout] --> src/tui/mod.rs:462:4 [INFO] [stdout] | [INFO] [stdout] 462 | fn kv(key: impl Into, value: impl Into, vcolor: Color) -> Line<'static> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `status_icon` is never used [INFO] [stdout] --> src/tui/mod.rs:469:4 [INFO] [stdout] | [INFO] [stdout] 469 | fn status_icon(ok: bool) -> (&'static str, Color) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn_icon` is never used [INFO] [stdout] --> src/tui/mod.rs:473:4 [INFO] [stdout] | [INFO] [stdout] 473 | fn warn_icon(problem: bool) -> (&'static str, Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_clear_all_selected` is never used [INFO] [stdout] --> src/tui/app.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl IgnoreOverlay { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn is_clear_all_selected(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `done` is never read [INFO] [stdout] --> src/tui/app.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct PrpOverlay { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 174 | pub done: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `selected_repos` is never used [INFO] [stdout] --> src/tui/app.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl MultiSyncOverlay { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn selected_repos(&self) -> Vec<&MultiSyncRepo> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `spin_elapsed` is never used [INFO] [stdout] --> src/tui/app.rs:570:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 570 | pub fn spin_elapsed(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next`, `previous`, and `confirm_selection` are never used [INFO] [stdout] --> src/tui/components/ignore_overlay.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl IgnoreOverlay { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 16 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn previous(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn confirm_selection(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tui/app.rs:480:67 [INFO] [stdout] | [INFO] [stdout] 480 | let cmd = self.filtered_commands[self.selected_index].name.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accent` [INFO] [stdout] --> src/tui/components/info_overlay.rs:910:95 [INFO] [stdout] | [INFO] [stdout] 910 | fn draw_multi_sync_loading(f: &mut Frame, ov: &crate::tui::app::MultiSyncOverlay, area: Rect, accent: Color) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_accent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_cursor` [INFO] [stdout] --> src/tui/components/info_overlay.rs:1014:17 [INFO] [stdout] | [INFO] [stdout] 1014 | let is_cursor = ov.cursor == (scroll_start + cursor_idx).min(filtered.len().saturating_sub(1)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tui/mod.rs:900:25 [INFO] [stdout] | [INFO] [stdout] 900 | let mut chars = left.chars(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> src/tui/mod.rs:900:25 [INFO] [stdout] | [INFO] [stdout] 900 | let mut chars = left.chars(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cache_dir` is never used [INFO] [stdout] --> src/github/cache.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn cache_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cache_path` is never used [INFO] [stdout] --> src/github/cache.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn cache_path(key: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_cache_valid` is never used [INFO] [stdout] --> src/github/cache.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn is_cache_valid(path: &PathBuf, ttl: Duration) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `error_type`, and `path` are never read [INFO] [stdout] --> src/github/graphql.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct GraphQLError { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 68 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | #[serde(rename = "type")] [INFO] [stdout] 70 | error_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | path: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphQLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleRepoCommitsResponse` is never constructed [INFO] [stdout] --> src/github/graphql.rs:579:12 [INFO] [stdout] | [INFO] [stdout] 579 | pub struct SingleRepoCommitsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_single_repo_commits` is never used [INFO] [stdout] --> src/github/graphql.rs:583:14 [INFO] [stdout] | [INFO] [stdout] 583 | pub async fn fetch_single_repo_commits( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IssuesResponse` is never constructed [INFO] [stdout] --> src/github/graphql.rs:711:12 [INFO] [stdout] | [INFO] [stdout] 711 | pub struct IssuesResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RepositoryWithIssues` is never constructed [INFO] [stdout] --> src/github/graphql.rs:716:12 [INFO] [stdout] | [INFO] [stdout] 716 | pub struct RepositoryWithIssues { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_issues` is never used [INFO] [stdout] --> src/github/graphql.rs:748:14 [INFO] [stdout] | [INFO] [stdout] 748 | pub async fn fetch_issues( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RepoSelector` is never constructed [INFO] [stdout] --> src/github/repo_selector.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RepoSelector { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `select_repository`, `show_search_dialog`, `select_multiple`, and `filter_by_name` are never used [INFO] [stdout] --> src/github/repo_selector.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl RepoSelector { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 12 | /// Fetch repositories from GitHub and create selector [INFO] [stdout] 13 | pub async fn new(client: &GraphQLClient) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn select_repository(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn show_search_dialog(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn select_multiple(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn filter_by_name(&self, search: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `display_sync_status` and `display_multi_sync_status` are never used [INFO] [stdout] --> src/github/sync_checker.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 59 | impl SyncChecker { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 244 | pub async fn display_sync_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub async fn display_multi_sync_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/github/sync_checker.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 359 | pub struct LocalRepoInfo { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 360 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalRepoInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_push_status` is never used [INFO] [stdout] --> src/github/push_checker.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn display_push_status(status: &PushStatus) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_push_preview` is never used [INFO] [stdout] --> src/github/push_checker.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn display_push_preview(preview: &PushPreview) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GITHUB_API_BASE` is never used [INFO] [stdout] --> src/github/actions_client.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const GITHUB_API_BASE: &str = "https://api.github.com"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ActionsClient` is never constructed [INFO] [stdout] --> src/github/actions_client.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ActionsClient { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowRunsResponse` is never constructed [INFO] [stdout] --> src/github/actions_client.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct WorkflowRunsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowRun` is never constructed [INFO] [stdout] --> src/github/actions_client.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct WorkflowRun { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RunRepository` is never constructed [INFO] [stdout] --> src/github/actions_client.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RunRepository { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fetch_repo_workflow_runs`, and `fetch_all_workflow_runs` are never used [INFO] [stdout] --> src/github/actions_client.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl ActionsClient { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 39 | pub fn new(token: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn fetch_repo_workflow_runs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn fetch_all_workflow_runs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_workflow_runs` is never used [INFO] [stdout] --> src/github/actions_client.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn display_workflow_runs(runs: &[WorkflowRun], limit: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_archive` is never used [INFO] [stdout] --> src/planner/storage.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn load_archive() -> TaskList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_archive` is never used [INFO] [stdout] --> src/planner/storage.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn save_archive(task_list: &TaskList) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_planner` is never used [INFO] [stdout] --> src/planner/ui.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_planner() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redraw` is never used [INFO] [stdout] --> src/planner/ui.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn redraw( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_tasks` is never used [INFO] [stdout] --> src/planner/ui.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn render_tasks( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_new_task` is never used [INFO] [stdout] --> src/planner/ui.rs:250:4 [INFO] [stdout] | [INFO] [stdout] 250 | fn prompt_new_task() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_edit_task` is never used [INFO] [stdout] --> src/planner/ui.rs:292:4 [INFO] [stdout] | [INFO] [stdout] 292 | fn prompt_edit_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_tag` and `remove_tag` are never used [INFO] [stdout] --> src/planner/task.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_tag(&mut self, tag: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn remove_tag(&mut self, tag: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_undo` and `can_redo` are never used [INFO] [stdout] --> src/planner/history.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl History { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn can_undo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn can_redo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `started_at` is never read [INFO] [stdout] --> src/prp_hub/types.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CommitSession { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub started_at: SystemTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommitSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total` is never used [INFO] [stdout] --> src/prp_hub/status.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl RepoStatus { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn total(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_history_blob` is never used [INFO] [stdout] --> src/scanner/engine.rs:430:4 [INFO] [stdout] | [INFO] [stdout] 430 | fn scan_history_blob( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ignored_list_string` is never used [INFO] [stdout] --> src/scanner/ignore.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_ignored_list_string() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_ignored` is never used [INFO] [stdout] --> src/scanner/ignore.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn list_ignored() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_all` is never used [INFO] [stdout] --> src/scanner/ignore.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn clear_all() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kv` is never used [INFO] [stdout] --> src/tui/mod.rs:462:4 [INFO] [stdout] | [INFO] [stdout] 462 | fn kv(key: impl Into, value: impl Into, vcolor: Color) -> Line<'static> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `status_icon` is never used [INFO] [stdout] --> src/tui/mod.rs:469:4 [INFO] [stdout] | [INFO] [stdout] 469 | fn status_icon(ok: bool) -> (&'static str, Color) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn_icon` is never used [INFO] [stdout] --> src/tui/mod.rs:473:4 [INFO] [stdout] | [INFO] [stdout] 473 | fn warn_icon(problem: bool) -> (&'static str, Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_clear_all_selected` is never used [INFO] [stdout] --> src/tui/app.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl IgnoreOverlay { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn is_clear_all_selected(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `done` is never read [INFO] [stdout] --> src/tui/app.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct PrpOverlay { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 174 | pub done: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `selected_repos` is never used [INFO] [stdout] --> src/tui/app.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl MultiSyncOverlay { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn selected_repos(&self) -> Vec<&MultiSyncRepo> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `spin_elapsed` is never used [INFO] [stdout] --> src/tui/app.rs:570:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 570 | pub fn spin_elapsed(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next`, `previous`, and `confirm_selection` are never used [INFO] [stdout] --> src/tui/components/ignore_overlay.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl IgnoreOverlay { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 16 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn previous(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn confirm_selection(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tui/app.rs:480:67 [INFO] [stdout] | [INFO] [stdout] 480 | let cmd = self.filtered_commands[self.selected_index].name.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "2c0cf2169d3e9741fc064a64aa2c51a2d4d70491b9406a992684ee8f2ee24481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c0cf2169d3e9741fc064a64aa2c51a2d4d70491b9406a992684ee8f2ee24481", kill_on_drop: false }` [INFO] [stdout] 2c0cf2169d3e9741fc064a64aa2c51a2d4d70491b9406a992684ee8f2ee24481