[INFO] cloning repository https://github.com/chrismooredev/aoc.2019.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrismooredev/aoc.2019.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrismooredev%2Faoc.2019.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrismooredev%2Faoc.2019.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9a968f0fca4bffdaed5320703510f6efbb810a2 [INFO] checking chrismooredev/aoc.2019.rs/c9a968f0fca4bffdaed5320703510f6efbb810a2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrismooredev%2Faoc.2019.rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrismooredev/aoc.2019.rs on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chrismooredev/aoc.2019.rs [INFO] finished tweaking git repo https://github.com/chrismooredev/aoc.2019.rs [INFO] tweaked toml for git repo https://github.com/chrismooredev/aoc.2019.rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chrismooredev/aoc.2019.rs 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25801322288c98b4a4d62e63461e002a18ad696e90a333932e926033aba993c7 [INFO] running `Command { std: "docker" "start" "-a" "25801322288c98b4a4d62e63461e002a18ad696e90a333932e926033aba993c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25801322288c98b4a4d62e63461e002a18ad696e90a333932e926033aba993c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25801322288c98b4a4d62e63461e002a18ad696e90a333932e926033aba993c7", kill_on_drop: false }` [INFO] [stdout] 25801322288c98b4a4d62e63461e002a18ad696e90a333932e926033aba993c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cff4c8a86a13c77eddd2bc623cd78dcb51aa1ec21f2e458cd742ab438eff14ee [INFO] running `Command { std: "docker" "start" "-a" "cff4c8a86a13c77eddd2bc623cd78dcb51aa1ec21f2e458cd742ab438eff14ee", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking tint v1.0.1 [INFO] [stderr] Checking petgraph v0.6.2 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking textwrap v0.15.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling aoch-proc v0.2.1 (https://github.com/chrismooredev/aochelper#e298efdf) [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Checking clap v3.2.22 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking ptree v0.4.0 [INFO] [stderr] Checking aoch v1.2.1 (https://github.com/chrismooredev/aochelper#e298efdf) [INFO] [stderr] Checking aoc2019 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/days/day10.rs (5 fixes) [INFO] [stderr] Fixed src/rendering.rs (1 fix) [INFO] [stderr] Fixed src/days/day04.rs (1 fix) [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/days/day10.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | .max_by_key(|(p, out)| *out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | .map(|(p, out)| out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | .max_by_key(|(p, out)| *out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | .map(|(p, out)| out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_for_input_dbg` is never used [INFO] [stdout] --> src/intcode.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn test_for_input_dbg(prog: &[ICInt], inp: &[ICInt], exp: &[ICInt]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `go_from` is never used [INFO] [stdout] --> src/days/day03.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 18 | fn go_from(&self, len: isize, at: (isize, isize)) -> (LineSegment, (isize, isize)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LineSegment` is never used [INFO] [stdout] --> src/days/day03.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | enum LineSegment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `vertical`, `horizontal`, and `intersects` are never used [INFO] [stdout] --> src/days/day03.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | impl LineSegment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 42 | fn vertical(x: isize, y1: isize, y2: isize) -> (Self, (isize, isize)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn horizontal(x1: isize, x2: isize, y: isize) -> (Self, (isize, isize)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn intersects(&self, other: &LineSegment) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/days/day08.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SIF<'s, const H: usize, const W: usize> where [(); H*W]: { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 14 | raw: &'s [u8], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/days/day10.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AsteroidField<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 12 | raw: &'a str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AsteroidField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slope` is never read [INFO] [stdout] --> src/days/day10.rs:236:2 [INFO] [stdout] | [INFO] [stdout] 235 | struct SlopeRotator2 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 236 | slope: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/days/day10.rs (1 fix) [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/days/day10.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | .max_by_key(|(p, out)| *out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | .map(|(p, out)| out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | .max_by_key(|(p, out)| *out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | .map(|(p, out)| out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `go_from` is never used [INFO] [stdout] --> src/days/day03.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 18 | fn go_from(&self, len: isize, at: (isize, isize)) -> (LineSegment, (isize, isize)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LineSegment` is never used [INFO] [stdout] --> src/days/day03.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | enum LineSegment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `vertical`, `horizontal`, and `intersects` are never used [INFO] [stdout] --> src/days/day03.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | impl LineSegment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 42 | fn vertical(x: isize, y1: isize, y2: isize) -> (Self, (isize, isize)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn horizontal(x1: isize, x2: isize, y: isize) -> (Self, (isize, isize)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn intersects(&self, other: &LineSegment) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/days/day08.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SIF<'s, const H: usize, const W: usize> where [(); H*W]: { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 14 | raw: &'s [u8], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raw`, `width`, and `height` are never read [INFO] [stdout] --> src/days/day10.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AsteroidField<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 11 | raw: &'a str, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | rows: Vec<&'a [u8]>, [INFO] [stdout] 13 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AsteroidField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_best`, `asteroids`, and `render_counts` are never used [INFO] [stdout] --> src/days/day10.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> AsteroidField<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn find_best(&self) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn asteroids(&self) -> AsteroidPositions<'_> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn render_counts(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AsteroidPositions` is never constructed [INFO] [stdout] --> src/days/day10.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | struct AsteroidPositions<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SlopeRotator` is never constructed [INFO] [stdout] --> src/days/day10.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | struct SlopeRotator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slope` is never read [INFO] [stdout] --> src/days/day10.rs:235:2 [INFO] [stdout] | [INFO] [stdout] 234 | struct SlopeRotator2 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 235 | slope: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SlopeRotatorState` is never used [INFO] [stdout] --> src/days/day10.rs:270:6 [INFO] [stdout] | [INFO] [stdout] 270 | enum SlopeRotatorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/days/day10.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 277 | impl SlopeRotator { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 278 | fn new(raw: (usize, usize)) -> SlopeRotator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXAMPLES` is never used [INFO] [stdout] --> src/days/day10.rs:346:7 [INFO] [stdout] | [INFO] [stdout] 346 | const EXAMPLES: &[((usize, usize), &str)] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking aoc2019 v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/days/day10.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | let pos_set: HashSet<(usize, usize)> = pos.iter().copied().collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/days/day10.rs:405:20 [INFO] [stdout] | [INFO] [stdout] 405 | let expected_set: HashSet<(usize, usize)> = expected.iter().copied().collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/days/day10.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | .max_by_key(|(p, out)| *out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | .map(|(p, out)| out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | .max_by_key(|(p, out)| *out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | .map(|(p, out)| out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/days/day10.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `go_from` is never used [INFO] [stdout] --> src/days/day03.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 18 | fn go_from(&self, len: isize, at: (isize, isize)) -> (LineSegment, (isize, isize)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LineSegment` is never used [INFO] [stdout] --> src/days/day03.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | enum LineSegment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `vertical`, `horizontal`, and `intersects` are never used [INFO] [stdout] --> src/days/day03.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | impl LineSegment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 42 | fn vertical(x: isize, y1: isize, y2: isize) -> (Self, (isize, isize)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn horizontal(x1: isize, x2: isize, y: isize) -> (Self, (isize, isize)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn intersects(&self, other: &LineSegment) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/days/day08.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SIF<'s, const H: usize, const W: usize> where [(); H*W]: { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 14 | raw: &'s [u8], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raw`, `width`, and `height` are never read [INFO] [stdout] --> src/days/day10.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AsteroidField<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 11 | raw: &'a str, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | rows: Vec<&'a [u8]>, [INFO] [stdout] 13 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AsteroidField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_best`, `asteroids`, and `render_counts` are never used [INFO] [stdout] --> src/days/day10.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> AsteroidField<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn find_best(&self) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn asteroids(&self) -> AsteroidPositions<'_> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn render_counts(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AsteroidPositions` is never constructed [INFO] [stdout] --> src/days/day10.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | struct AsteroidPositions<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SlopeRotator` is never constructed [INFO] [stdout] --> src/days/day10.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | struct SlopeRotator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slope` is never read [INFO] [stdout] --> src/days/day10.rs:235:2 [INFO] [stdout] | [INFO] [stdout] 234 | struct SlopeRotator2 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 235 | slope: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SlopeRotatorState` is never used [INFO] [stdout] --> src/days/day10.rs:270:6 [INFO] [stdout] | [INFO] [stdout] 270 | enum SlopeRotatorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/days/day10.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 277 | impl SlopeRotator { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 278 | fn new(raw: (usize, usize)) -> SlopeRotator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXAMPLES` is never used [INFO] [stdout] --> src/days/day10.rs:346:7 [INFO] [stdout] | [INFO] [stdout] 346 | const EXAMPLES: &[((usize, usize), &str)] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | .max_by_key(|(p, out)| *out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | .map(|(p, out)| out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | .max_by_key(|(p, out)| *out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/days/day07.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | .map(|(p, out)| out) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2019` (bin "aoc2019" test) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "cff4c8a86a13c77eddd2bc623cd78dcb51aa1ec21f2e458cd742ab438eff14ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cff4c8a86a13c77eddd2bc623cd78dcb51aa1ec21f2e458cd742ab438eff14ee", kill_on_drop: false }` [INFO] [stdout] cff4c8a86a13c77eddd2bc623cd78dcb51aa1ec21f2e458cd742ab438eff14ee