[INFO] cloning repository https://github.com/firatege/rust-to-do [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/firatege/rust-to-do" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffiratege%2Frust-to-do", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffiratege%2Frust-to-do'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 864a1d094194c0618264ddc1c38046ded97cff75 [INFO] checking firatege/rust-to-do against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffiratege%2Frust-to-do" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/firatege/rust-to-do [INFO] finished tweaking git repo https://github.com/firatege/rust-to-do [INFO] tweaked toml for git repo https://github.com/firatege/rust-to-do written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/firatege/rust-to-do on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/firatege/rust-to-do 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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5088ec302ea0f42ce2e8a13a043f586e18b4129efc4772c0f2c857c97ad6893d [INFO] running `Command { std: "docker" "start" "-a" "5088ec302ea0f42ce2e8a13a043f586e18b4129efc4772c0f2c857c97ad6893d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5088ec302ea0f42ce2e8a13a043f586e18b4129efc4772c0f2c857c97ad6893d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5088ec302ea0f42ce2e8a13a043f586e18b4129efc4772c0f2c857c97ad6893d", kill_on_drop: false }` [INFO] [stdout] 5088ec302ea0f42ce2e8a13a043f586e18b4129efc4772c0f2c857c97ad6893d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 929c04578adb6b4ceb3b18c8446578f10fef8e4538de1a92c0a67d5a5c4a9ad2 [INFO] running `Command { std: "docker" "start" "-a" "929c04578adb6b4ceb3b18c8446578f10fef8e4538de1a92c0a67d5a5c4a9ad2", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking to-do v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | let mut choice = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `choice` [INFO] [stdout] --> src/main.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | let mut choice = String::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_choice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workspace` [INFO] [stdout] --> src/main.rs:283:33 [INFO] [stdout] | [INFO] [stdout] 283 | if let Some(workspace) = ¤t_workspace { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_role` is never read [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | user_role: UserRole, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Debug` and `Clone`, but these are 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: field `create_at` is never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct WorkSpace { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | create_at: NaiveTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkSpace` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `workspace` and `create_at` are never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct GoalTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | workspace: u32, // workspace id [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | create_at: NaiveTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoalTable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `table`, and `create_at` are never read [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Goal { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 41 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 44 | table: u32, // table id [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | create_at: NaiveTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Goal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | let mut choice = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `choice` [INFO] [stdout] --> src/main.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | let mut choice = String::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_choice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workspace` [INFO] [stdout] --> src/main.rs:283:33 [INFO] [stdout] | [INFO] [stdout] 283 | if let Some(workspace) = ¤t_workspace { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_role` is never read [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | user_role: UserRole, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Debug` and `Clone`, but these are 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: field `create_at` is never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct WorkSpace { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | create_at: NaiveTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkSpace` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `workspace` and `create_at` are never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct GoalTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | workspace: u32, // workspace id [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | create_at: NaiveTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoalTable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `table`, and `create_at` are never read [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Goal { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 41 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 44 | table: u32, // table id [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | create_at: NaiveTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Goal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.32s [INFO] running `Command { std: "docker" "inspect" "929c04578adb6b4ceb3b18c8446578f10fef8e4538de1a92c0a67d5a5c4a9ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "929c04578adb6b4ceb3b18c8446578f10fef8e4538de1a92c0a67d5a5c4a9ad2", kill_on_drop: false }` [INFO] [stdout] 929c04578adb6b4ceb3b18c8446578f10fef8e4538de1a92c0a67d5a5c4a9ad2