[INFO] cloning repository https://github.com/kanwaekan/advent_code_of_code_2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kanwaekan/advent_code_of_code_2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanwaekan%2Fadvent_code_of_code_2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanwaekan%2Fadvent_code_of_code_2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d44eb83e36716f6b36bd748554ff9258ac3a8806 [INFO] checking kanwaekan/advent_code_of_code_2022 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanwaekan%2Fadvent_code_of_code_2022" "/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/kanwaekan/advent_code_of_code_2022 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/kanwaekan/advent_code_of_code_2022 [INFO] finished tweaking git repo https://github.com/kanwaekan/advent_code_of_code_2022 [INFO] tweaked toml for git repo https://github.com/kanwaekan/advent_code_of_code_2022 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kanwaekan/advent_code_of_code_2022 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] [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc5cbf20211c03758ab3d62a04c83e6cdd539b89fddf5e229d5b753264871432 [INFO] running `Command { std: "docker" "start" "-a" "bc5cbf20211c03758ab3d62a04c83e6cdd539b89fddf5e229d5b753264871432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc5cbf20211c03758ab3d62a04c83e6cdd539b89fddf5e229d5b753264871432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc5cbf20211c03758ab3d62a04c83e6cdd539b89fddf5e229d5b753264871432", kill_on_drop: false }` [INFO] [stdout] bc5cbf20211c03758ab3d62a04c83e6cdd539b89fddf5e229d5b753264871432 [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] 8b759285c4f555ee460be78d43f1a35d3c3b24bc6aab3eee13572781dadc2c19 [INFO] running `Command { std: "docker" "start" "-a" "8b759285c4f555ee460be78d43f1a35d3c3b24bc6aab3eee13572781dadc2c19", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking advent_of_code_22 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day4.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if (x1 < x2 && y1 < x2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - if (x1 < x2 && y1 < x2) { [INFO] [stdout] 18 + if x1 < x2 && y1 < x2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day4.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | } else if (x2 < x1 && y2 < x1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - } else if (x2 < x1 && y2 < x1) { [INFO] [stdout] 19 + } else if x2 < x1 && y2 < x1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/bin/day2.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let (mut score1) = (0u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - let (mut score1) = (0u32); [INFO] [stdout] 48 + let mut score1 = (0u32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/day2.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | let (mut score1) = (0u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - let (mut score1) = (0u32); [INFO] [stdout] 48 + let (mut score1) = 0u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day4.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if (x1 < x2 && y1 < x2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - if (x1 < x2 && y1 < x2) { [INFO] [stdout] 18 + if x1 < x2 && y1 < x2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day4.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | } else if (x2 < x1 && y2 < x1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - } else if (x2 < x1 && y2 < x1) { [INFO] [stdout] 19 + } else if x2 < x1 && y2 < x1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve1` is never used [INFO] [stdout] --> src/bin/day2.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn solve1() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day6.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut stdin = io::stdin(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day6.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut stdin = io::stdin(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve1` is never used [INFO] [stdout] --> src/bin/day6.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn solve1() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/bin/day2.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let (mut score1) = (0u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - let (mut score1) = (0u32); [INFO] [stdout] 48 + let mut score1 = (0u32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/day2.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | let (mut score1) = (0u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - let (mut score1) = (0u32); [INFO] [stdout] 48 + let (mut score1) = 0u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day6.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut stdin = io::stdin(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day6.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut stdin = io::stdin(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve1` is never used [INFO] [stdout] --> src/bin/day6.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn solve1() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve1` is never used [INFO] [stdout] --> src/bin/day2.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn solve1() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.96s [INFO] running `Command { std: "docker" "inspect" "8b759285c4f555ee460be78d43f1a35d3c3b24bc6aab3eee13572781dadc2c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b759285c4f555ee460be78d43f1a35d3c3b24bc6aab3eee13572781dadc2c19", kill_on_drop: false }` [INFO] [stdout] 8b759285c4f555ee460be78d43f1a35d3c3b24bc6aab3eee13572781dadc2c19