[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 try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flkoppenol%2Fadvent_of_code_2022" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lkoppenol/advent_of_code_2022 on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 09878dfa3f25adab3e3751192d791016635592c82fcd04c20ea0c104fe403c72
[INFO] running `Command { std: "docker" "start" "-a" "09878dfa3f25adab3e3751192d791016635592c82fcd04c20ea0c104fe403c72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "09878dfa3f25adab3e3751192d791016635592c82fcd04c20ea0c104fe403c72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09878dfa3f25adab3e3751192d791016635592c82fcd04c20ea0c104fe403c72", kill_on_drop: false }`
[INFO] [stdout] 09878dfa3f25adab3e3751192d791016635592c82fcd04c20ea0c104fe403c72
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 27e8c30b27538b6b4f862037be5673644de9048436f67dc2aaac583f0ad4c03f
[INFO] running `Command { std: "docker" "start" "-a" "27e8c30b27538b6b4f862037be5673644de9048436f67dc2aaac583f0ad4c03f", 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 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)]` (part of `#[warn(unused)]`) 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<char> {
[INFO] [stdout]    |    ^^^^^^^^^^
[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)]` (part of `#[warn(unused)]`) 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<char> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.91s
[INFO] running `Command { std: "docker" "inspect" "27e8c30b27538b6b4f862037be5673644de9048436f67dc2aaac583f0ad4c03f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27e8c30b27538b6b4f862037be5673644de9048436f67dc2aaac583f0ad4c03f", kill_on_drop: false }`
[INFO] [stdout] 27e8c30b27538b6b4f862037be5673644de9048436f67dc2aaac583f0ad4c03f
