[INFO] cloning repository https://github.com/termint0/advent-of-code-24 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/termint0/advent-of-code-24" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftermint0%2Fadvent-of-code-24", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftermint0%2Fadvent-of-code-24'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ae0690030c22d4a17888773bf77d7329edc0247 [INFO] checking termint0/advent-of-code-24 against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftermint0%2Fadvent-of-code-24" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/termint0/advent-of-code-24 [INFO] finished tweaking git repo https://github.com/termint0/advent-of-code-24 [INFO] tweaked toml for git repo https://github.com/termint0/advent-of-code-24 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/termint0/advent-of-code-24 on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/termint0/advent-of-code-24 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" "+028201683a76a5cd349729c6819c46607119c4e8" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba99ebd053ae27c80db879dece3c0a61b05abde7bf72dc4f3274784d74be9aa7 [INFO] running `Command { std: "docker" "start" "-a" "ba99ebd053ae27c80db879dece3c0a61b05abde7bf72dc4f3274784d74be9aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba99ebd053ae27c80db879dece3c0a61b05abde7bf72dc4f3274784d74be9aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba99ebd053ae27c80db879dece3c0a61b05abde7bf72dc4f3274784d74be9aa7", kill_on_drop: false }` [INFO] [stdout] ba99ebd053ae27c80db879dece3c0a61b05abde7bf72dc4f3274784d74be9aa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c8d6f67714c129beb54c87d48a0bd285b5cf4f88276177ad60f7ab990d2d5e1 [INFO] running `Command { std: "docker" "start" "-a" "4c8d6f67714c129beb54c87d48a0bd285b5cf4f88276177ad60f7ab990d2d5e1", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking tinyjson v2.5.1 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `part_two_regex` [INFO] [stdout] --> src/bin/03.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | Some(result) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 13 | [INFO] [stdout] 14 | part_two_regex(input) [INFO] [stdout] | -------------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/04.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | if (big_arr[i][j] != 'X') { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - if (big_arr[i][j] != 'X') { [INFO] [stdout] 65 + if big_arr[i][j] != 'X' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/bin/01.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | collections::HashMap, io::{self, BufRead, Write}, num::ParseIntError [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/03.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | if (x.contains("don't")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - if (x.contains("don't")) { [INFO] [stdout] 32 + if x.contains("don't") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/03.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | } else if (x.contains("do")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - } else if (x.contains("do")) { [INFO] [stdout] 34 + } else if x.contains("do") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/03.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | } else if (enabled) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - } else if (enabled) { [INFO] [stdout] 36 + } else if enabled { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/bin/01.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | collections::HashMap, io::{self, BufRead, Write}, num::ParseIntError [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/22.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/22.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "03") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: expected `;`, found `part_two_regex` [INFO] [stdout] --> src/bin/03.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | Some(result) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 13 | [INFO] [stdout] 14 | part_two_regex(input) [INFO] [stdout] | -------------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/03.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | if (x.contains("don't")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - if (x.contains("don't")) { [INFO] [stdout] 32 + if x.contains("don't") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/03.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | } else if (x.contains("do")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - } else if (x.contains("do")) { [INFO] [stdout] 34 + } else if x.contains("do") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/03.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | } else if (enabled) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - } else if (enabled) { [INFO] [stdout] 36 + } else if enabled { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/22.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/22.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "03" test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4c8d6f67714c129beb54c87d48a0bd285b5cf4f88276177ad60f7ab990d2d5e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c8d6f67714c129beb54c87d48a0bd285b5cf4f88276177ad60f7ab990d2d5e1", kill_on_drop: false }` [INFO] [stdout] 4c8d6f67714c129beb54c87d48a0bd285b5cf4f88276177ad60f7ab990d2d5e1