[INFO] cloning repository https://github.com/LeviathanST/TodoCLI-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LeviathanST/TodoCLI-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeviathanST%2FTodoCLI-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeviathanST%2FTodoCLI-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 442d88db0a517a7f8706e28cb9a27d44b426e13d [INFO] checking LeviathanST/TodoCLI-Rust against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeviathanST%2FTodoCLI-Rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LeviathanST/TodoCLI-Rust on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LeviathanST/TodoCLI-Rust [INFO] finished tweaking git repo https://github.com/LeviathanST/TodoCLI-Rust [INFO] tweaked toml for git repo https://github.com/LeviathanST/TodoCLI-Rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LeviathanST/TodoCLI-Rust 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ca381e28f4117819a4a157e84ec65265c09cd6b1948b45794a7985fb5287be4 [INFO] running `Command { std: "docker" "start" "-a" "9ca381e28f4117819a4a157e84ec65265c09cd6b1948b45794a7985fb5287be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ca381e28f4117819a4a157e84ec65265c09cd6b1948b45794a7985fb5287be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca381e28f4117819a4a157e84ec65265c09cd6b1948b45794a7985fb5287be4", kill_on_drop: false }` [INFO] [stdout] 9ca381e28f4117819a4a157e84ec65265c09cd6b1948b45794a7985fb5287be4 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dc6e637fd8a7fdc2ecc387deb715e9020fdd33e3021fb34ed28c55d76344184 [INFO] running `Command { std: "docker" "start" "-a" "6dc6e637fd8a7fdc2ecc387deb715e9020fdd33e3021fb34ed28c55d76344184", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Checking pancurses v0.17.0 [INFO] [stderr] Checking todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils/list.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | if (*list_cur > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - if (*list_cur > 0) { [INFO] [stdout] 2 + if *list_cur > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils/list.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | if (*list_cur + 1 < list.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 8 - if (*list_cur + 1 < list.len()) { [INFO] [stdout] 8 + if *list_cur + 1 < list.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils/list.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | if (list_cur < &mut list.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - if (list_cur < &mut list.len()) { [INFO] [stdout] 16 + if list_cur < &mut list.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils/list.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if (*list_cur > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - if (*list_cur > 0) { [INFO] [stdout] 19 + if *list_cur > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/ui.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | HIGHLIGHT_PAIR.into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/ui.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | REGULAR_PAIR.into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils/list.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | if (*list_cur > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - if (*list_cur > 0) { [INFO] [stdout] 2 + if *list_cur > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils/list.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | if (*list_cur + 1 < list.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 8 - if (*list_cur + 1 < list.len()) { [INFO] [stdout] 8 + if *list_cur + 1 < list.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils/list.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | if (list_cur < &mut list.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - if (list_cur < &mut list.len()) { [INFO] [stdout] 16 + if list_cur < &mut list.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils/list.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if (*list_cur > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - if (*list_cur > 0) { [INFO] [stdout] 19 + if *list_cur > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `todo` (bin "todo") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/ui.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | HIGHLIGHT_PAIR.into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/ui.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | REGULAR_PAIR.into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `todo` (bin "todo" test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6dc6e637fd8a7fdc2ecc387deb715e9020fdd33e3021fb34ed28c55d76344184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dc6e637fd8a7fdc2ecc387deb715e9020fdd33e3021fb34ed28c55d76344184", kill_on_drop: false }` [INFO] [stdout] 6dc6e637fd8a7fdc2ecc387deb715e9020fdd33e3021fb34ed28c55d76344184