[INFO] cloning repository https://github.com/hvogeler/aoc2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hvogeler/aoc2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhvogeler%2Faoc2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhvogeler%2Faoc2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd020083094ba6f2c415e4d7301f38406d43d12e [INFO] checking hvogeler/aoc2024 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhvogeler%2Faoc2024" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hvogeler/aoc2024 [INFO] finished tweaking git repo https://github.com/hvogeler/aoc2024 [INFO] tweaked toml for git repo https://github.com/hvogeler/aoc2024 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hvogeler/aoc2024 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hvogeler/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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b99f2a7a26977c489f640b3475603e0f5f3c41833d7ee10c6f03a2fc779fe837 [INFO] running `Command { std: "docker" "start" "-a" "b99f2a7a26977c489f640b3475603e0f5f3c41833d7ee10c6f03a2fc779fe837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b99f2a7a26977c489f640b3475603e0f5f3c41833d7ee10c6f03a2fc779fe837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b99f2a7a26977c489f640b3475603e0f5f3c41833d7ee10c6f03a2fc779fe837", kill_on_drop: false }` [INFO] [stdout] b99f2a7a26977c489f640b3475603e0f5f3c41833d7ee10c6f03a2fc779fe837 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d056da5677e3d1753a6865b50b3d3e6fcb0c8c9b68a0ec357d0aceb33ede5646 [INFO] running `Command { std: "docker" "start" "-a" "d056da5677e3d1753a6865b50b3d3e6fcb0c8c9b68a0ec357d0aceb33ede5646", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking convert-base v1.1.2 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/day01) [INFO] [stdout] warning: function `makeMapWithCounts` should have a snake case name [INFO] [stdout] --> day01/src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn makeMapWithCounts(list: Vec) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `make_map_with_counts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `makeMapWithCounts` should have a snake case name [INFO] [stdout] --> day01/src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn makeMapWithCounts(list: Vec) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `make_map_with_counts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking day07 v0.1.0 (/opt/rustwide/workdir/day07) [INFO] [stderr] Checking day02 v0.1.0 (/opt/rustwide/workdir/day02) [INFO] [stderr] Checking day04 v0.1.0 (/opt/rustwide/workdir/day04) [INFO] [stderr] Checking day05 v0.1.0 (/opt/rustwide/workdir/day05) [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [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: unused import: `default` [INFO] [stdout] --> day03/src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{default, path::Path, str::FromStr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Cursor` [INFO] [stdout] --> day04/src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, io::Cursor, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Cursor` [INFO] [stdout] --> day04/src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, io::Cursor, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FlatMap`, `HashSet`, `Map`, and `string::FromUtf8Error` [INFO] [stdout] --> day08/src/main.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | iter::{FlatMap, Map}, [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | string::FromUtf8Error, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> day02/src/main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | for (i, line) in data.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FlatMap`, `HashSet`, `Map`, and `string::FromUtf8Error` [INFO] [stdout] --> day08/src/main.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | iter::{FlatMap, Map}, [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | string::FromUtf8Error, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> day02/src/main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | for (i, line) in data.lines().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day03` (bin "day03" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day03/src/main.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | token: String::from_str(m).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> day03/src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{default, path::Path, str::FromStr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY_SPOT` is never used [INFO] [stdout] --> day08/src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const EMPTY_SPOT: char = '.'; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANTINODE` is never used [INFO] [stdout] --> day08/src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const ANTINODE: char = '#'; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CityMap` is never constructed [INFO] [stdout] --> day08/src/main.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct CityMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_antenna`, `init_cols_dimension`, `create_lines`, and `create_antinodes` are never used [INFO] [stdout] --> day08/src/main.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl CityMap { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 33 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn add_antenna(&mut self, antenna: Antenna) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn init_cols_dimension(&mut self, cols: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn create_lines(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn create_antinodes(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Antenna` is never constructed [INFO] [stdout] --> day08/src/main.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | struct Antenna { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> day08/src/main.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 129 | impl Antenna { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 130 | fn new(frequency: char, row: i64, col: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeoLine` is never constructed [INFO] [stdout] --> day08/src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | struct GeoLine { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `distance`, and `get_line_eq` are never used [INFO] [stdout] --> day08/src/main.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 144 | impl GeoLine { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 145 | fn new(a: Antenna, b: Antenna) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn distance(&self) -> Distance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn get_line_eq(&self) -> LineEq { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineEq` is never constructed [INFO] [stdout] --> day08/src/main.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | struct LineEq { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> day08/src/main.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> day08/src/main.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 176 | impl Location { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 177 | fn new(row: i64, col: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Distance` is never constructed [INFO] [stdout] --> day08/src/main.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | struct Distance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapDimensions` is never constructed [INFO] [stdout] --> day08/src/main.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | struct MapDimensions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day03/src/main.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | token: String::from_str(m).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day03` (bin "day03") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d056da5677e3d1753a6865b50b3d3e6fcb0c8c9b68a0ec357d0aceb33ede5646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d056da5677e3d1753a6865b50b3d3e6fcb0c8c9b68a0ec357d0aceb33ede5646", kill_on_drop: false }` [INFO] [stdout] d056da5677e3d1753a6865b50b3d3e6fcb0c8c9b68a0ec357d0aceb33ede5646