[INFO] cloning repository https://github.com/adewuyito/Tracker-Application [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adewuyito/Tracker-Application" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadewuyito%2FTracker-Application", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadewuyito%2FTracker-Application'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 790c8b177c344622588c2ef221ccb178ca6cd318 [INFO] linting adewuyito/Tracker-Application against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadewuyito%2FTracker-Application" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/adewuyito/Tracker-Application [INFO] finished tweaking git repo https://github.com/adewuyito/Tracker-Application [INFO] tweaked toml for git repo https://github.com/adewuyito/Tracker-Application written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/adewuyito/Tracker-Application on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/adewuyito/Tracker-Application 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded newline-converter v0.3.0 [INFO] [stderr] Downloaded comfy-table v7.2.1 [INFO] [stderr] Downloaded signal-hook-mio v0.2.4 [INFO] [stderr] Downloaded litrs v0.4.2 [INFO] [stderr] Downloaded fuzzy-matcher v0.3.7 [INFO] [stderr] Downloaded clap v4.5.49 [INFO] [stderr] Downloaded dyn-clone v1.0.20 [INFO] [stderr] Downloaded crossterm v0.25.0 [INFO] [stderr] Downloaded inquire v0.7.5 [INFO] [stderr] Downloaded uuid v1.18.1 [INFO] [stderr] Downloaded clap_builder v4.5.49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a193a26802a3d2bca056ae850c3ee85ac7b8d67a9b69aa7cf044645b00dfa50 [INFO] running `Command { std: "docker" "start" "-a" "3a193a26802a3d2bca056ae850c3ee85ac7b8d67a9b69aa7cf044645b00dfa50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a193a26802a3d2bca056ae850c3ee85ac7b8d67a9b69aa7cf044645b00dfa50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a193a26802a3d2bca056ae850c3ee85ac7b8d67a9b69aa7cf044645b00dfa50", kill_on_drop: false }` [INFO] [stdout] 3a193a26802a3d2bca056ae850c3ee85ac7b8d67a9b69aa7cf044645b00dfa50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c48caaf0d05671bb4b14cc456d875a8443cc79bbc46b6328f42c0fbbd40f3fec [INFO] running `Command { std: "docker" "start" "-a" "c48caaf0d05671bb4b14cc456d875a8443cc79bbc46b6328f42c0fbbd40f3fec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking newline-converter v0.3.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking clap_builder v4.5.49 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking comfy-table v7.2.1 [INFO] [stderr] Checking inquire v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking clap v4.5.49 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking Tracker-Application v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `CategoryModel` is never constructed [INFO] [stdout] --> src/category_model.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct CategoryModel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_task`, `get_task_from_id`, and `print_tasks` are never used [INFO] [stdout] --> src/task_manager.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl TaskManager [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | T: Default + Debug + Display + Clone + Serialize, [INFO] [stdout] 21 | | T: DeserializeOwned, [INFO] [stdout] | |________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn list_task(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_task_from_id(&self, id: &Uuid) -> Result<&TaskModel, TaskModelError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn print_tasks(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CanNotCreateTask` is never constructed [INFO] [stdout] --> src/task_manager_enums.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum TaskModelError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 33 | CanNotCreateTask, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskModelError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StorageError` is never used [INFO] [stdout] --> src/task_manager_enums.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum StorageError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copyFrom` is never used [INFO] [stdout] --> src/task_model.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TaskModel { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn copyFrom( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Displayable` is never used [INFO] [stdout] --> src/task_model.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | pub trait Displayable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CategoryModel` is never constructed [INFO] [stdout] --> src/category_model.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct CategoryModel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_task`, `get_task_from_id`, and `print_tasks` are never used [INFO] [stdout] --> src/task_manager.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl TaskManager [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | T: Default + Debug + Display + Clone + Serialize, [INFO] [stdout] 21 | | T: DeserializeOwned, [INFO] [stdout] | |________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn list_task(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_task_from_id(&self, id: &Uuid) -> Result<&TaskModel, TaskModelError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn print_tasks(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CanNotCreateTask` is never constructed [INFO] [stdout] --> src/task_manager_enums.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum TaskModelError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 33 | CanNotCreateTask, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskModelError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StorageError` is never used [INFO] [stdout] --> src/task_manager_enums.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum StorageError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copyFrom` is never used [INFO] [stdout] --> src/task_model.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TaskModel { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn copyFrom( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Displayable` is never used [INFO] [stdout] --> src/task_model.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | pub trait Displayable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function call inside of `expect` [INFO] [stdout] --> src/storage.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fs::write(path, json).expect(&format!("Unable to write file {}", path.display())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_else(|_| panic!("Unable to write file {}", path.display()))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stdout] = note: `#[warn(clippy::expect_fun_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/storage.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if !Self::first_initialize(file_name).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Self::first_initialize(file_name).is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function call inside of `expect` [INFO] [stdout] --> src/storage.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | fs::File::create(path).expect(&format!("Unable to create file {}", path.display())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_else(|_| panic!("Unable to create file {}", path.display()))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function call inside of `expect` [INFO] [stdout] --> src/storage.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | fs::read_to_string(path).expect(&format!("Unable to read file {}", path.display())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_else(|_| panic!("Unable to read file {}", path.display()))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function call inside of `expect` [INFO] [stdout] --> src/storage.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fs::write(path, json).expect(&format!("Unable to write file {}", path.display())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_else(|_| panic!("Unable to write file {}", path.display()))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stdout] = note: `#[warn(clippy::expect_fun_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/storage.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if !Self::first_initialize(file_name).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Self::first_initialize(file_name).is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function call inside of `expect` [INFO] [stdout] --> src/storage.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | fs::File::create(path).expect(&format!("Unable to create file {}", path.display())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_else(|_| panic!("Unable to create file {}", path.display()))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function call inside of `expect` [INFO] [stdout] --> src/storage.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | fs::read_to_string(path).expect(&format!("Unable to read file {}", path.display())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_else(|_| panic!("Unable to read file {}", path.display()))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/task_manager.rs:150:50 [INFO] [stdout] | [INFO] [stdout] 150 | Priority::Priority1 => Cell::new(&task.priority), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `task.priority` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/task_manager.rs:152:50 [INFO] [stdout] | [INFO] [stdout] 152 | Priority::Priority2 => Cell::new(&task.priority), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `task.priority` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/task_manager.rs:154:50 [INFO] [stdout] | [INFO] [stdout] 154 | Priority::Priority3 => Cell::new(&task.priority) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `task.priority` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/task_manager.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | Status::ToDo => Cell::new(&task.status), [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `task.status` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/task_manager.rs:162:49 [INFO] [stdout] | [INFO] [stdout] 162 | Status::InProgress => Cell::new(&task.status), [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `task.status` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/task_manager.rs:164:43 [INFO] [stdout] | [INFO] [stdout] 164 | Status::Done => Cell::new(&task.status) [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `task.status` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/task_manager.rs:150:50 [INFO] [stdout] | [INFO] [stdout] 150 | Priority::Priority1 => Cell::new(&task.priority), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `task.priority` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/task_manager.rs:152:50 [INFO] [stdout] | [INFO] [stdout] 152 | Priority::Priority2 => Cell::new(&task.priority), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `task.priority` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/task_manager.rs:154:50 [INFO] [stdout] | [INFO] [stdout] 154 | Priority::Priority3 => Cell::new(&task.priority) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `task.priority` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/task_manager.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | Status::ToDo => Cell::new(&task.status), [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `task.status` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/task_manager.rs:162:49 [INFO] [stdout] | [INFO] [stdout] 162 | Status::InProgress => Cell::new(&task.status), [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `task.status` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/task_manager.rs:164:43 [INFO] [stdout] | [INFO] [stdout] 164 | Status::Done => Cell::new(&task.status) [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `task.status` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same prefix: `Error` [INFO] [stdout] --> src/task_manager_enums.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / pub enum StorageError { [INFO] [stdout] 39 | | ErrorSavingToFile(String), [INFO] [stdout] 40 | | ErrorLoadingFile(String), [INFO] [stdout] 41 | | ErrorCreatingFile, [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the prefixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same prefix: `Error` [INFO] [stdout] --> src/task_manager_enums.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / pub enum StorageError { [INFO] [stdout] 39 | | ErrorSavingToFile(String), [INFO] [stdout] 40 | | ErrorLoadingFile(String), [INFO] [stdout] 41 | | ErrorCreatingFile, [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the prefixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copyFrom` should have a snake case name [INFO] [stdout] --> src/task_model.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn copyFrom( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `copy_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copyFrom` should have a snake case name [INFO] [stdout] --> src/task_model.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn copyFrom( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `copy_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.86s [INFO] running `Command { std: "docker" "inspect" "c48caaf0d05671bb4b14cc456d875a8443cc79bbc46b6328f42c0fbbd40f3fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c48caaf0d05671bb4b14cc456d875a8443cc79bbc46b6328f42c0fbbd40f3fec", kill_on_drop: false }` [INFO] [stdout] c48caaf0d05671bb4b14cc456d875a8443cc79bbc46b6328f42c0fbbd40f3fec