[INFO] cloning repository https://github.com/rayanpiro/todo_list [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rayanpiro/todo_list" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frayanpiro%2Ftodo_list", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frayanpiro%2Ftodo_list'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32cb07b692f3ee36d89435b1d60aafbbf5fe34e9 [INFO] checking rayanpiro/todo_list against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frayanpiro%2Ftodo_list" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rayanpiro/todo_list [INFO] finished tweaking git repo https://github.com/rayanpiro/todo_list [INFO] tweaked toml for git repo https://github.com/rayanpiro/todo_list written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rayanpiro/todo_list on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rayanpiro/todo_list 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 493a119c1992c698a80c607ea034a1fb9856f0fc4f8318fb5cf0d2bcbe28f30a [INFO] running `Command { std: "docker" "start" "-a" "493a119c1992c698a80c607ea034a1fb9856f0fc4f8318fb5cf0d2bcbe28f30a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "493a119c1992c698a80c607ea034a1fb9856f0fc4f8318fb5cf0d2bcbe28f30a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "493a119c1992c698a80c607ea034a1fb9856f0fc4f8318fb5cf0d2bcbe28f30a", kill_on_drop: false }` [INFO] [stdout] 493a119c1992c698a80c607ea034a1fb9856f0fc4f8318fb5cf0d2bcbe28f30a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7df175dcffd97e95f1a052802a0f67ce155da9b00cf92afffcdd10ba48ab4059 [INFO] running `Command { std: "docker" "start" "-a" "7df175dcffd97e95f1a052802a0f67ce155da9b00cf92afffcdd10ba48ab4059", kill_on_drop: false }` [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking todo_list v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::shared::task::task_id::TaskId` [INFO] [stdout] --> src/category/domain/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::shared::task::task_id::TaskId; [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: `crate::task::application` [INFO] [stdout] --> src/controllers/http/tokio_http_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::application; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::task::application` [INFO] [stdout] --> src/controllers/cli/cli_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::application; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `errors` and `models` [INFO] [stdout] --> src/task/application/create_task.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::domain::{models, errors}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `errors` and `models` [INFO] [stdout] --> src/task/application/fetch_task.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::domain::{models, errors}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `errors` and `models` [INFO] [stdout] --> src/task/application/fetch_all_tasks.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::domain::{models, errors}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `errors` and `models` [INFO] [stdout] --> src/task/application/remove_task.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::domain::{models, errors}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `errors` and `models` [INFO] [stdout] --> src/task/application/update_task.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::domain::{models, errors}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `errors` and `models` [INFO] [stdout] --> src/task/application/complete_task.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::domain::{models, errors}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shared::task::task_id::TaskId` [INFO] [stdout] --> src/category/domain/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::shared::task::task_id::TaskId; [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: `crate::task::application` [INFO] [stdout] --> src/controllers/http/tokio_http_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::application; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::task::application` [INFO] [stdout] --> src/controllers/cli/cli_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::application; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `errors` and `models` [INFO] [stdout] --> src/task/application/create_task.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::domain::{models, errors}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `errors` and `models` [INFO] [stdout] --> src/task/application/fetch_task.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::domain::{models, errors}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `errors` and `models` [INFO] [stdout] --> src/task/application/fetch_all_tasks.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::domain::{models, errors}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `errors` and `models` [INFO] [stdout] --> src/task/application/remove_task.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::domain::{models, errors}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `errors` and `models` [INFO] [stdout] --> src/task/application/update_task.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::domain::{models, errors}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `errors` and `models` [INFO] [stdout] --> src/task/application/complete_task.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::task::domain::{models, errors}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/category/domain/models.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CategoryName(String); [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/category/domain/models.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Category { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | id: CategoryId, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | name: CategoryName, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/shared/category/category_id.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CategoryId(Uuid); [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/shared/task/task_id.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TaskId(Uuid); [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/task/domain/models.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TaskCompleted(bool); [INFO] [stdout] | ------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `completed` are never read [INFO] [stdout] --> src/task/domain/models.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Task { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | id: TaskId, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | name: TaskName, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | completed: TaskCompleted, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/category/domain/models.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CategoryName(String); [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/category/domain/models.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Category { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | id: CategoryId, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | name: CategoryName, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/shared/category/category_id.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CategoryId(Uuid); [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/shared/task/task_id.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TaskId(Uuid); [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/task/domain/models.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TaskCompleted(bool); [INFO] [stdout] | ------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `completed` are never read [INFO] [stdout] --> src/task/domain/models.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Task { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | id: TaskId, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | name: TaskName, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | completed: TaskCompleted, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "7df175dcffd97e95f1a052802a0f67ce155da9b00cf92afffcdd10ba48ab4059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df175dcffd97e95f1a052802a0f67ce155da9b00cf92afffcdd10ba48ab4059", kill_on_drop: false }` [INFO] [stdout] 7df175dcffd97e95f1a052802a0f67ce155da9b00cf92afffcdd10ba48ab4059