[INFO] cloning repository https://github.com/LevAlhazov/AdventOfCode2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LevAlhazov/AdventOfCode2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevAlhazov%2FAdventOfCode2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevAlhazov%2FAdventOfCode2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc973b769c099e240492b65401ba553b524c87ee [INFO] checking LevAlhazov/AdventOfCode2023/fc973b769c099e240492b65401ba553b524c87ee against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevAlhazov%2FAdventOfCode2023" "/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/LevAlhazov/AdventOfCode2023 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LevAlhazov/AdventOfCode2023 [INFO] finished tweaking git repo https://github.com/LevAlhazov/AdventOfCode2023 [INFO] tweaked toml for git repo https://github.com/LevAlhazov/AdventOfCode2023 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LevAlhazov/AdventOfCode2023 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a36eca14946064a248991c83ba78e1566328404af0ce1ac99954e7d7bc52076 [INFO] running `Command { std: "docker" "start" "-a" "1a36eca14946064a248991c83ba78e1566328404af0ce1ac99954e7d7bc52076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a36eca14946064a248991c83ba78e1566328404af0ce1ac99954e7d7bc52076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a36eca14946064a248991c83ba78e1566328404af0ce1ac99954e7d7bc52076", kill_on_drop: false }` [INFO] [stdout] 1a36eca14946064a248991c83ba78e1566328404af0ce1ac99954e7d7bc52076 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17e92e99c53c3e88a05325758045e5d7ab723fa074595d5557be357277cfd898 [INFO] running `Command { std: "docker" "start" "-a" "17e92e99c53c3e88a05325758045e5d7ab723fa074595d5557be357277cfd898", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking AdventOfCode2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/fifth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/fifth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_calibration_value` is never used [INFO] [stdout] --> src/first.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn find_calibration_value(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/first.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_calibration_value` is never used [INFO] [stdout] --> src/second.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn find_calibration_value(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/second.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/third.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_possible_games` is never used [INFO] [stdout] --> src/third.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn calculate_possible_games(games_data: &[String], max_cubes: &HashMap<&str, i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/fourth.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/fifth.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_surrounded_numbers` is never used [INFO] [stdout] --> src/fifth.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn sum_surrounded_numbers(lines: &[String]) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_calibration_value` is never used [INFO] [stdout] --> src/first.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn find_calibration_value(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/first.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_calibration_value` is never used [INFO] [stdout] --> src/second.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn find_calibration_value(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/second.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/third.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_possible_games` is never used [INFO] [stdout] --> src/third.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn calculate_possible_games(games_data: &[String], max_cubes: &HashMap<&str, i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/fourth.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/fifth.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_surrounded_numbers` is never used [INFO] [stdout] --> src/fifth.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn sum_surrounded_numbers(lines: &[String]) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.99s [INFO] running `Command { std: "docker" "inspect" "17e92e99c53c3e88a05325758045e5d7ab723fa074595d5557be357277cfd898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17e92e99c53c3e88a05325758045e5d7ab723fa074595d5557be357277cfd898", kill_on_drop: false }` [INFO] [stdout] 17e92e99c53c3e88a05325758045e5d7ab723fa074595d5557be357277cfd898