[INFO] cloning repository https://github.com/KUZMINRAPR/todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KUZMINRAPR/todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKUZMINRAPR%2Ftodo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKUZMINRAPR%2Ftodo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca9baf1f3962496df4220cf3ef5c3293727e4d6e [INFO] checking KUZMINRAPR/todo against master#426a60abc213b28a7c7198e475476b6e650d871f for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKUZMINRAPR%2Ftodo" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KUZMINRAPR/todo on toolchain 426a60abc213b28a7c7198e475476b6e650d871f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KUZMINRAPR/todo [INFO] finished tweaking git repo https://github.com/KUZMINRAPR/todo [INFO] tweaked toml for git repo https://github.com/KUZMINRAPR/todo written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KUZMINRAPR/todo 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" "+426a60abc213b28a7c7198e475476b6e650d871f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking KUZMINRAPR/todo against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKUZMINRAPR%2Ftodo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KUZMINRAPR/todo on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KUZMINRAPR/todo [INFO] finished tweaking git repo https://github.com/KUZMINRAPR/todo [INFO] tweaked toml for git repo https://github.com/KUZMINRAPR/todo written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KUZMINRAPR/todo 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" "+2c70eb47850052381670935f807d41647a7dc992" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bba722f6d519ebe0af371be0ce8a32940a4ff7f449b4699b8446608299470e8 [INFO] running `Command { std: "docker" "start" "-a" "6bba722f6d519ebe0af371be0ce8a32940a4ff7f449b4699b8446608299470e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bba722f6d519ebe0af371be0ce8a32940a4ff7f449b4699b8446608299470e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bba722f6d519ebe0af371be0ce8a32940a4ff7f449b4699b8446608299470e8", kill_on_drop: false }` [INFO] [stdout] 6bba722f6d519ebe0af371be0ce8a32940a4ff7f449b4699b8446608299470e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e46b307aad8cf51458d3fcc5d174c584d15d802b0efedf4e60b73d2b2ee4b00e [INFO] running `Command { std: "docker" "start" "-a" "e46b307aad8cf51458d3fcc5d174c584d15d802b0efedf4e60b73d2b2ee4b00e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking unicode-truncate v1.0.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ratatui v0.27.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking todo_list v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/todo/task.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/todo/task.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/todo.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | let temp = remove_task(&self.tasks[i], &self.client).await; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/todo.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | let temp = remove_task(&self.tasks[i], &self.client).await; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 33 | / loop { [INFO] [stdout] 34 | | terminal.draw(|frame| { [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | })?; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 40 | stdout().execute(LeaveAlternateScreen)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 33 | / loop { [INFO] [stdout] 34 | | terminal.draw(|frame| { [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | })?; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 40 | stdout().execute(LeaveAlternateScreen)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/console.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_to_console(frame: &mut Frame){} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/console.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_to_console(frame: &mut Frame){} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `todo` [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut todo = Todo::new(client); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_todo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `todo` [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut todo = Todo::new(client); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_todo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | terminal.draw(|frame| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | terminal.draw(|frame| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut todo = Todo::new(client); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut todo = Todo::new(client); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tasks` and `client` are never read [INFO] [stdout] --> src/todo.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Todo { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | pub tasks: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub client: Client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_from_db`, `list_tasks`, `add_task`, `edit_task`, `remove_task`, and `clear` are never used [INFO] [stdout] --> src/todo.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl Todo{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn get_from_db(&mut self) -> Result<(), tokio_postgres::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn list_tasks(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn add_task(&mut self, text: &String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn edit_task(&mut self,task: &Task,status: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn remove_task(&mut self, task: &Task) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/todo/task.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Task{ [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 6 | pub text: String, [INFO] [stdout] 7 | pub status: Status [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tasks` and `client` are never read [INFO] [stdout] --> src/todo.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Todo { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | pub tasks: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub client: Client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/todo/task.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Task{ [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(text: String) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_done` is never used [INFO] [stdout] --> src/todo/task.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Task { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 26 | pub fn is_done(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_task_to_db` is never used [INFO] [stdout] --> src/manage.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) async fn add_task_to_db(task: &Task, client: &Client) -> Result<(),tokio_postgres::Error>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_from_db`, `list_tasks`, `add_task`, `edit_task`, `remove_task`, and `clear` are never used [INFO] [stdout] --> src/todo.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl Todo{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn get_from_db(&mut self) -> Result<(), tokio_postgres::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn list_tasks(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn add_task(&mut self, text: &String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn edit_task(&mut self,task: &Task,status: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn remove_task(&mut self, task: &Task) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_task` is never used [INFO] [stdout] --> src/manage.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) async fn update_task(task: &Task, client: &Client) -> Result<(),tokio_postgres::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_task` is never used [INFO] [stdout] --> src/manage.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) async fn remove_task(task: &Task,client: &Client) -> Result<(),tokio_postgres::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_db` is never used [INFO] [stdout] --> src/manage.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) async fn clear_db(client: &Client) -> Result<(),tokio_postgres::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/todo/task.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Task{ [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 6 | pub text: String, [INFO] [stdout] 7 | pub status: Status [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_console` is never used [INFO] [stdout] --> src/console.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_to_console(frame: &mut Frame){} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/todo/task.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Task{ [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(text: String) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_done` is never used [INFO] [stdout] --> src/todo/task.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Task { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 26 | pub fn is_done(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_task_to_db` is never used [INFO] [stdout] --> src/manage.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) async fn add_task_to_db(task: &Task, client: &Client) -> Result<(),tokio_postgres::Error>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_task` is never used [INFO] [stdout] --> src/manage.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) async fn update_task(task: &Task, client: &Client) -> Result<(),tokio_postgres::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_task` is never used [INFO] [stdout] --> src/manage.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) async fn remove_task(task: &Task,client: &Client) -> Result<(),tokio_postgres::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_db` is never used [INFO] [stdout] --> src/manage.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) async fn clear_db(client: &Client) -> Result<(),tokio_postgres::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_console` is never used [INFO] [stdout] --> src/console.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_to_console(frame: &mut Frame){} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.51s [INFO] running `Command { std: "docker" "inspect" "e46b307aad8cf51458d3fcc5d174c584d15d802b0efedf4e60b73d2b2ee4b00e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e46b307aad8cf51458d3fcc5d174c584d15d802b0efedf4e60b73d2b2ee4b00e", kill_on_drop: false }` [INFO] [stdout] e46b307aad8cf51458d3fcc5d174c584d15d802b0efedf4e60b73d2b2ee4b00e