[INFO] cloning repository https://github.com/tnlogy/advent2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tnlogy/advent2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftnlogy%2Fadvent2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftnlogy%2Fadvent2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6cd5b8b37922902c4b3e89f8d1519beae15bbb8b [INFO] building tnlogy/advent2024 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftnlogy%2Fadvent2024" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tnlogy/advent2024 on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tnlogy/advent2024 [INFO] finished tweaking git repo https://github.com/tnlogy/advent2024 [INFO] tweaked toml for git repo https://github.com/tnlogy/advent2024 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tnlogy/advent2024 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c92f97f9ef6afffc754267e2949be0f4cee886847af57bee9088aa61437adbba [INFO] running `Command { std: "docker" "start" "-a" "c92f97f9ef6afffc754267e2949be0f4cee886847af57bee9088aa61437adbba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c92f97f9ef6afffc754267e2949be0f4cee886847af57bee9088aa61437adbba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c92f97f9ef6afffc754267e2949be0f4cee886847af57bee9088aa61437adbba", kill_on_drop: false }` [INFO] [stdout] c92f97f9ef6afffc754267e2949be0f4cee886847af57bee9088aa61437adbba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f11f35725a0907538c26ff74e3e12cb6442084a64718da8071210ab30ff0981a [INFO] running `Command { std: "docker" "start" "-a" "f11f35725a0907538c26ff74e3e12cb6442084a64718da8071210ab30ff0981a", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling naga v23.0.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling wgpu-hal v23.0.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling wgpu-types v23.0.0 [INFO] [stderr] Compiling wgpu-core v23.0.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling gpu-descriptor v0.3.0 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling glow v0.14.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling wgpu v23.0.1 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling pollster v0.4.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling macroquad v0.4.13 [INFO] [stderr] Compiling advent2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day6.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut grid = input.lines().map(|l| l.chars().collect()).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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day6.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut start_pos = find_start_pos(grid.clone()); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/day10.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | .filter(|(x, height)| **height == 0u32) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/day8.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | for (c, positions) in antenna_map { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day14.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | for mut bot in bots.iter_mut() { [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] --> src/bin/day8.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut grid = input.lines().map(|l| l.chars().collect()).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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day17.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | let (mut a, mut b, mut c) = parse_registers(regs); [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] --> src/bin/day17.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let (mut a, mut b, mut c) = parse_registers(regs); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day17.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | let (mut a, mut b, mut c) = parse_registers(regs); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut grid = input.lines().map(|l| l.chars().collect()).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: unused import: `str::FromStr` [INFO] [stdout] --> src/bin/day1_1_wgpu.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{mem::size_of_val, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_grid` is never used [INFO] [stdout] --> src/bin/day16.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn print_grid(grid: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spectators` [INFO] [stdout] --> src/bin/day18.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut spectators: HashSet<(usize, usize)> = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spectators` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `best_cost` is never read [INFO] [stdout] --> src/bin/day18.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | best_cost = p.cost; [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day18.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut spectators: HashSet<(usize, usize)> = HashSet::new(); [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: function `print_grid` is never used [INFO] [stdout] --> src/bin/day18.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn print_grid(grid: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_char` is never used [INFO] [stdout] --> src/bin/day18.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn find_char(grid: &Vec>, e: char) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/bin/day1_1_wgpu.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let size = size_of_val(numbers) as wgpu::BufferAddress; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OVERFLOW` is never used [INFO] [stdout] --> src/bin/day1_1_wgpu.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const OVERFLOW: u32 = 0xffffffff; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day4.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | for (i, c) in line.chars().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/bin/day1_wgpu.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem::size_of_val, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/day4.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | for x in 0..number { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OVERFLOW` is never used [INFO] [stdout] --> src/bin/day1_wgpu.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const OVERFLOW: u32 = 0xffffffff; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "f11f35725a0907538c26ff74e3e12cb6442084a64718da8071210ab30ff0981a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f11f35725a0907538c26ff74e3e12cb6442084a64718da8071210ab30ff0981a", kill_on_drop: false }` [INFO] [stdout] f11f35725a0907538c26ff74e3e12cb6442084a64718da8071210ab30ff0981a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a88cc643ece0c22b5a8177596f3eef745435e0c9c846a4083d14c224edf528a [INFO] running `Command { std: "docker" "start" "-a" "2a88cc643ece0c22b5a8177596f3eef745435e0c9c846a4083d14c224edf528a", kill_on_drop: false }` [INFO] [stderr] Compiling advent2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/bin/day1_wgpu.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem::size_of_val, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/bin/day1_1_wgpu.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{mem::size_of_val, str::FromStr}; [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] --> src/bin/day17.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | let (mut a, mut b, mut c) = parse_registers(regs); [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] --> src/bin/day17.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let (mut a, mut b, mut c) = parse_registers(regs); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day17.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | let (mut a, mut b, mut c) = parse_registers(regs); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OVERFLOW` is never used [INFO] [stdout] --> src/bin/day1_wgpu.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const OVERFLOW: u32 = 0xffffffff; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day6.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut grid = input.lines().map(|l| l.chars().collect()).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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day6.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut start_pos = find_start_pos(grid.clone()); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day4.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | for (i, c) in line.chars().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/day4.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | for x in 0..number { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day16.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut grid = input.lines().map(|l| l.chars().collect()).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: function `print_grid` is never used [INFO] [stdout] --> src/bin/day16.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn print_grid(grid: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/day10.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | .filter(|(x, height)| **height == 0u32) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/bin/day1_1_wgpu.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let size = size_of_val(numbers) as wgpu::BufferAddress; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spectators` [INFO] [stdout] --> src/bin/day18.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut spectators: HashSet<(usize, usize)> = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spectators` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `best_cost` is never read [INFO] [stdout] --> src/bin/day18.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | best_cost = p.cost; [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day18.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut spectators: HashSet<(usize, usize)> = HashSet::new(); [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: constant `OVERFLOW` is never used [INFO] [stdout] --> src/bin/day1_1_wgpu.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const OVERFLOW: u32 = 0xffffffff; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_grid` is never used [INFO] [stdout] --> src/bin/day18.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn print_grid(grid: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_char` is never used [INFO] [stdout] --> src/bin/day18.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn find_char(grid: &Vec>, e: char) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day14.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | for mut bot in bots.iter_mut() { [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: unused variable: `c` [INFO] [stdout] --> src/bin/day8.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | for (c, positions) in antenna_map { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day8.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut grid = input.lines().map(|l| l.chars().collect()).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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.81s [INFO] running `Command { std: "docker" "inspect" "2a88cc643ece0c22b5a8177596f3eef745435e0c9c846a4083d14c224edf528a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a88cc643ece0c22b5a8177596f3eef745435e0c9c846a4083d14c224edf528a", kill_on_drop: false }` [INFO] [stdout] 2a88cc643ece0c22b5a8177596f3eef745435e0c9c846a4083d14c224edf528a