[INFO] cloning repository https://github.com/JustinMeimar/personal-packrat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JustinMeimar/personal-packrat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustinMeimar%2Fpersonal-packrat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustinMeimar%2Fpersonal-packrat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0d766690ed35bed327ba8d95635bf8c77aa711b [INFO] checking JustinMeimar/personal-packrat against try#579169d0e78824dc60934e5eb74cd3841f2b33e8 for pr-149328 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustinMeimar%2Fpersonal-packrat" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JustinMeimar/personal-packrat [INFO] finished tweaking git repo https://github.com/JustinMeimar/personal-packrat [INFO] tweaked toml for git repo https://github.com/JustinMeimar/personal-packrat written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JustinMeimar/personal-packrat on toolchain 579169d0e78824dc60934e5eb74cd3841f2b33e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JustinMeimar/personal-packrat 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" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "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 syn v2.0.93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9aa60442eff444c9e0acbdad0c17839a86cc71453f59153c3db2ef50f17cac6 [INFO] running `Command { std: "docker" "start" "-a" "e9aa60442eff444c9e0acbdad0c17839a86cc71453f59153c3db2ef50f17cac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9aa60442eff444c9e0acbdad0c17839a86cc71453f59153c3db2ef50f17cac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9aa60442eff444c9e0acbdad0c17839a86cc71453f59153c3db2ef50f17cac6", kill_on_drop: false }` [INFO] [stdout] e9aa60442eff444c9e0acbdad0c17839a86cc71453f59153c3db2ef50f17cac6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a84c3b2c04e473387fafb5eebe830556b3d645bdf8987bc00b510ff1b713e941 [INFO] running `Command { std: "docker" "start" "-a" "a84c3b2c04e473387fafb5eebe830556b3d645bdf8987bc00b510ff1b713e941", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking winnow v0.6.24 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking tui v0.19.0 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking serde v1.0.217 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking packrat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cli.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{error::Error, io::{self, stdout}}; [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: `csv::Writer` [INFO] [stdout] --> src/model/store.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use csv::Writer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::task_entry::TaskEntry` [INFO] [stdout] --> src/model/store.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::task_entry::TaskEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/model/store.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | /// TODO: Handle cascade! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 101 | / self.db [INFO] [stdout] 102 | | .lock() [INFO] [stdout] 103 | | .unwrap() [INFO] [stdout] 104 | | .remove(item.to_key())?; [INFO] [stdout] | |___________________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::task::Task` [INFO] [stdout] --> src/ui/view.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::task::Task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/ui/view.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::{Display, Debug}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::convert::Storable` [INFO] [stdout] --> src/ui/state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::model::convert::Storable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ui/render/renderable.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | / /// For some views, like dialogue boxes that should appear "layered", [INFO] [stdout] 123 | | /// we don't want to clear the screen below. Same for Stay transitions, [INFO] [stdout] 124 | | /// since doing so induces a flicker. [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 125 | let transition = control_handler(state); [INFO] [stdout] | ---------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ui/render/render_main.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | /// What to do on "new" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | / Event::Key(KeyEvent { code: KeyCode::Char('n'), .. }) [INFO] [stdout] 115 | | => { [INFO] [stdout] 116 | | Transition::Push( [INFO] [stdout] 117 | | View::CreateTaskView( [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ui/render/render_main.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | /// What to do on "select" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | / Event::Key(KeyEvent { code: KeyCode::Char('s') | KeyCode::Enter, .. }) [INFO] [stdout] 127 | | => { [INFO] [stdout] 128 | | let item = self.items[self.selector.idx].clone(); [INFO] [stdout] 129 | | Transition::Push( [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::log::debug_log` [INFO] [stdout] --> src/ui/render/render_task.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::log::debug_log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ui/render/render_create.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | /// Clone city, this is not great Rust... but works for now [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | / if self.is_edit { [INFO] [stdout] 125 | | [INFO] [stdout] 126 | | self.item.name = self.inputs[0].clone(); [INFO] [stdout] 127 | | self.item.desc = self.inputs[1].clone(); [INFO] [stdout] ... | [INFO] [stdout] 138 | | ); [INFO] [stdout] 139 | | } [INFO] [stdout] | |_________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ui/render/render_create.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | /// Create a new task [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | / TaskStore::instance().put( [INFO] [stdout] 134 | | Task::new( [INFO] [stdout] 135 | | self.inputs[0].clone(), [INFO] [stdout] 136 | | self.inputs[1].clone() [INFO] [stdout] 137 | | ) [INFO] [stdout] 138 | | ); [INFO] [stdout] | |_____________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/ui/render/render_config.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/ui/render/render_config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/ui/render/render_config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::NamedTempFile` [INFO] [stdout] --> src/ui/render/render_config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tempfile::NamedTempFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::log::debug_log` [INFO] [stdout] --> src/ui/render/render_config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::log::debug_log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::convert::Storable` [INFO] [stdout] --> src/ui/render/render_popup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::convert::Storable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::store::TaskStore` [INFO] [stdout] --> src/ui/render/render_popup.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::store::TaskStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cli.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{error::Error, io::{self, stdout}}; [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 imports: `Event`, `KeyCode`, and `KeyEvent` [INFO] [stdout] --> src/ui/render/render_popup.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use crossterm::event::{self, Event, KeyCode, KeyEvent}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/ui/render/render_popup.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `csv::Writer` [INFO] [stdout] --> src/model/store.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use csv::Writer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::task_entry::TaskEntry` [INFO] [stdout] --> src/model/store.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::task_entry::TaskEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/model/store.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | /// TODO: Handle cascade! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 101 | / self.db [INFO] [stdout] 102 | | .lock() [INFO] [stdout] 103 | | .unwrap() [INFO] [stdout] 104 | | .remove(item.to_key())?; [INFO] [stdout] | |___________________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::task::Task` [INFO] [stdout] --> src/ui/view.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::task::Task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/ui/view.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::{Display, Debug}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::convert::Storable` [INFO] [stdout] --> src/ui/state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::model::convert::Storable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ui/render/renderable.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | / /// For some views, like dialogue boxes that should appear "layered", [INFO] [stdout] 123 | | /// we don't want to clear the screen below. Same for Stay transitions, [INFO] [stdout] 124 | | /// since doing so induces a flicker. [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 125 | let transition = control_handler(state); [INFO] [stdout] | ---------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ui/render/render_main.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | /// What to do on "new" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | / Event::Key(KeyEvent { code: KeyCode::Char('n'), .. }) [INFO] [stdout] 115 | | => { [INFO] [stdout] 116 | | Transition::Push( [INFO] [stdout] 117 | | View::CreateTaskView( [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ui/render/render_main.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | /// What to do on "select" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | / Event::Key(KeyEvent { code: KeyCode::Char('s') | KeyCode::Enter, .. }) [INFO] [stdout] 127 | | => { [INFO] [stdout] 128 | | let item = self.items[self.selector.idx].clone(); [INFO] [stdout] 129 | | Transition::Push( [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::log::debug_log` [INFO] [stdout] --> src/ui/render/render_task.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::log::debug_log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ui/render/render_create.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | /// Clone city, this is not great Rust... but works for now [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | / if self.is_edit { [INFO] [stdout] 125 | | [INFO] [stdout] 126 | | self.item.name = self.inputs[0].clone(); [INFO] [stdout] 127 | | self.item.desc = self.inputs[1].clone(); [INFO] [stdout] ... | [INFO] [stdout] 138 | | ); [INFO] [stdout] 139 | | } [INFO] [stdout] | |_________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ui/render/render_create.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | /// Create a new task [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | / TaskStore::instance().put( [INFO] [stdout] 134 | | Task::new( [INFO] [stdout] 135 | | self.inputs[0].clone(), [INFO] [stdout] 136 | | self.inputs[1].clone() [INFO] [stdout] 137 | | ) [INFO] [stdout] 138 | | ); [INFO] [stdout] | |_____________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/ui/render/render_config.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/ui/render/render_config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/ui/render/render_config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::NamedTempFile` [INFO] [stdout] --> src/ui/render/render_config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tempfile::NamedTempFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::log::debug_log` [INFO] [stdout] --> src/ui/render/render_config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::log::debug_log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::convert::Storable` [INFO] [stdout] --> src/ui/render/render_popup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::convert::Storable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::store::TaskStore` [INFO] [stdout] --> src/ui/render/render_popup.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::store::TaskStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `KeyCode`, and `KeyEvent` [INFO] [stdout] --> src/ui/render/render_popup.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | use crossterm::event::{self, Event, KeyCode, KeyEvent}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/ui/render/render_popup.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/model/store.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 173 | panic!("Not implemented error!"); [INFO] [stdout] | -------------------------------- any code following this expression is unreachable [INFO] [stdout] 174 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/model/store.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 173 | panic!("Not implemented error!"); [INFO] [stdout] | -------------------------------- any code following this expression is unreachable [INFO] [stdout] 174 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/ui/render/renderable.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 126 | / match transition { [INFO] [stdout] 127 | | Transition::Stay => { [INFO] [stdout] 128 | | return Ok(transition); [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] ... [INFO] [stdout] 140 | terminal.clear()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/ui/render/renderable.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 126 | / match transition { [INFO] [stdout] 127 | | Transition::Stay => { [INFO] [stdout] 128 | | return Ok(transition); [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] ... [INFO] [stdout] 140 | terminal.clear()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/ui/render/renderable.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Stdout, Write, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Renderable` [INFO] [stdout] --> src/ui/render/render_create.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Renderable, AnyWidget, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `backend::Backend` [INFO] [stdout] --> src/ui/render/render_create.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | backend::Backend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Backend` [INFO] [stdout] --> src/ui/render/renderable.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | backend::{Backend, CrosstermBackend}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/ui/render/renderable.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Stdout, Write, Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/ui/render/renderable.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Stdout, Write, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Renderable` [INFO] [stdout] --> src/ui/render/render_create.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Renderable, AnyWidget, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `backend::Backend` [INFO] [stdout] --> src/ui/render/render_create.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | backend::Backend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Backend` [INFO] [stdout] --> src/ui/render/renderable.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | backend::{Backend, CrosstermBackend}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/ui/render/renderable.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Stdout, Write, Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `export_type` [INFO] [stdout] --> src/cli.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | Mode::Export {export_type, file} => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `export_type: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/model/convert.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | fn is_legal_update_from(&self, other: &Self) -> bool { true } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `export_type` [INFO] [stdout] --> src/cli.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | Mode::Export {export_type, file} => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `export_type: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/model/convert.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | fn is_legal_update_from(&self, other: &Self) -> bool { true } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/model/store.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn to_json(&self, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/model/store.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn to_json(&self, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ui/view.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | _ => panic!("This is a packrat bug!") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/ui/view.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 79 | Transition::Push(v) => self.view_stack.push(v), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 80 | Transition::Pop => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 86 | Transition::Quit => break, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 87 | Transition::Stay => continue, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 88 | _ => panic!("This is a packrat bug!") [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/state.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let mut task_entries: Vec = TaskStore::instance() [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: unreachable pattern [INFO] [stdout] --> src/ui/view.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | _ => panic!("This is a packrat bug!") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/ui/view.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 79 | Transition::Push(v) => self.view_stack.push(v), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 80 | Transition::Pop => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 86 | Transition::Quit => break, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 87 | Transition::Stay => continue, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 88 | _ => panic!("This is a packrat bug!") [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/state.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let mut task_entries: Vec = TaskStore::instance() [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: unused variable: `t` [INFO] [stdout] --> src/ui/widgets.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | items.iter().enumerate().map(|(i, t)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transition` [INFO] [stdout] --> src/ui/render/renderable.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let transition = loop { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/ui/widgets.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | items.iter().enumerate().map(|(i, t)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/ui/render/render_create.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let result = loop { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `transition` is never read [INFO] [stdout] --> src/ui/render/render_create.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | let mut transition = Transition::Stay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transition` [INFO] [stdout] --> src/ui/render/renderable.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let transition = loop { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ui/render/render_delete.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | Err(e) => panic!("This is a patrack bug!") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `KeyHandler` is never used [INFO] [stdout] --> src/ui/control.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type KeyHandler = HashMap; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | app.run(); [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] 70 | let _ = app.run(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/store.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | writer.write_record(&names); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 156 | let _ = writer.write_record(&names); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/store.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | writer.write_record(&row); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 165 | let _ = writer.write_record(&row); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/ui/state.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | assert!(task_entries.len() >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/ui/render/render_create.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let result = loop { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/editor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / tmp_file [INFO] [stdout] 18 | | .write_all(bytes) [INFO] [stdout] 19 | | .map_err(|e| format!("Failed to write to temp file: {}", e)); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | let _ = tmp_file [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `transition` is never read [INFO] [stdout] --> src/ui/render/render_create.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | let mut transition = Transition::Stay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/render/renderable.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | fn widgets(&mut self) -> io::Result> { Ok(vec![]) } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 63 | fn widgets(&mut self) -> io::Result>> { Ok(vec![]) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/render/renderable.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | render_view_teardown(&mut terminal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 141 | let _ = render_view_teardown(&mut terminal); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/render/render_main.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn widgets(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 40 | fn widgets(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/render/render_task.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | fn widgets(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 42 | fn widgets(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/render/render_task.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | / ... TaskStore::instance().put( [INFO] [stdout] 101 | | ... TaskEntry::new(self.task.id, "") [INFO] [stdout] 102 | | ... ); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = TaskStore::instance().put( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/render/render_entry.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / tmp_file [INFO] [stdout] 28 | | .write_all(&content) [INFO] [stdout] 29 | | .map_err(|e| format!("Failed to write to temp file: {}", e)); [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = tmp_file [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/render/render_entry.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | TaskStore::instance().put(self.task_entry.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = TaskStore::instance().put(self.task_entry.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/render/render_create.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | fn widgets(&mut self) -> io::Result>; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 56 | fn widgets(&mut self) -> io::Result>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ui/render/render_delete.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | Err(e) => panic!("This is a patrack bug!") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/render/render_create.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | fn widgets(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 62 | fn widgets(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/render/render_create.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | TaskStore::instance().put(self.item.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 129 | let _ = TaskStore::instance().put(self.item.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/render/render_create.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | / TaskStore::instance().put( [INFO] [stdout] 134 | | Task::new( [INFO] [stdout] 135 | | self.inputs[0].clone(), [INFO] [stdout] 136 | | self.inputs[1].clone() [INFO] [stdout] 137 | | ) [INFO] [stdout] 138 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 133 | let _ = TaskStore::instance().put( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/render/render_delete.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | fn widgets(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 22 | fn widgets(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/render/render_config.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | TaskStore::instance().put(t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = TaskStore::instance().put(t); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/render/render_popup.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | fn widgets(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 22 | fn widgets(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `KeyHandler` is never used [INFO] [stdout] --> src/ui/control.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type KeyHandler = HashMap; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | app.run(); [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] 70 | let _ = app.run(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/store.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | writer.write_record(&names); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 156 | let _ = writer.write_record(&names); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/store.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | writer.write_record(&row); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 165 | let _ = writer.write_record(&row); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/ui/state.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | assert!(task_entries.len() >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/editor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / tmp_file [INFO] [stdout] 18 | | .write_all(bytes) [INFO] [stdout] 19 | | .map_err(|e| format!("Failed to write to temp file: {}", e)); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | let _ = tmp_file [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/render/renderable.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | fn widgets(&mut self) -> io::Result> { Ok(vec![]) } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 63 | fn widgets(&mut self) -> io::Result>> { Ok(vec![]) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/render/renderable.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | render_view_teardown(&mut terminal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 141 | let _ = render_view_teardown(&mut terminal); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/render/render_main.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn widgets(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 40 | fn widgets(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/render/render_task.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | fn widgets(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 42 | fn widgets(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/render/render_task.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | / ... TaskStore::instance().put( [INFO] [stdout] 101 | | ... TaskEntry::new(self.task.id, "") [INFO] [stdout] 102 | | ... ); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = TaskStore::instance().put( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/render/render_entry.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / tmp_file [INFO] [stdout] 28 | | .write_all(&content) [INFO] [stdout] 29 | | .map_err(|e| format!("Failed to write to temp file: {}", e)); [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = tmp_file [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/render/render_entry.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | TaskStore::instance().put(self.task_entry.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = TaskStore::instance().put(self.task_entry.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/render/render_create.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | fn widgets(&mut self) -> io::Result>; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 56 | fn widgets(&mut self) -> io::Result>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/render/render_create.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | fn widgets(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 62 | fn widgets(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/render/render_create.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | TaskStore::instance().put(self.item.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 129 | let _ = TaskStore::instance().put(self.item.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/render/render_create.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | / TaskStore::instance().put( [INFO] [stdout] 134 | | Task::new( [INFO] [stdout] 135 | | self.inputs[0].clone(), [INFO] [stdout] 136 | | self.inputs[1].clone() [INFO] [stdout] 137 | | ) [INFO] [stdout] 138 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 133 | let _ = TaskStore::instance().put( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/render/render_delete.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | fn widgets(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 22 | fn widgets(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/render/render_config.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | TaskStore::instance().put(t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = TaskStore::instance().put(t); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/render/render_popup.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | fn widgets(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 22 | fn widgets(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::stdout` [INFO] [stdout] --> src/main.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{error::Error, io::stdout}; [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: `io::stdout` [INFO] [stdout] --> src/main.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{error::Error, io::stdout}; [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: `Mode` [INFO] [stdout] --> src/main.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use packrat::cli::{CLI, Mode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mode` [INFO] [stdout] --> src/main.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use packrat::cli::{CLI, Mode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::Parser` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::Parser` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> tests/test_model.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | fn fill_db_tasks_random(ts: &TaskStore, n: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> tests/test_model.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 18 | fn fill_db_entries_random(ts: &TaskStore, n: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_1` [INFO] [stdout] --> tests/test_model.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let entry_1 = ts.put(TaskEntry::new(task1.id, "Today I walked the dog")); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_2` [INFO] [stdout] --> tests/test_model.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let entry_2 = ts.put(TaskEntry::new(task1.id, "Yesterday I walked buddy twice")); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_1_1` [INFO] [stdout] --> tests/test_model.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let entry_1_1 = ts.put(TaskEntry::new(task1.id, "1 Today I walked the dog")); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_1_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_1_2` [INFO] [stdout] --> tests/test_model.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let entry_1_2 = ts.put(TaskEntry::new(task1.id, "1 Yesterday I walked buddy twice")); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_1_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_2_1` [INFO] [stdout] --> tests/test_model.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let entry_2_1 = ts.put(TaskEntry::new(task2.id, "2 Today I walked the dog")); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_2_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_2_2` [INFO] [stdout] --> tests/test_model.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let entry_2_2 = ts.put(TaskEntry::new(task2.id, "2 Yesterday I walked buddy twice")); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_2_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_db_entries_random` is never used [INFO] [stdout] --> tests/test_model.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn fill_db_entries_random(ts: &TaskStore, n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.40s [INFO] running `Command { std: "docker" "inspect" "a84c3b2c04e473387fafb5eebe830556b3d645bdf8987bc00b510ff1b713e941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a84c3b2c04e473387fafb5eebe830556b3d645bdf8987bc00b510ff1b713e941", kill_on_drop: false }` [INFO] [stdout] a84c3b2c04e473387fafb5eebe830556b3d645bdf8987bc00b510ff1b713e941