[INFO] cloning repository https://github.com/colingleason805/aoc2024
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/colingleason805/aoc2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolingleason805%2Faoc2024", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolingleason805%2Faoc2024'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 63109755dd7fbbe9044effedc0677ba32a7b1500
[INFO] testing colingleason805/aoc2024 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolingleason805%2Faoc2024" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/colingleason805/aoc2024
[INFO] finished tweaking git repo https://github.com/colingleason805/aoc2024
[INFO] tweaked toml for git repo https://github.com/colingleason805/aoc2024 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/colingleason805/aoc2024 on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/colingleason805/aoc2024 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c9346ff7325a53d6e868f23252ed11ba37650b70a401cd660311520e660ed941
[INFO] running `Command { std: "docker" "start" "-a" "c9346ff7325a53d6e868f23252ed11ba37650b70a401cd660311520e660ed941", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9346ff7325a53d6e868f23252ed11ba37650b70a401cd660311520e660ed941", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9346ff7325a53d6e868f23252ed11ba37650b70a401cd660311520e660ed941", kill_on_drop: false }`
[INFO] [stdout] c9346ff7325a53d6e868f23252ed11ba37650b70a401cd660311520e660ed941
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c26723a68f6f305e99445c2f5b1df72b65f89265ccdd83ac03d6163c10ac2c4e
[INFO] running `Command { std: "docker" "start" "-a" "c26723a68f6f305e99445c2f5b1df72b65f89265ccdd83ac03d6163c10ac2c4e", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling helpers v0.1.0 (/opt/rustwide/workdir/src/helpers)
[INFO] [stderr]    Compiling day_1 v0.0.0 (/opt/rustwide/workdir/src/1)
[INFO] [stderr]    Compiling day_5 v0.1.0 (/opt/rustwide/workdir/src/day_5)
[INFO] [stderr]    Compiling day_2 v0.0.0 (/opt/rustwide/workdir/src/2)
[INFO] [stderr]    Compiling day_3 v0.0.0 (/opt/rustwide/workdir/src/3)
[INFO] [stdout] warning: function `bin_search_ins` is never used
[INFO] [stdout]   --> src/helpers/src/helpers.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn bin_search_ins(list: &mut Vec<i32>, val: i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling day_4 v0.0.0 (/opt/rustwide/workdir/src/day_4)
[INFO] [stderr]    Compiling day_6 v0.0.0 (/opt/rustwide/workdir/src/day_6)
[INFO] [stdout] warning: unused import: `default`
[INFO] [stdout]  --> src/day_4/src/day_4.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     default,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `used` is never read
[INFO] [stdout]    --> src/day_4/src/day_4.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             used = char;
[INFO] [stdout]     |             ----------- `used` is overwritten here before the previous value is read
[INFO] [stdout] ...
[INFO] [stdout] 129 |             used = char;
[INFO] [stdout]     |             ^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `used` is never read
[INFO] [stdout]    --> src/day_4/src/day_4.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             used = char;
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `check_bounds`, `get_x_add_for_cardinality`, and `get_y_add_for_cardinality`
[INFO] [stdout]  --> src/day_6/src/lib.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 | use helpers::helpers::{check_bounds, get_x_add_for_cardinality, get_y_add_for_cardinality};
[INFO] [stdout]   |                        ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day_6/src/lib.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut visited :Vec<bool> = vec![false;pzl.len()*length];
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_start`
[INFO] [stdout]   --> src/day_6/src/lib.rs:18:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn distinct_coordinates_visited(x_start: usize, y_start: usize, cardinality: &str, pzl: Vec<Vec<String>>)-> (Vec<bool>, i32){
[INFO] [stdout]    |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_start`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_start`
[INFO] [stdout]   --> src/day_6/src/lib.rs:18:53
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn distinct_coordinates_visited(x_start: usize, y_start: usize, cardinality: &str, pzl: Vec<Vec<String>>)-> (Vec<bool>, i32){
[INFO] [stdout]    |                                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cardinality`
[INFO] [stdout]   --> src/day_6/src/lib.rs:18:69
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn distinct_coordinates_visited(x_start: usize, y_start: usize, cardinality: &str, pzl: Vec<Vec<String>>)-> (Vec<bool>, i32){
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cardinality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `convert::TryInto`
[INFO] [stdout]  --> src/day_5/src/lib.rs:2:38
[INFO] [stdout]   |
[INFO] [stdout] 2 |     collections::{HashMap, HashSet}, convert::TryInto, fs::File, io::{BufRead, BufReader}
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]   --> src/day_5/src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut count = 0;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_count` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]   --> src/day_5/src/lib.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         count += 1;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]   --> src/day_5/src/lib.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut count = 0;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]   --> src/day_5/src/lib.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         count += 1;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `fixed` is never read
[INFO] [stdout]    --> src/day_5/src/lib.rs:87:21
[INFO] [stdout]     |
[INFO] [stdout]  87 |     let mut fixed = false;
[INFO] [stdout]     |                     ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 111 |         fixed = all_rules_pass(rules, &to_fix);
[INFO] [stdout]     |         -------------------------------------- `fixed` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling aoc_2024 v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `dowork2`
[INFO] [stdout]  --> src/main.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use day_6::{dowork, dowork2};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.25s
[INFO] running `Command { std: "docker" "inspect" "c26723a68f6f305e99445c2f5b1df72b65f89265ccdd83ac03d6163c10ac2c4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c26723a68f6f305e99445c2f5b1df72b65f89265ccdd83ac03d6163c10ac2c4e", kill_on_drop: false }`
[INFO] [stdout] c26723a68f6f305e99445c2f5b1df72b65f89265ccdd83ac03d6163c10ac2c4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d637fbd8b202555158db3c41dbd3364f07d80297ea745fb670db223c80eb10a8
[INFO] running `Command { std: "docker" "start" "-a" "d637fbd8b202555158db3c41dbd3364f07d80297ea745fb670db223c80eb10a8", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stdout] warning: function `bin_search_ins` is never used
[INFO] [stdout]   --> src/helpers/src/helpers.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn bin_search_ins(list: &mut Vec<i32>, val: i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `convert::TryInto`
[INFO] [stdout]  --> src/day_5/src/lib.rs:2:38
[INFO] [stdout]   |
[INFO] [stdout] 2 |     collections::{HashMap, HashSet}, convert::TryInto, fs::File, io::{BufRead, BufReader}
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]   --> src/day_5/src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut count = 0;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_count` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]   --> src/day_5/src/lib.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         count += 1;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]   --> src/day_5/src/lib.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut count = 0;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling aoc_2024 v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]   --> src/day_5/src/lib.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         count += 1;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `fixed` is never read
[INFO] [stdout]    --> src/day_5/src/lib.rs:87:21
[INFO] [stdout]     |
[INFO] [stdout]  87 |     let mut fixed = false;
[INFO] [stdout]     |                     ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 111 |         fixed = all_rules_pass(rules, &to_fix);
[INFO] [stdout]     |         -------------------------------------- `fixed` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `default`
[INFO] [stdout]  --> src/day_4/src/day_4.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     default,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `used` is never read
[INFO] [stdout]    --> src/day_4/src/day_4.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             used = char;
[INFO] [stdout]     |             ----------- `used` is overwritten here before the previous value is read
[INFO] [stdout] ...
[INFO] [stdout] 129 |             used = char;
[INFO] [stdout]     |             ^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `used` is never read
[INFO] [stdout]    --> src/day_4/src/day_4.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             used = char;
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `check_bounds`, `get_x_add_for_cardinality`, and `get_y_add_for_cardinality`
[INFO] [stdout]  --> src/day_6/src/lib.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 | use helpers::helpers::{check_bounds, get_x_add_for_cardinality, get_y_add_for_cardinality};
[INFO] [stdout]   |                        ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day_6/src/lib.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut visited :Vec<bool> = vec![false;pzl.len()*length];
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_start`
[INFO] [stdout]   --> src/day_6/src/lib.rs:18:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn distinct_coordinates_visited(x_start: usize, y_start: usize, cardinality: &str, pzl: Vec<Vec<String>>)-> (Vec<bool>, i32){
[INFO] [stdout]    |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_start`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_start`
[INFO] [stdout]   --> src/day_6/src/lib.rs:18:53
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn distinct_coordinates_visited(x_start: usize, y_start: usize, cardinality: &str, pzl: Vec<Vec<String>>)-> (Vec<bool>, i32){
[INFO] [stdout]    |                                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cardinality`
[INFO] [stdout]   --> src/day_6/src/lib.rs:18:69
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn distinct_coordinates_visited(x_start: usize, y_start: usize, cardinality: &str, pzl: Vec<Vec<String>>)-> (Vec<bool>, i32){
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cardinality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dowork2`
[INFO] [stdout]  --> src/main.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use day_6::{dowork, dowork2};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] running `Command { std: "docker" "inspect" "d637fbd8b202555158db3c41dbd3364f07d80297ea745fb670db223c80eb10a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d637fbd8b202555158db3c41dbd3364f07d80297ea745fb670db223c80eb10a8", kill_on_drop: false }`
[INFO] [stdout] d637fbd8b202555158db3c41dbd3364f07d80297ea745fb670db223c80eb10a8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] dfddecd2819d6a69dbc93baaa39313f8280425cba7f33cf8d68d776aa2f91eb0
[INFO] running `Command { std: "docker" "start" "-a" "dfddecd2819d6a69dbc93baaa39313f8280425cba7f33cf8d68d776aa2f91eb0", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: function `bin_search_ins` is never used
[INFO] [stderr]   --> src/helpers/src/helpers.rs:36:8
[INFO] [stderr]    |
[INFO] [stderr] 36 |     fn bin_search_ins(list: &mut Vec<i32>, val: i32) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `convert::TryInto`
[INFO] [stderr]  --> src/day_5/src/lib.rs:2:38
[INFO] [stderr]   |
[INFO] [stderr] 2 |     collections::{HashMap, HashSet}, convert::TryInto, fs::File, io::{BufRead, BufReader}
[INFO] [stderr]   |                                      ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `count` is assigned to, but never used
[INFO] [stderr]   --> src/day_5/src/lib.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |     let mut count = 0;
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_count` instead
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `count` is never read
[INFO] [stderr]   --> src/day_5/src/lib.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 13 |         count += 1;
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `count` is assigned to, but never used
[INFO] [stderr]   --> src/day_5/src/lib.rs:27:9
[INFO] [stderr]    |
[INFO] [stderr] 27 |     let mut count = 0;
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_count` instead
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `count` is never read
[INFO] [stderr]   --> src/day_5/src/lib.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 29 |         count += 1;
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `fixed` is never read
[INFO] [stderr]    --> src/day_5/src/lib.rs:87:21
[INFO] [stderr]     |
[INFO] [stderr]  87 |     let mut fixed = false;
[INFO] [stderr]     |                     ^^^^^ this value is reassigned later and never used
[INFO] [stderr] ...
[INFO] [stderr] 111 |         fixed = all_rules_pass(rules, &to_fix);
[INFO] [stderr]     |         -------------------------------------- `fixed` is overwritten here before the previous value is read
[INFO] [stderr] 
[INFO] [stderr] warning: `helpers` (lib) generated 1 warning
[INFO] [stderr] warning: `day_5` (lib) generated 6 warnings (run `cargo fix --lib -p day_5` to apply 1 suggestion)
[INFO] [stderr] warning: unused import: `default`
[INFO] [stderr]  --> src/day_4/src/day_4.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 |     default,
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `used` is never read
[INFO] [stderr]    --> src/day_4/src/day_4.rs:129:13
[INFO] [stderr]     |
[INFO] [stderr] 123 |             used = char;
[INFO] [stderr]     |             ----------- `used` is overwritten here before the previous value is read
[INFO] [stderr] ...
[INFO] [stderr] 129 |             used = char;
[INFO] [stderr]     |             ^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `used` is never read
[INFO] [stderr]    --> src/day_4/src/day_4.rs:123:13
[INFO] [stderr]     |
[INFO] [stderr] 123 |             used = char;
[INFO] [stderr]     |             ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `check_bounds`, `get_x_add_for_cardinality`, and `get_y_add_for_cardinality`
[INFO] [stderr]  --> src/day_6/src/lib.rs:7:24
[INFO] [stderr]   |
[INFO] [stderr] 7 | use helpers::helpers::{check_bounds, get_x_add_for_cardinality, get_y_add_for_cardinality};
[INFO] [stderr]   |                        ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/day_6/src/lib.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 22 |     let mut visited :Vec<bool> = vec![false;pzl.len()*length];
[INFO] [stderr]    |         ----^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x_start`
[INFO] [stderr]   --> src/day_6/src/lib.rs:18:37
[INFO] [stderr]    |
[INFO] [stdout] 
[INFO] [stderr] 18 | pub fn distinct_coordinates_visited(x_start: usize, y_start: usize, cardinality: &str, pzl: Vec<Vec<String>>)-> (Vec<bool>, i32){
[INFO] [stdout] running 0 tests
[INFO] [stderr]    |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_start`
[INFO] [stdout] 
[INFO] [stderr]    |
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y_start`
[INFO] [stderr]   --> src/day_6/src/lib.rs:18:53
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub fn distinct_coordinates_visited(x_start: usize, y_start: usize, cardinality: &str, pzl: Vec<Vec<String>>)-> (Vec<bool>, i32){
[INFO] [stderr]    |                                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_start`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cardinality`
[INFO] [stderr]   --> src/day_6/src/lib.rs:18:69
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub fn distinct_coordinates_visited(x_start: usize, y_start: usize, cardinality: &str, pzl: Vec<Vec<String>>)-> (Vec<bool>, i32){
[INFO] [stderr]    |                                                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cardinality`
[INFO] [stderr] 
[INFO] [stderr] warning: `day_4` (lib) generated 3 warnings (run `cargo fix --lib -p day_4` to apply 1 suggestion)
[INFO] [stderr] warning: `day_6` (lib) generated 5 warnings (run `cargo fix --lib -p day_6` to apply 5 suggestions)
[INFO] [stderr] warning: unused import: `dowork2`
[INFO] [stderr]  --> src/main.rs:2:21
[INFO] [stderr]   |
[INFO] [stderr] 2 | use day_6::{dowork, dowork2};
[INFO] [stderr]   |                     ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `aoc_2024` (bin "aoc_2024" test) generated 1 warning (run `cargo fix --bin "aoc_2024" -p aoc_2024 --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/aoc_2024-be4168901b9aa44f)
[INFO] running `Command { std: "docker" "inspect" "dfddecd2819d6a69dbc93baaa39313f8280425cba7f33cf8d68d776aa2f91eb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfddecd2819d6a69dbc93baaa39313f8280425cba7f33cf8d68d776aa2f91eb0", kill_on_drop: false }`
[INFO] [stdout] dfddecd2819d6a69dbc93baaa39313f8280425cba7f33cf8d68d776aa2f91eb0
