[INFO] cloning repository https://github.com/Striker2783/advent-of-code-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Striker2783/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStriker2783%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStriker2783%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9211d34c6691329b4a2e95086278d17b558e3658 [INFO] checking Striker2783/advent-of-code-2023 against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStriker2783%2Fadvent-of-code-2023" "/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/Striker2783/advent-of-code-2023 on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Striker2783/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/Striker2783/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/Striker2783/advent-of-code-2023 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Striker2783/advent-of-code-2023 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" "+2e6fc425411280c658d852813de01c5157255088" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fefea62793955bdebf5281596e1d06da1b583c6b39ba50d9baf73c040b0311fe [INFO] running `Command { std: "docker" "start" "-a" "fefea62793955bdebf5281596e1d06da1b583c6b39ba50d9baf73c040b0311fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fefea62793955bdebf5281596e1d06da1b583c6b39ba50d9baf73c040b0311fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fefea62793955bdebf5281596e1d06da1b583c6b39ba50d9baf73c040b0311fe", kill_on_drop: false }` [INFO] [stdout] fefea62793955bdebf5281596e1d06da1b583c6b39ba50d9baf73c040b0311fe [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d981b8f897010849fa43112f2ca1d009b491a9262c76e2b9d1f1837561d900e4 [INFO] running `Command { std: "docker" "start" "-a" "d981b8f897010849fa43112f2ca1d009b491a9262c76e2b9d1f1837561d900e4", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking advent2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/fourteen.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, fs, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/fourteen.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, fs, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/twenty.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let a = fs::read_to_string(path)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `solve_one_naive`, `add_row`, `add_column`, and `graphic` are never used [INFO] [stdout] --> src/eighteen.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Input { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | fn solve_one_naive(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn add_row(v: &mut Vec>, up: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn add_column(v: &mut [Vec], left: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn graphic(v: &[Vec]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `pretty` is never used [INFO] [stdout] --> src/eleven.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Input { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn pretty(a: &Vec>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `solve_two` and `recursive_two` are never used [INFO] [stdout] --> src/five.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Maps { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn solve_two(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn recursive_two(&self, range: (u64, u64), i: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_range` is never used [INFO] [stdout] --> src/nineteen.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn split_range(a: Range, b: Range) -> (Range, Range, Range) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_naive` is never used [INFO] [stdout] --> src/one.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn first_naive(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `second_naive` is never used [INFO] [stdout] --> src/one.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn second_naive(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `pretty` is never used [INFO] [stdout] --> src/ten.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Input { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | fn pretty(a: &Vec>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `naive` and `works` are never used [INFO] [stdout] --> src/twelve.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Input { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn naive(a: &mut [char], b: &[u64], i: usize, map: &mut HashMap, u64>) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn works(c: &[char], n: &[u64]) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/twenty.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Input(HashMap); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `solve_one` and `press_button` are never used [INFO] [stdout] --> src/twenty.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Input { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 15 | fn solve_one(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn press_button(&mut self) -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Pulse` is never used [INFO] [stdout] --> src/twenty.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | enum Pulse { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/twenty.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Module` is never constructed [INFO] [stdout] --> src/twenty.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | struct Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pulse` is never used [INFO] [stdout] --> src/twenty.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Module { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 79 | fn get_pulse(&mut self, pulse: Pulse) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleaner` is never used [INFO] [stdout] --> src/two.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn cleaner(input: &str) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/twenty.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let a = fs::read_to_string(path)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `solve_one_naive`, `add_row`, `add_column`, and `graphic` are never used [INFO] [stdout] --> src/eighteen.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Input { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | fn solve_one_naive(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn add_row(v: &mut Vec>, up: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn add_column(v: &mut [Vec], left: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn graphic(v: &[Vec]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `pretty` is never used [INFO] [stdout] --> src/eleven.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Input { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn pretty(a: &Vec>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_range` is never used [INFO] [stdout] --> src/nineteen.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn split_range(a: Range, b: Range) -> (Range, Range, Range) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_naive` is never used [INFO] [stdout] --> src/one.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn first_naive(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `second_naive` is never used [INFO] [stdout] --> src/one.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn second_naive(input: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `pretty` is never used [INFO] [stdout] --> src/ten.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Input { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | fn pretty(a: &Vec>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `naive` and `works` are never used [INFO] [stdout] --> src/twelve.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Input { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn naive(a: &mut [char], b: &[u64], i: usize, map: &mut HashMap, u64>) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn works(c: &[char], n: &[u64]) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleaner` is never used [INFO] [stdout] --> src/two.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn cleaner(input: &str) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "d981b8f897010849fa43112f2ca1d009b491a9262c76e2b9d1f1837561d900e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d981b8f897010849fa43112f2ca1d009b491a9262c76e2b9d1f1837561d900e4", kill_on_drop: false }` [INFO] [stdout] d981b8f897010849fa43112f2ca1d009b491a9262c76e2b9d1f1837561d900e4