[INFO] cloning repository https://github.com/Magicmaan/job-tracker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Magicmaan/job-tracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagicmaan%2Fjob-tracker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagicmaan%2Fjob-tracker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48002a80ed537699278ac537bac164d46df1140f [INFO] checking Magicmaan/job-tracker against master#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagicmaan%2Fjob-tracker" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Magicmaan/job-tracker [INFO] finished tweaking git repo https://github.com/Magicmaan/job-tracker [INFO] tweaked toml for git repo https://github.com/Magicmaan/job-tracker written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Magicmaan/job-tracker on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Magicmaan/job-tracker 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" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded os_info v3.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f1a4629d4bf39ba5a76b5d68d94061a82d80a277fb9a0e9640b131c2585102b [INFO] running `Command { std: "docker" "start" "-a" "8f1a4629d4bf39ba5a76b5d68d94061a82d80a277fb9a0e9640b131c2585102b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f1a4629d4bf39ba5a76b5d68d94061a82d80a277fb9a0e9640b131c2585102b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f1a4629d4bf39ba5a76b5d68d94061a82d80a277fb9a0e9640b131c2585102b", kill_on_drop: false }` [INFO] [stdout] 8f1a4629d4bf39ba5a76b5d68d94061a82d80a277fb9a0e9640b131c2585102b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3d955f0cd0818d93fc3e3883df62de2c96dd9ff6340ef640ab4e61efe62de0a [INFO] running `Command { std: "docker" "start" "-a" "e3d955f0cd0818d93fc3e3883df62de2c96dd9ff6340ef640ab4e61efe62de0a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling gix-trace v0.1.15 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unicode-bom v2.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling kstring v2.0.2 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling gix-utils v0.3.1 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling vergen-lib v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling gix-sec v0.10.12 [INFO] [stderr] Compiling prodash v29.0.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Compiling sha1-checked v0.10.0 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling gix-features v0.42.1 [INFO] [stderr] Compiling clru v0.6.2 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling imara-diff v0.1.8 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling vergen v9.0.6 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling vergen-gix v1.0.9 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Checking terminal_size v0.4.3 [INFO] [stderr] Compiling gix-utils v0.2.0 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Checking serde_spanned v1.0.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking toml_writer v1.0.4 [INFO] [stderr] Checking indenter v0.3.4 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking eyre v0.6.12 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking clap_builder v4.5.51 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking toml v0.9.8 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking vte v0.14.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking strip-ansi-escapes v0.2.1 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking rusqlite v0.37.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking better-panic v0.3.0 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling derive_deref v1.1.1 [INFO] [stderr] Compiling gix-validate v0.10.1 [INFO] [stderr] Compiling gix-date v0.9.4 [INFO] [stderr] Compiling gix-validate v0.9.4 [INFO] [stderr] Compiling gix-chunk v0.4.12 [INFO] [stderr] Compiling gix-quote v0.5.0 [INFO] [stderr] Compiling gix-bitmap v0.2.15 [INFO] [stderr] Compiling gix-actor v0.34.0 [INFO] [stderr] Compiling gix-path v0.10.21 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking clap v4.5.51 [INFO] [stderr] Compiling gix-features v0.41.1 [INFO] [stderr] Compiling gix-fs v0.15.0 [INFO] [stderr] Compiling gix-config-value v0.14.12 [INFO] [stderr] Compiling gix-command v0.5.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling gix-tempfile v17.1.0 [INFO] [stderr] Compiling gix-fs v0.14.0 [INFO] [stderr] Compiling gix-glob v0.19.0 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling gix-lock v17.1.0 [INFO] [stderr] Compiling gix-attributes v0.25.0 [INFO] [stderr] Compiling gix-ignore v0.14.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking os_info v3.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling faster-hex v0.9.0 [INFO] [stderr] Compiling faster-hex v0.10.0 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling gix-hash v0.18.0 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling gix-hash v0.17.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling gix-hashtable v0.8.1 [INFO] [stderr] Compiling gix-packetline-blocking v0.18.3 [INFO] [stderr] Compiling gix-pathspec v0.10.0 [INFO] [stderr] Compiling gix-object v0.48.0 [INFO] [stderr] Compiling gix-commitgraph v0.27.0 [INFO] [stderr] Compiling gix-packetline v0.18.4 [INFO] [stderr] Compiling gix-shallow v0.3.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Checking human-panic v2.0.4 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Checking color-eyre v0.6.5 [INFO] [stderr] Compiling gix-revwalk v0.19.0 [INFO] [stderr] Compiling gix-ref v0.51.0 [INFO] [stderr] Compiling gix-filter v0.18.0 [INFO] [stderr] Compiling gix-pack v0.58.0 [INFO] [stderr] Compiling gix-traverse v0.45.0 [INFO] [stderr] Compiling gix-revision v0.33.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling gix-index v0.39.0 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling gix-refspec v0.29.0 [INFO] [stderr] Compiling gix-discover v0.39.0 [INFO] [stderr] Compiling gix-config v0.44.0 [INFO] [stderr] Compiling gix-odb v0.68.0 [INFO] [stderr] Checking tui-textarea v0.7.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Compiling gix-worktree v0.40.0 [INFO] [stderr] Compiling gix-url v0.30.0 [INFO] [stderr] Compiling gix-diff v0.51.0 [INFO] [stderr] Compiling gix-dir v0.13.0 [INFO] [stderr] Compiling gix-transport v0.46.0 [INFO] [stderr] Compiling gix-submodule v0.18.0 [INFO] [stderr] Compiling gix-protocol v0.49.0 [INFO] [stderr] Compiling gix-status v0.18.0 [INFO] [stderr] Compiling gix v0.71.0 [INFO] [stderr] Compiling job-tracker-component v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Color`, `Style`, and `widgets::Block` [INFO] [stdout] --> src/app.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | style::{Color, Style}, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] 7 | widgets::Block, [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: `Add` [INFO] [stdout] --> src/components/edit_job.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Add, AddAssign, SubAssign}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Margin` [INFO] [stdout] --> src/components/edit_job.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | layout::{Constraint, Layout, Margin}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::field` [INFO] [stdout] --> src/components/edit_job.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::field; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/components/job_item.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, AddAssign, SubAssign}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `widgets::Paragraph` [INFO] [stdout] --> src/components/job_list.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | widgets::Paragraph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database::db::Database` [INFO] [stdout] --> src/components/search.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | database::db::Database, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Modifier`, and `Style` [INFO] [stdout] --> src/config.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use ratatui::style::{Color, Modifier, Style}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::Deserializer` [INFO] [stdout] --> src/config.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, de::Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> src/config.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tui_textarea::Key` [INFO] [stdout] --> src/config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tui_textarea::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `app::Mode` [INFO] [stdout] --> src/config.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{action::Action, app::Mode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToSql` [INFO] [stdout] --> src/database/query.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use rusqlite::{ToSql, params}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Style`, and `widgets::Block` [INFO] [stdout] --> src/app.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | style::{Color, Style}, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] 7 | widgets::Block, [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: `Add` [INFO] [stdout] --> src/components/edit_job.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Add, AddAssign, SubAssign}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Margin` [INFO] [stdout] --> src/components/edit_job.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | layout::{Constraint, Layout, Margin}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::field` [INFO] [stdout] --> src/components/edit_job.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::field; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/components/job_item.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, AddAssign, SubAssign}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `widgets::Paragraph` [INFO] [stdout] --> src/components/job_list.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | widgets::Paragraph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database::db::Database` [INFO] [stdout] --> src/components/search.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | database::db::Database, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Modifier`, and `Style` [INFO] [stdout] --> src/config.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use ratatui::style::{Color, Modifier, Style}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::Deserializer` [INFO] [stdout] --> src/config.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, de::Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> src/config.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tui_textarea::Key` [INFO] [stdout] --> src/config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tui_textarea::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `app::Mode` [INFO] [stdout] --> src/config.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{action::Action, app::Mode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToSql` [INFO] [stdout] --> src/database/query.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use rusqlite::{ToSql, params}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `notes` [INFO] [stdout] --> src/app.rs:207:48 [INFO] [stdout] | [INFO] [stdout] 207 | Action::DispatchNotesPopupData(notes) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_notes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_id` [INFO] [stdout] --> src/app.rs:236:32 [INFO] [stdout] | [INFO] [stdout] 236 | if let Mode::Popup(component_id) = self.mode { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/edit_job.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut text_fields: HashMap> = [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/components/edit_job.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut default_block = Block::bordered().padding(Padding::horizontal(1)); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/components/edit_job.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | state, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/components/job_item.rs:77:56 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn handle_mouse_event(mouse_event: MouseEvent, state: &mut JobListingState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/components/job_item.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let pos = Position::new(mouse_event.column, mouse_event.row); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/components/job_item.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn layout(&self, area: ratatui::layout::Rect) -> Layout { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/job_list.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut start = if jobs_len > num_visible { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/job_list.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut area = block.inner(region); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `notes` [INFO] [stdout] --> src/app.rs:207:48 [INFO] [stdout] | [INFO] [stdout] 207 | Action::DispatchNotesPopupData(notes) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_notes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/components/job_list.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | modifiers, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `modifiers: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse` [INFO] [stdout] --> src/components/search.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | mouse: crossterm::event::MouseEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_id` [INFO] [stdout] --> src/app.rs:236:32 [INFO] [stdout] | [INFO] [stdout] 236 | if let Mode::Popup(component_id) = self.mode { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/edit_job.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut text_fields: HashMap> = [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/components/edit_job.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut default_block = Block::bordered().padding(Padding::horizontal(1)); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/components/edit_job.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | state, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/components/job_item.rs:77:56 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn handle_mouse_event(mouse_event: MouseEvent, state: &mut JobListingState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/components/job_item.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let pos = Position::new(mouse_event.column, mouse_event.row); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/components/job_item.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn layout(&self, area: ratatui::layout::Rect) -> Layout { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/job_list.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut start = if jobs_len > num_visible { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/job_list.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut area = block.inner(region); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/components/job_list.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | modifiers, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `modifiers: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse` [INFO] [stdout] --> src/components/search.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | mouse: crossterm::event::MouseEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database/schema.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | let mut parts = files_str [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/app.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | database: Database, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/components/component.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Component { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 16 | fn id(&self) -> String { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command_tx` and `config` are never read [INFO] [stdout] --> src/components/edit_job.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct EditJob<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 81 | command_tx: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | config: crate::config::Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `len` is never used [INFO] [stdout] --> src/components/job_item.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl FocusedField { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 28 | pub fn len() -> i8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `handle_mouse_event` is never used [INFO] [stdout] --> src/components/job_item.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl JobItem { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn handle_mouse_event(mouse_event: MouseEvent, state: &mut JobListingState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_visible_jobs` is never used [INFO] [stdout] --> src/components/job_list.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl JobList { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | fn set_visible_jobs(&mut self, start: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectBoxState` is never constructed [INFO] [stdout] --> src/components/select_box.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SelectBoxState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectBox` is never constructed [INFO] [stdout] --> src/components/select_box.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SelectBox { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection` is never read [INFO] [stdout] --> src/database/db.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | connection: rusqlite::Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create` and `connection` are never used [INFO] [stdout] --> src/database/db.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn create(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn connection(&self) -> &rusqlite::Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_applications` is never used [INFO] [stdout] --> src/database/query.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_all_applications(db: &Database) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_applications_by_status` is never used [INFO] [stdout] --> src/database/query.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_applications_by_status(status: ApplicationStatus, db: &Database) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_application_by_company` is never used [INFO] [stdout] --> src/database/query.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_application_by_company(company_name: &str, db: &Database) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_application_by_id` is never used [INFO] [stdout] --> src/database/query.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_application_by_id(application_id: i32, db: &Database) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_application_by_position` is never used [INFO] [stdout] --> src/database/query.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_application_by_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_application` is never used [INFO] [stdout] --> src/database/query.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_application(application: JobApplication, db: &Database) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_application` is never used [INFO] [stdout] --> src/database/query.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn update_application(application: JobApplication, db: &Database) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_application` is never used [INFO] [stdout] --> src/database/query.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn delete_application(application_id: i32, db: &Database) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_row` is never used [INFO] [stdout] --> src/database/schema.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl JobApplication { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 99 | pub fn from_row(row: &rusqlite::Row) -> rusqlite::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/database/schema.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl PositionCategory { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 197 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database/schema.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | let mut parts = files_str [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | action_tx.send(Action::JobResults(test_results)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 130 | let _ = action_tx.send(Action::JobResults(test_results)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/components/job_item.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn info_block(&self, state: &JobListingState) -> Paragraph { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 107 | pub fn info_block(&self, state: &JobListingState) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/components/job_item.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn links_block(&self, state: &JobListingState) -> Paragraph { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 140 | pub fn links_block(&self, state: &JobListingState) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/components/job_item.rs:202:24 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn notes_block(&self, state: &JobListingState) -> Paragraph { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | pub fn notes_block(&self, state: &JobListingState) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/app.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | database: Database, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/components/component.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Component { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 16 | fn id(&self) -> String { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command_tx` and `config` are never read [INFO] [stdout] --> src/components/edit_job.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct EditJob<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 81 | command_tx: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | config: crate::config::Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `len` is never used [INFO] [stdout] --> src/components/job_item.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl FocusedField { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 28 | pub fn len() -> i8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `handle_mouse_event` is never used [INFO] [stdout] --> src/components/job_item.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl JobItem { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn handle_mouse_event(mouse_event: MouseEvent, state: &mut JobListingState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_visible_jobs` is never used [INFO] [stdout] --> src/components/job_list.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl JobList { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | fn set_visible_jobs(&mut self, start: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectBoxState` is never constructed [INFO] [stdout] --> src/components/select_box.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SelectBoxState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectBox` is never constructed [INFO] [stdout] --> src/components/select_box.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SelectBox { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection` is never read [INFO] [stdout] --> src/database/db.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | connection: rusqlite::Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create` and `connection` are never used [INFO] [stdout] --> src/database/db.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn create(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn connection(&self) -> &rusqlite::Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_applications` is never used [INFO] [stdout] --> src/database/query.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_all_applications(db: &Database) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_applications_by_status` is never used [INFO] [stdout] --> src/database/query.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_applications_by_status(status: ApplicationStatus, db: &Database) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_application_by_company` is never used [INFO] [stdout] --> src/database/query.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_application_by_company(company_name: &str, db: &Database) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_application_by_id` is never used [INFO] [stdout] --> src/database/query.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_application_by_id(application_id: i32, db: &Database) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_application_by_position` is never used [INFO] [stdout] --> src/database/query.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_application_by_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_application` is never used [INFO] [stdout] --> src/database/query.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_application(application: JobApplication, db: &Database) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_application` is never used [INFO] [stdout] --> src/database/query.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn update_application(application: JobApplication, db: &Database) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_application` is never used [INFO] [stdout] --> src/database/query.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn delete_application(application_id: i32, db: &Database) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_row` is never used [INFO] [stdout] --> src/database/schema.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl JobApplication { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 99 | pub fn from_row(row: &rusqlite::Row) -> rusqlite::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/database/schema.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl PositionCategory { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 197 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | action_tx.send(Action::JobResults(test_results)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 130 | let _ = action_tx.send(Action::JobResults(test_results)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/components/job_item.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn info_block(&self, state: &JobListingState) -> Paragraph { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 107 | pub fn info_block(&self, state: &JobListingState) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/components/job_item.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn links_block(&self, state: &JobListingState) -> Paragraph { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 140 | pub fn links_block(&self, state: &JobListingState) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/components/job_item.rs:202:24 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn notes_block(&self, state: &JobListingState) -> Paragraph { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | pub fn notes_block(&self, state: &JobListingState) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "e3d955f0cd0818d93fc3e3883df62de2c96dd9ff6340ef640ab4e61efe62de0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d955f0cd0818d93fc3e3883df62de2c96dd9ff6340ef640ab4e61efe62de0a", kill_on_drop: false }` [INFO] [stdout] e3d955f0cd0818d93fc3e3883df62de2c96dd9ff6340ef640ab4e61efe62de0a