[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#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenzid-wael%2Ftaskly" "/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/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/benzid-wael/taskly on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.5 [INFO] [stderr] Downloaded os_str_bytes v4.2.0 [INFO] [stderr] Downloaded clap v3.0.0-beta.5 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8f02e1f83369ece2057bd59444728286df5c08221799105cb4f07c2047ec9e9 [INFO] running `Command { std: "docker" "start" "-a" "a8f02e1f83369ece2057bd59444728286df5c08221799105cb4f07c2047ec9e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8f02e1f83369ece2057bd59444728286df5c08221799105cb4f07c2047ec9e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f02e1f83369ece2057bd59444728286df5c08221799105cb4f07c2047ec9e9", kill_on_drop: false }` [INFO] [stdout] a8f02e1f83369ece2057bd59444728286df5c08221799105cb4f07c2047ec9e9 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17165c0d58bcaf3443669f058a08317d4b6b4cbf055cb134c200ec02f1ee9379 [INFO] running `Command { std: "docker" "start" "-a" "17165c0d58bcaf3443669f058a08317d4b6b4cbf055cb134c200ec02f1ee9379", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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 12.17s [INFO] running `Command { std: "docker" "inspect" "17165c0d58bcaf3443669f058a08317d4b6b4cbf055cb134c200ec02f1ee9379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17165c0d58bcaf3443669f058a08317d4b6b4cbf055cb134c200ec02f1ee9379", kill_on_drop: false }` [INFO] [stdout] 17165c0d58bcaf3443669f058a08317d4b6b4cbf055cb134c200ec02f1ee9379