[INFO] cloning repository https://github.com/darrior/aaa-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darrior/aaa-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarrior%2Faaa-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarrior%2Faaa-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e92ebe3beef6f78421bf8eec282c5d48626e9536 [INFO] checking darrior/aaa-bot against try#377afada703be70d3fdff9164a481570a3cba7fe for pr-113240 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarrior%2Faaa-bot" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/darrior/aaa-bot on toolchain 377afada703be70d3fdff9164a481570a3cba7fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/darrior/aaa-bot [INFO] finished tweaking git repo https://github.com/darrior/aaa-bot [INFO] tweaked toml for git repo https://github.com/darrior/aaa-bot written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/darrior/aaa-bot 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" "+377afada703be70d3fdff9164a481570a3cba7fe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73253349acf169f2bc4e235b71f4b31d1418507783a595a518e96f24e105baae [INFO] running `Command { std: "docker" "start" "-a" "73253349acf169f2bc4e235b71f4b31d1418507783a595a518e96f24e105baae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73253349acf169f2bc4e235b71f4b31d1418507783a595a518e96f24e105baae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73253349acf169f2bc4e235b71f4b31d1418507783a595a518e96f24e105baae", kill_on_drop: false }` [INFO] [stdout] 73253349acf169f2bc4e235b71f4b31d1418507783a595a518e96f24e105baae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8807586c76c4932bcbaf0203a75e2e0a12f554c1724c8904765edfb632637f03 [INFO] running `Command { std: "docker" "start" "-a" "8807586c76c4932bcbaf0203a75e2e0a12f554c1724c8904765edfb632637f03", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling tokio v1.21.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling itertools v0.10.4 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling crc-catalog v2.1.0 [INFO] [stderr] Compiling crc v3.0.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Compiling sha2 v0.10.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hashlink v0.8.0 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling url v2.3.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling dotenvy v0.15.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking iana-time-zone v0.1.47 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Compiling sqlformat v0.2.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking webpki-roots v0.22.4 [INFO] [stderr] Compiling futures-executor v0.3.24 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling sqlx-rt v0.6.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling teloxide-macros v0.6.3 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Checking openssl v0.10.41 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking thiserror v1.0.34 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking native-tls v0.2.10 [INFO] [stderr] Checking serde v1.0.144 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Compiling sqlx-core v0.6.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.85 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking teloxide-core v0.7.1 [INFO] [stderr] Compiling sqlx-macros v0.6.2 [INFO] [stderr] Checking sqlx v0.6.2 [INFO] [stderr] Checking teloxide v0.10.1 [INFO] [stderr] Checking aaa-bot v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/task.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result`, `Value` [INFO] [stdout] --> src/task.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/task.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result`, `Value` [INFO] [stdout] --> src/task.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/todo_list.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/todo_list.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(mut note) = NOTES.lock().unwrap().note_as_mut(id) { [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:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(mut note) = NOTES.lock().unwrap().note_as_mut(id) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some(mut note) = NOTES.lock().unwrap().note_as_mut(id) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(mut note) = NOTES.lock().unwrap().note_as_mut(id) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `task::State` in public interface (error E0446) [INFO] [stdout] --> src/task.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn set_state(&mut self, state: State) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `task::State` in public interface (error E0446) [INFO] [stdout] --> src/task.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn state(&self) -> &State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/task.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn dry_new() -> Task { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn with_id(self, new_id: u64) -> Task { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn with_text(self, note: String) -> Task { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn with_state_todo(self) -> Task { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn with_state_doing(self) -> Task { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn with_state_done(self) -> Task { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn with_deadline(self, date: String) -> Task { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn from_json(json: String) -> Task { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn to_json(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn set_id(&mut self, id: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn set_chat_id(&mut self, chat_id: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn set_state(&mut self, state: State) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn header(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn text(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn state(&self) -> &State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn todo(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn doing(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(mut note) = NOTES.lock().unwrap().note_as_mut(id) { [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:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(mut note) = NOTES.lock().unwrap().note_as_mut(id) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some(mut note) = NOTES.lock().unwrap().note_as_mut(id) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(mut note) = NOTES.lock().unwrap().note_as_mut(id) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `task::State` in public interface (error E0446) [INFO] [stdout] --> src/task.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn set_state(&mut self, state: State) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `task::State` in public interface (error E0446) [INFO] [stdout] --> src/task.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn state(&self) -> &State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/task.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn dry_new() -> Task { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn with_id(self, new_id: u64) -> Task { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn with_text(self, note: String) -> Task { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn with_state_todo(self) -> Task { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn with_state_doing(self) -> Task { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn with_state_done(self) -> Task { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn with_deadline(self, date: String) -> Task { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn from_json(json: String) -> Task { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn to_json(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn set_id(&mut self, id: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn set_chat_id(&mut self, chat_id: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn set_state(&mut self, state: State) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn header(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn text(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn state(&self) -> &State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn todo(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn doing(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "8807586c76c4932bcbaf0203a75e2e0a12f554c1724c8904765edfb632637f03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8807586c76c4932bcbaf0203a75e2e0a12f554c1724c8904765edfb632637f03", kill_on_drop: false }` [INFO] [stdout] 8807586c76c4932bcbaf0203a75e2e0a12f554c1724c8904765edfb632637f03