[INFO] cloning repository https://github.com/Belgabor/aoc2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Belgabor/aoc2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBelgabor%2Faoc2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBelgabor%2Faoc2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5928f6d1ee4200e201b8235ed553947d7498be58 [INFO] checking Belgabor/aoc2023 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBelgabor%2Faoc2023" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Belgabor/aoc2023 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Belgabor/aoc2023 [INFO] finished tweaking git repo https://github.com/Belgabor/aoc2023 [INFO] tweaked toml for git repo https://github.com/Belgabor/aoc2023 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Belgabor/aoc2023 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pathfinding v4.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed72b37a989c85a09c74ea3de2a26f6e905e06d305fc63805ec2a61c690b1a26 [INFO] running `Command { std: "docker" "start" "-a" "ed72b37a989c85a09c74ea3de2a26f6e905e06d305fc63805ec2a61c690b1a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed72b37a989c85a09c74ea3de2a26f6e905e06d305fc63805ec2a61c690b1a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed72b37a989c85a09c74ea3de2a26f6e905e06d305fc63805ec2a61c690b1a26", kill_on_drop: false }` [INFO] [stdout] ed72b37a989c85a09c74ea3de2a26f6e905e06d305fc63805ec2a61c690b1a26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56f1c17087185030d706e44a8121a320731806a7f3381d3d70921575b55e4475 [INFO] running `Command { std: "docker" "start" "-a" "56f1c17087185030d706e44a8121a320731806a7f3381d3d70921575b55e4475", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking is_ci v1.1.1 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking supports-hyperlinks v2.1.0 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Checking supports-unicode v2.0.0 [INFO] [stderr] Checking brownstone v3.0.0 [INFO] [stderr] Checking bytecount v0.6.7 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking joinery v2.1.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking tools v0.1.0 (/opt/rustwide/workdir/tools) [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking day15 v0.1.0 (/opt/rustwide/workdir/day15) [INFO] [stderr] Checking day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> day14/src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> day14/src/main.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn part1(root: &Parsed) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> day14/src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> day14/src/main.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn part1(root: &Parsed) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day08 v0.1.0 (/opt/rustwide/workdir/day08) [INFO] [stderr] Checking day06 v0.1.0 (/opt/rustwide/workdir/day06) [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> day08/src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct Loop { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 58 | start: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Loop` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day13 v0.1.0 (/opt/rustwide/workdir/day13) [INFO] [stderr] Checking day05 v0.1.0 (/opt/rustwide/workdir/day05) [INFO] [stderr] Checking day04 v0.1.0 (/opt/rustwide/workdir/day04) [INFO] [stderr] Checking day11 v0.1.0 (/opt/rustwide/workdir/day11) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> day05/src/main.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 169 | struct MappedSeed { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 170 | seed: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 171 | soil: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 172 | fertilizer: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 173 | water: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 174 | light: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 175 | temperature: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 176 | humidity: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MappedSeed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `seed_location` and `lowest_location_from_ranges` are never used [INFO] [stdout] --> day05/src/main.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 208 | impl Almanac { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 233 | fn seed_location(&self, seed: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn lowest_location_from_ranges(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stderr] Checking nom-supreme v0.8.0 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day11/src/main.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut stars: Vec = self.stars.iter().map(|s| s.clone()).collect(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current` is never read [INFO] [stdout] --> day12/src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | current = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day09 v0.1.0 (/opt/rustwide/workdir/day09) [INFO] [stderr] Checking day02 v0.1.0 (/opt/rustwide/workdir/day02) [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> day08/src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct Loop { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 58 | start: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Loop` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day03/src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut parts = root.parts.clone(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day03/src/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut parts = root.parts.clone(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day03/src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut parts = root.parts.clone(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day03/src/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut parts = root.parts.clone(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day07 v0.1.0 (/opt/rustwide/workdir/day07) [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day11/src/main.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut stars: Vec = self.stars.iter().map(|s| s.clone()).collect(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> day05/src/main.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 169 | struct MappedSeed { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 170 | seed: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 171 | soil: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 172 | fertilizer: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 173 | water: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 174 | light: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 175 | temperature: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 176 | humidity: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MappedSeed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `seed_location` and `lowest_location_from_ranges` are never used [INFO] [stdout] --> day05/src/main.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 208 | impl Almanac { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 233 | fn seed_location(&self, seed: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn lowest_location_from_ranges(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current` is never read [INFO] [stdout] --> day12/src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | current = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/day01) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.deref()` on a double reference, which returns `&&str` instead of dereferencing the inner type [INFO] [stdout] --> day01/src/main.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | part.starts_with(key.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.deref()` on a double reference, which returns `&&str` instead of dereferencing the inner type [INFO] [stdout] --> day01/src/main.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | part.starts_with(key.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling deprecate-until v0.1.1 [INFO] [stderr] Compiling enum-iterator-derive v1.2.1 [INFO] [stderr] Checking enum-iterator v1.4.1 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Checking pathfinding v4.6.0 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling enumset_derive v0.8.1 [INFO] [stderr] Checking day17 v0.1.0 (/opt/rustwide/workdir/day17) [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> day17/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> day17/src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> day17/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> day17/src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day17/src/main.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let mut city = root.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day17/src/main.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let mut city = root.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stderr] Checking day18 v0.1.0 (/opt/rustwide/workdir/day18) [INFO] [stderr] Checking day19 v0.1.0 (/opt/rustwide/workdir/day19) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> day18/src/main.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> day18/src/main.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `opposite` and `char` are never used [INFO] [stdout] --> day10/src/main.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 278 | impl Side { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 279 | fn opposite(&self) -> Side { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | fn char(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `opposite` and `char` are never used [INFO] [stdout] --> day10/src/main.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 278 | impl Side { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 279 | fn opposite(&self) -> Side { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | fn char(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> day18/src/main.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | let mut position = I64Vec2::new(0, 0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `horizontal` [INFO] [stdout] --> day18/src/main.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | let horizontal = instruction.direction == Left || instruction.direction == Right; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_horizontal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrong` [INFO] [stdout] --> day18/src/main.rs:183:54 [INFO] [stdout] | [INFO] [stdout] 183 | fn paths(&mut self, instructions: &Instructions, wrong: bool) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_wrong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day18/src/main.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let mut position = I64Vec2::new(0, 0); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day18/src/main.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let mut paths = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deltas` is never used [INFO] [stdout] --> day18/src/main.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl AltInstruction { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 78 | fn deltas(&self) -> I64Vec2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DugPath` is never constructed [INFO] [stdout] --> day18/src/main.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | struct DugPath { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DugPaths` is never constructed [INFO] [stdout] --> day18/src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | struct DugPaths(Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `paths` is never used [INFO] [stdout] --> day18/src/main.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 151 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | fn paths(&mut self, instructions: &Instructions, wrong: bool) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> day18/src/main.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | let mut position = I64Vec2::new(0, 0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `horizontal` [INFO] [stdout] --> day18/src/main.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | let horizontal = instruction.direction == Left || instruction.direction == Right; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_horizontal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrong` [INFO] [stdout] --> day18/src/main.rs:183:54 [INFO] [stdout] | [INFO] [stdout] 183 | fn paths(&mut self, instructions: &Instructions, wrong: bool) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_wrong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day18/src/main.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let mut position = I64Vec2::new(0, 0); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day18/src/main.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let mut paths = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deltas` is never used [INFO] [stdout] --> day18/src/main.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl AltInstruction { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 78 | fn deltas(&self) -> I64Vec2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DugPath` is never constructed [INFO] [stdout] --> day18/src/main.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | struct DugPath { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DugPaths` is never constructed [INFO] [stdout] --> day18/src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | struct DugPaths(Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `paths` is never used [INFO] [stdout] --> day18/src/main.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 151 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | fn paths(&mut self, instructions: &Instructions, wrong: bool) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking enumset v1.1.3 [INFO] [stderr] Checking day16 v0.1.0 (/opt/rustwide/workdir/day16) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> day16/src/main.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> day16/src/main.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day16/src/main.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | let mut new_beam; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day16/src/main.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | let mut new_beam; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.94s [INFO] running `Command { std: "docker" "inspect" "56f1c17087185030d706e44a8121a320731806a7f3381d3d70921575b55e4475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f1c17087185030d706e44a8121a320731806a7f3381d3d70921575b55e4475", kill_on_drop: false }` [INFO] [stdout] 56f1c17087185030d706e44a8121a320731806a7f3381d3d70921575b55e4475 [INFO] checking Belgabor/aoc2023 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBelgabor%2Faoc2023" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Belgabor/aoc2023 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Belgabor/aoc2023 [INFO] finished tweaking git repo https://github.com/Belgabor/aoc2023 [INFO] tweaked toml for git repo https://github.com/Belgabor/aoc2023 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Belgabor/aoc2023 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51e0b8a89cfd0d76a1fceb864a2130891ff155fe4b6442a003afb99f334fa116 [INFO] running `Command { std: "docker" "start" "-a" "51e0b8a89cfd0d76a1fceb864a2130891ff155fe4b6442a003afb99f334fa116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51e0b8a89cfd0d76a1fceb864a2130891ff155fe4b6442a003afb99f334fa116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51e0b8a89cfd0d76a1fceb864a2130891ff155fe4b6442a003afb99f334fa116", kill_on_drop: false }` [INFO] [stdout] 51e0b8a89cfd0d76a1fceb864a2130891ff155fe4b6442a003afb99f334fa116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf28a52054431bd03a61002723f27253092aaf44855d99f4d7d9490dc850bc2c [INFO] running `Command { std: "docker" "start" "-a" "cf28a52054431bd03a61002723f27253092aaf44855d99f4d7d9490dc850bc2c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking either v1.9.0 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/miniz_oxide-0.7.1/src/inflate/core.rs:1154:9 [INFO] [stdout] | [INFO] [stdout] 1154 | / match state { [INFO] [stdout] 1155 | | Start => generate_state!(state, 'state_machine, { [INFO] [stdout] 1156 | | l.bit_buf = 0; [INFO] [stdout] 1157 | | l.num_bits = 0; [INFO] [stdout] ... | [INFO] [stdout] 1699 | | _ => break TINFLStatus::Failed, [INFO] [stdout] 1700 | | }; [INFO] [stdout] | |_________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `miniz_oxide` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cf28a52054431bd03a61002723f27253092aaf44855d99f4d7d9490dc850bc2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf28a52054431bd03a61002723f27253092aaf44855d99f4d7d9490dc850bc2c", kill_on_drop: false }` [INFO] [stdout] cf28a52054431bd03a61002723f27253092aaf44855d99f4d7d9490dc850bc2c