[INFO] cloning repository https://github.com/benzid-wael/taskly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benzid-wael/taskly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenzid-wael%2Ftaskly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenzid-wael%2Ftaskly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e0237e6369cb998941e34ceeb6ab5d3f688d150 [INFO] checking benzid-wael/taskly against master#cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd for pr-145463 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenzid-wael%2Ftaskly" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/benzid-wael/taskly [INFO] finished tweaking git repo https://github.com/benzid-wael/taskly [INFO] tweaked toml for git repo https://github.com/benzid-wael/taskly written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/benzid-wael/taskly on toolchain cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/benzid-wael/taskly 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" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 089d77f2a720c0aa739505effda1bedbeb64ccbb4eadf0584d58428097a83a0e [INFO] running `Command { std: "docker" "start" "-a" "089d77f2a720c0aa739505effda1bedbeb64ccbb4eadf0584d58428097a83a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "089d77f2a720c0aa739505effda1bedbeb64ccbb4eadf0584d58428097a83a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "089d77f2a720c0aa739505effda1bedbeb64ccbb4eadf0584d58428097a83a0e", kill_on_drop: false }` [INFO] [stdout] 089d77f2a720c0aa739505effda1bedbeb64ccbb4eadf0584d58428097a83a0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9884ad2e271c71c4215364feb4e7914f7516cc01bb612e1821db832d61128c18 [INFO] running `Command { std: "docker" "start" "-a" "9884ad2e271c71c4215364feb4e7914f7516cc01bb612e1821db832d61128c18", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Checking clap v3.0.0-beta.5 [INFO] [stderr] Checking taskly v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `item::Starrable` [INFO] [stdout] --> src/entities/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use item::Starrable; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FSMError` [INFO] [stdout] --> src/main.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use entities::{Taggable, FSM, Status, FSMError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item::Starrable` [INFO] [stdout] --> src/entities/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use item::Starrable; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FSMError` [INFO] [stdout] --> src/main.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use entities::{Taggable, FSM, Status, FSMError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, `description`, and `created_at` are never read [INFO] [stdout] --> src/entities/note.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Note { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | /* Common Item fields */ [INFO] [stdout] 9 | id: EID, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | created_at: SystemTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Note` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Manageable` is never used [INFO] [stdout] --> src/entities/item.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Manageable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `star` and `unstar` are never used [INFO] [stdout] --> src/entities/item.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Starrable { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 15 | fn star(&mut self); [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | fn unstar(&mut self); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_tag` is never used [INFO] [stdout] --> src/entities/item.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Taggable { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 20 | fn add_tag(&mut self, tag: String); [INFO] [stdout] 21 | fn remove_tag(&mut self, tag: String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Done` and `Cancelled` are never constructed [INFO] [stdout] --> src/entities/task.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | Cancelled, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `complete` and `cancel` are never used [INFO] [stdout] --> src/entities/task.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait FSM { [INFO] [stdout] | --- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 83 | transition!{complete, Status, Done, Todo, InProgress, OnHold, Cancelled} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 84 | transition!{cancel, Status, Cancelled, Todo, InProgress, OnHold, Done} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `transition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, `description`, and `created_at` are never read [INFO] [stdout] --> src/entities/task.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Task { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 90 | /* Common Item fields */ [INFO] [stdout] 91 | id: EID, [INFO] [stdout] | ^^ [INFO] [stdout] 92 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 93 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 94 | created_at: SystemTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | task.start(); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = task.start(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, `description`, and `created_at` are never read [INFO] [stdout] --> src/entities/note.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Note { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | /* Common Item fields */ [INFO] [stdout] 9 | id: EID, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | created_at: SystemTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Note` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Manageable` is never used [INFO] [stdout] --> src/entities/item.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Manageable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `star` and `unstar` are never used [INFO] [stdout] --> src/entities/item.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Starrable { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 15 | fn star(&mut self); [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | fn unstar(&mut self); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_tag` is never used [INFO] [stdout] --> src/entities/item.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Taggable { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 20 | fn add_tag(&mut self, tag: String); [INFO] [stdout] 21 | fn remove_tag(&mut self, tag: String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Done` and `Cancelled` are never constructed [INFO] [stdout] --> src/entities/task.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | Cancelled, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `complete` and `cancel` are never used [INFO] [stdout] --> src/entities/task.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait FSM { [INFO] [stdout] | --- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 83 | transition!{complete, Status, Done, Todo, InProgress, OnHold, Cancelled} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 84 | transition!{cancel, Status, Cancelled, Todo, InProgress, OnHold, Done} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `transition` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, `description`, and `created_at` are never read [INFO] [stdout] --> src/entities/task.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Task { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 90 | /* Common Item fields */ [INFO] [stdout] 91 | id: EID, [INFO] [stdout] | ^^ [INFO] [stdout] 92 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 93 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 94 | created_at: SystemTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | task.start(); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = task.start(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.90s [INFO] running `Command { std: "docker" "inspect" "9884ad2e271c71c4215364feb4e7914f7516cc01bb612e1821db832d61128c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9884ad2e271c71c4215364feb4e7914f7516cc01bb612e1821db832d61128c18", kill_on_drop: false }` [INFO] [stdout] 9884ad2e271c71c4215364feb4e7914f7516cc01bb612e1821db832d61128c18