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