[INFO] cloning repository https://github.com/lkoppenol/advent_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/lkoppenol/advent_of_code_2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flkoppenol%2Fadvent_of_code_2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flkoppenol%2Fadvent_of_code_2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e97f5a6259acd9501281eac047b1ac44284dfd2a [INFO] checking lkoppenol/advent_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%2Flkoppenol%2Fadvent_of_code_2022" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lkoppenol/advent_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/lkoppenol/advent_of_code_2022 [INFO] finished tweaking git repo https://github.com/lkoppenol/advent_of_code_2022 [INFO] tweaked toml for git repo https://github.com/lkoppenol/advent_of_code_2022 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lkoppenol/advent_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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 762330f2efd69b11f47a73401952f595fad2532fd2fbd3bc5ded60f241979e72 [INFO] running `Command { std: "docker" "start" "-a" "762330f2efd69b11f47a73401952f595fad2532fd2fbd3bc5ded60f241979e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "762330f2efd69b11f47a73401952f595fad2532fd2fbd3bc5ded60f241979e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "762330f2efd69b11f47a73401952f595fad2532fd2fbd3bc5ded60f241979e72", kill_on_drop: false }` [INFO] [stdout] 762330f2efd69b11f47a73401952f595fad2532fd2fbd3bc5ded60f241979e72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 51d4d2bd59b92f7082cfde321bf0baf62361ce75676b6457c82ea9a86ec25f22 [INFO] running `Command { std: "docker" "start" "-a" "51d4d2bd59b92f7082cfde321bf0baf62361ce75676b6457c82ea9a86ec25f22", 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 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/days/day_01.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_elf` is never used [INFO] [stdout] --> src/days/day_01.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn parse_elf(elf: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_number` is never used [INFO] [stdout] --> src/days/day_01.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_number(s: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/days/day_02.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `score` is never used [INFO] [stdout] --> src/days/day_02.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn score(s: &str) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate` is never used [INFO] [stdout] --> src/days/day_02.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn translate(s: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/days/day_03.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate` is never used [INFO] [stdout] --> src/days/day_03.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn translate(s: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_char_priority` is never used [INFO] [stdout] --> src/days/day_03.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_char_priority(c: char) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_char_intersection` is never used [INFO] [stdout] --> src/days/day_03.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_first_char_intersection(c1: Chars, c2: Chars) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_char_intersection_3` is never used [INFO] [stdout] --> src/days/day_03.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_first_char_intersection_3(c1: Chars, c2: Chars, c3: Chars) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/days/day_04.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle` is never used [INFO] [stdout] --> src/days/day_04.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn handle(s: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_overlap` is never used [INFO] [stdout] --> src/days/day_04.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn check_overlap(l: &[u64]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_overlap2` is never used [INFO] [stdout] --> src/days/day_04.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn check_overlap2(l: &[u64]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/days/day_05.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_to_int` is never used [INFO] [stdout] --> src/days/day_05.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn group_to_int(caps: &Captures, i: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_to_vec` is never used [INFO] [stdout] --> src/days/day_05.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn str_to_vec(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/days/day_01.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_elf` is never used [INFO] [stdout] --> src/days/day_01.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn parse_elf(elf: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_number` is never used [INFO] [stdout] --> src/days/day_01.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_number(s: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/days/day_02.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `score` is never used [INFO] [stdout] --> src/days/day_02.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn score(s: &str) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate` is never used [INFO] [stdout] --> src/days/day_02.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn translate(s: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/days/day_03.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate` is never used [INFO] [stdout] --> src/days/day_03.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn translate(s: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_char_priority` is never used [INFO] [stdout] --> src/days/day_03.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_char_priority(c: char) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_char_intersection` is never used [INFO] [stdout] --> src/days/day_03.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_first_char_intersection(c1: Chars, c2: Chars) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_char_intersection_3` is never used [INFO] [stdout] --> src/days/day_03.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_first_char_intersection_3(c1: Chars, c2: Chars, c3: Chars) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/days/day_04.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle` is never used [INFO] [stdout] --> src/days/day_04.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn handle(s: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_overlap` is never used [INFO] [stdout] --> src/days/day_04.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn check_overlap(l: &[u64]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_overlap2` is never used [INFO] [stdout] --> src/days/day_04.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn check_overlap2(l: &[u64]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/days/day_05.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_to_int` is never used [INFO] [stdout] --> src/days/day_05.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn group_to_int(caps: &Captures, i: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_to_vec` is never used [INFO] [stdout] --> src/days/day_05.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn str_to_vec(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.11s [INFO] running `Command { std: "docker" "inspect" "51d4d2bd59b92f7082cfde321bf0baf62361ce75676b6457c82ea9a86ec25f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51d4d2bd59b92f7082cfde321bf0baf62361ce75676b6457c82ea9a86ec25f22", kill_on_drop: false }` [INFO] [stdout] 51d4d2bd59b92f7082cfde321bf0baf62361ce75676b6457c82ea9a86ec25f22