[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 master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanwaekan%2Fadvent_code_of_code_2022" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kanwaekan/advent_code_of_code_2022 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-4-tc1/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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7460f1a3ead6c91cb8e06833d3c555a00f5c76224843173fde968801fbcf135c [INFO] running `Command { std: "docker" "start" "-a" "7460f1a3ead6c91cb8e06833d3c555a00f5c76224843173fde968801fbcf135c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7460f1a3ead6c91cb8e06833d3c555a00f5c76224843173fde968801fbcf135c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7460f1a3ead6c91cb8e06833d3c555a00f5c76224843173fde968801fbcf135c", kill_on_drop: false }` [INFO] [stdout] 7460f1a3ead6c91cb8e06833d3c555a00f5c76224843173fde968801fbcf135c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7272334e7754a8684be417f0c0a6d0571fcbe6248bf0a5e079c709a473f8873c [INFO] running `Command { std: "docker" "start" "-a" "7272334e7754a8684be417f0c0a6d0571fcbe6248bf0a5e079c709a473f8873c", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking advent_of_code_22 v0.1.0 (/opt/rustwide/workdir) [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: 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: 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: 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/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: 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: 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: 3 warnings emitted [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: 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 `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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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: 2 warnings emitted [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: 3 warnings emitted [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.37s [INFO] running `Command { std: "docker" "inspect" "7272334e7754a8684be417f0c0a6d0571fcbe6248bf0a5e079c709a473f8873c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7272334e7754a8684be417f0c0a6d0571fcbe6248bf0a5e079c709a473f8873c", kill_on_drop: false }` [INFO] [stdout] 7272334e7754a8684be417f0c0a6d0571fcbe6248bf0a5e079c709a473f8873c [INFO] checking kanwaekan/advent_code_of_code_2022 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanwaekan%2Fadvent_code_of_code_2022" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kanwaekan/advent_code_of_code_2022 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-4-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ad2a3817eac9b4ed94bb1d2beb9dd7bed2732ddaafb139ae15bc964978ccdf8 [INFO] running `Command { std: "docker" "start" "-a" "2ad2a3817eac9b4ed94bb1d2beb9dd7bed2732ddaafb139ae15bc964978ccdf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ad2a3817eac9b4ed94bb1d2beb9dd7bed2732ddaafb139ae15bc964978ccdf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad2a3817eac9b4ed94bb1d2beb9dd7bed2732ddaafb139ae15bc964978ccdf8", kill_on_drop: false }` [INFO] [stdout] 2ad2a3817eac9b4ed94bb1d2beb9dd7bed2732ddaafb139ae15bc964978ccdf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68dfc2ce69a1168b34fa99fee0c7da3f660b9705c7cf5a2e41632c62200a4538 [INFO] running `Command { std: "docker" "start" "-a" "68dfc2ce69a1168b34fa99fee0c7da3f660b9705c7cf5a2e41632c62200a4538", kill_on_drop: false }` [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: 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: 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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: 3 warnings emitted [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.09s [INFO] running `Command { std: "docker" "inspect" "68dfc2ce69a1168b34fa99fee0c7da3f660b9705c7cf5a2e41632c62200a4538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68dfc2ce69a1168b34fa99fee0c7da3f660b9705c7cf5a2e41632c62200a4538", kill_on_drop: false }` [INFO] [stdout] 68dfc2ce69a1168b34fa99fee0c7da3f660b9705c7cf5a2e41632c62200a4538