[INFO] cloning repository https://github.com/petereichinger/aoc23 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/petereichinger/aoc23" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpetereichinger%2Faoc23", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpetereichinger%2Faoc23'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8a8d43fa914394c0482b38e6d7239239f3af4fb [INFO] checking petereichinger/aoc23 against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpetereichinger%2Faoc23" "/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/petereichinger/aoc23 [INFO] finished tweaking git repo https://github.com/petereichinger/aoc23 [INFO] tweaked toml for git repo https://github.com/petereichinger/aoc23 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/petereichinger/aoc23 on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/petereichinger/aoc23 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.18.2 [INFO] [stderr] Downloaded relative-path v1.9.0 [INFO] [stderr] Downloaded rstest_macros v0.18.2 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd5c9cf35e245e979394bb1c1fd413ad5adec53ba4733b13c35fe123e1518b60 [INFO] running `Command { std: "docker" "start" "-a" "dd5c9cf35e245e979394bb1c1fd413ad5adec53ba4733b13c35fe123e1518b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd5c9cf35e245e979394bb1c1fd413ad5adec53ba4733b13c35fe123e1518b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd5c9cf35e245e979394bb1c1fd413ad5adec53ba4733b13c35fe123e1518b60", kill_on_drop: false }` [INFO] [stdout] dd5c9cf35e245e979394bb1c1fd413ad5adec53ba4733b13c35fe123e1518b60 [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" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b20f29577a821c3eb7d67ea8662899daa91c7a9a333efe233f2f6bcb87eca5a [INFO] running `Command { std: "docker" "start" "-a" "7b20f29577a821c3eb7d67ea8662899daa91c7a9a333efe233f2f6bcb87eca5a", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling relative-path v1.9.0 [INFO] [stderr] Checking day02 v0.1.0 (/opt/rustwide/workdir/day02) [INFO] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/day01) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> day02/src/part02.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 28 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking library v0.1.0 (/opt/rustwide/workdir/library) [INFO] [stdout] warning: unused import: `UVec2` [INFO] [stdout] --> library/src/grid2d.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::{IVec2, UVec2}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day04 v0.1.0 (/opt/rustwide/workdir/day04) [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stdout] warning: unused import: `UVec2` [INFO] [stdout] --> library/src/grid2d.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::{IVec2, UVec2}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> day04/src/part01.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct Card { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 59 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> day03/src/part01.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | let mut grid = grid2d::Grid2D::::new_empty(width, height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----- ------ expected `u32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> library/src/grid2d.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new_empty(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 10 | let mut grid = grid2d::Grid2D::::new_empty(width.try_into().unwrap(), height); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 10 | let mut grid = grid2d::Grid2D::::new_empty(width, height.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> day03/src/part01.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | *(grid.get_mut(x, y).unwrap()) = Some(cell); [INFO] [stdout] | ^^^^^^^ - - expected `u32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> library/src/grid2d.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn get_mut(&mut self, x: u32, y: u32) -> Result<&mut Option, OutOfBoundsError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 16 | *(grid.get_mut(x.try_into().unwrap(), y).unwrap()) = Some(cell); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 16 | *(grid.get_mut(x, y.try_into().unwrap()).unwrap()) = Some(cell); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> day03/src/part01.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | let cell = grid.get(x, y).unwrap(); [INFO] [stdout] | ^^^ - - expected `u32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> library/src/grid2d.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get(&self, x: u32, y: u32) -> Result<&Option, OutOfBoundsError> { [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 27 | let cell = grid.get(x.try_into().unwrap(), y).unwrap(); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 27 | let cell = grid.get(x, y.try_into().unwrap()).unwrap(); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> day03/src/part01.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | let cell = grid.get(x, y).unwrap_or(&Some('.')).unwrap_or('.'); [INFO] [stdout] | ^^^ - - expected `u32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> library/src/grid2d.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get(&self, x: u32, y: u32) -> Result<&Option, OutOfBoundsError> { [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 58 | let cell = grid.get(x.try_into().unwrap(), y).unwrap_or(&Some('.')).unwrap_or('.'); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 58 | let cell = grid.get(x, y.try_into().unwrap()).unwrap_or(&Some('.')).unwrap_or('.'); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> day03/src/part02.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | let mut grid = grid2d::Grid2D::::new_empty(width, height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----- ------ expected `u32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> library/src/grid2d.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new_empty(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 10 | let mut grid = grid2d::Grid2D::::new_empty(width.try_into().unwrap(), height); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 10 | let mut grid = grid2d::Grid2D::::new_empty(width, height.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> day03/src/part02.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | *(grid.get_mut(x, y).unwrap()) = Some(cell); [INFO] [stdout] | ^^^^^^^ - - expected `u32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> library/src/grid2d.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn get_mut(&mut self, x: u32, y: u32) -> Result<&mut Option, OutOfBoundsError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 15 | *(grid.get_mut(x.try_into().unwrap(), y).unwrap()) = Some(cell); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 15 | *(grid.get_mut(x, y.try_into().unwrap()).unwrap()) = Some(cell); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> day03/src/part02.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | let cell = grid.get(x, y).unwrap(); [INFO] [stdout] | ^^^ - - expected `u32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> library/src/grid2d.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get(&self, x: u32, y: u32) -> Result<&Option, OutOfBoundsError> { [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | let cell = grid.get(x.try_into().unwrap(), y).unwrap(); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | let cell = grid.get(x, y.try_into().unwrap()).unwrap(); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> day03/src/part02.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | let cell = grid.get(*x, *y).unwrap_or(&Some('.')).unwrap_or('.'); [INFO] [stdout] | ^^^ -- -- expected `u32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> library/src/grid2d.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get(&self, x: u32, y: u32) -> Result<&Option, OutOfBoundsError> { [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 63 | let cell = grid.get((*x).try_into().unwrap(), *y).unwrap_or(&Some('.')).unwrap_or('.'); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 63 | let cell = grid.get(*x, (*y).try_into().unwrap()).unwrap_or(&Some('.')).unwrap_or('.'); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day03` (bin "day03") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7b20f29577a821c3eb7d67ea8662899daa91c7a9a333efe233f2f6bcb87eca5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b20f29577a821c3eb7d67ea8662899daa91c7a9a333efe233f2f6bcb87eca5a", kill_on_drop: false }` [INFO] [stdout] 7b20f29577a821c3eb7d67ea8662899daa91c7a9a333efe233f2f6bcb87eca5a