[INFO] cloning repository https://github.com/polizz/advent_of_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/polizz/advent_of_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpolizz%2Fadvent_of_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpolizz%2Fadvent_of_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f214af5aa31e9504ecf456068bac3376cbcb7b56 [INFO] checking polizz/advent_of_code against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpolizz%2Fadvent_of_code" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/polizz/advent_of_code [INFO] finished tweaking git repo https://github.com/polizz/advent_of_code [INFO] tweaked toml for git repo https://github.com/polizz/advent_of_code written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/polizz/advent_of_code on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/polizz/advent_of_code 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb8061a0ed411b780204f909e8eecf2dccd0ac4a6a402ce832c4bafb076c0e4d [INFO] running `Command { std: "docker" "start" "-a" "fb8061a0ed411b780204f909e8eecf2dccd0ac4a6a402ce832c4bafb076c0e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb8061a0ed411b780204f909e8eecf2dccd0ac4a6a402ce832c4bafb076c0e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8061a0ed411b780204f909e8eecf2dccd0ac4a6a402ce832c4bafb076c0e4d", kill_on_drop: false }` [INFO] [stdout] fb8061a0ed411b780204f909e8eecf2dccd0ac4a6a402ce832c4bafb076c0e4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04b3fc801582258f2efbb7f708d8c1446f08bc522ca9a67970a808e5a9f90477 [INFO] running `Command { std: "docker" "start" "-a" "04b3fc801582258f2efbb7f708d8c1446f08bc522ca9a67970a808e5a9f90477", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking winnow v0.5.30 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking pariter v0.5.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Checking cy2023 v0.1.0 (/opt/rustwide/workdir/src/cy2023) [INFO] [stdout] warning: type alias `Coordinate` is never used [INFO] [stdout] --> src/cy2023/src/day11.rs:102:6 [INFO] [stdout] | [INFO] [stdout] 102 | type Coordinate = (usize, usize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GalacticCoordinates` is never used [INFO] [stdout] --> src/cy2023/src/day11.rs:103:6 [INFO] [stdout] | [INFO] [stdout] 103 | type GalacticCoordinates = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WalkInfo` is never constructed [INFO] [stdout] --> src/cy2023/src/day11.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | struct WalkInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SlopeInfo` is never constructed [INFO] [stdout] --> src/cy2023/src/day11.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | struct SlopeInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DestInfo` is never constructed [INFO] [stdout] --> src/cy2023/src/day11.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | struct DestInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FnDistanceCalc` is never used [INFO] [stdout] --> src/cy2023/src/day11.rs:125:6 [INFO] [stdout] | [INFO] [stdout] 125 | type FnDistanceCalc = fn(GalacticCoordinates) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/cy2023/src/day11.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn solve(map: &[u8], expansion_factor: usize, calc_dist_fn: FnDistanceCalc) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_slope_pairs` is never used [INFO] [stdout] --> src/cy2023/src/day11.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn get_slope_pairs(expanded_map: GalacticCoordinates) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_approx_distances` is never used [INFO] [stdout] --> src/cy2023/src/day11.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn calculate_approx_distances(expanded_map: GalacticCoordinates) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Galaxy` is never used [INFO] [stdout] --> src/cy2023/src/day11.rs:307:6 [INFO] [stdout] | [INFO] [stdout] 307 | type Galaxy = (usize, usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_map` is never used [INFO] [stdout] --> src/cy2023/src/day11.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn expand_map(map: &[u8], expansion_factor: usize) -> GalacticCoordinates { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MirrorOrientation` is never used [INFO] [stdout] --> src/cy2023/src/day13.rs:116:6 [INFO] [stdout] | [INFO] [stdout] 116 | enum MirrorOrientation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MirrorDetail` is never used [INFO] [stdout] --> src/cy2023/src/day13.rs:120:6 [INFO] [stdout] | [INFO] [stdout] 120 | type MirrorDetail = (MirrorOrientation, usize); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_smudges` is never used [INFO] [stdout] --> src/cy2023/src/day13.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn solve_smudges(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_horz_hash_grids` is never used [INFO] [stdout] --> src/cy2023/src/day13.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn make_horz_hash_grids(lines: &Vec<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_vert_hash_grids` is never used [INFO] [stdout] --> src/cy2023/src/day13.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn make_vert_hash_grids(lines: &Vec<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_horz_hash_grids_from_lines` is never used [INFO] [stdout] --> src/cy2023/src/day13.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn make_horz_hash_grids_from_lines(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_vert_hash_grids_from_lines` is never used [INFO] [stdout] --> src/cy2023/src/day13.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn make_vert_hash_grids_from_lines(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ident_mirror_and_idx` is never used [INFO] [stdout] --> src/cy2023/src/day13.rs:283:4 [INFO] [stdout] | [INFO] [stdout] 283 | fn ident_mirror_and_idx(block: &Vec, skip_idx: Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_mirror_block` is never used [INFO] [stdout] --> src/cy2023/src/day13.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn select_mirror_block( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_mirror_blocks` is never used [INFO] [stdout] --> src/cy2023/src/day13.rs:349:4 [INFO] [stdout] | [INFO] [stdout] 349 | fn select_mirror_blocks( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/cy2023/src/day13.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn solve(input: &str) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cy2023/src/day8.rs:183:36 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn parse_graph_def<'t>(input: &'t str) -> (Vec, HashMap<&str, Nodes>, NavTargets) { [INFO] [stdout] | ^^ ---- ----- ---------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'t` [INFO] [stdout] | [INFO] [stdout] 183 | pub fn parse_graph_def<'t>(input: &'t str) -> (Vec, HashMap<&'t str, Nodes<'t>>, NavTargets<'t>) { [INFO] [stdout] | ++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cy2023/src/day8.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | input: &'t str, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 225 | ) -> (Vec, HashMap<&str, Nodes>, Vec<&str>) { [INFO] [stdout] | ---- ----- ---- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'t` [INFO] [stdout] | [INFO] [stdout] 225 | ) -> (Vec, HashMap<&'t str, Nodes<'t>>, Vec<&'t str>) { [INFO] [stdout] | ++ ++++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `cy2023::day12::day12_part2_preunfold` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cy2023::day12::day12_part2_preunfold; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `day12_part2_preunfold` in `day12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "main") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `cy2023::day12::day12_part2_preunfold` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cy2023::day12::day12_part2_preunfold; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `day12_part2_preunfold` in `day12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "main" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "04b3fc801582258f2efbb7f708d8c1446f08bc522ca9a67970a808e5a9f90477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04b3fc801582258f2efbb7f708d8c1446f08bc522ca9a67970a808e5a9f90477", kill_on_drop: false }` [INFO] [stdout] 04b3fc801582258f2efbb7f708d8c1446f08bc522ca9a67970a808e5a9f90477