[INFO] cloning repository https://github.com/MichaelBrunn3r/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MichaelBrunn3r/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelBrunn3r%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelBrunn3r%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7651e850c7aeae929f1587e0ad20788141363db4 [INFO] testing MichaelBrunn3r/advent-of-code against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelBrunn3r%2Fadvent-of-code" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/MichaelBrunn3r/advent-of-code [INFO] finished tweaking git repo https://github.com/MichaelBrunn3r/advent-of-code [INFO] tweaked toml for git repo https://github.com/MichaelBrunn3r/advent-of-code written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MichaelBrunn3r/advent-of-code on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MichaelBrunn3r/advent-of-code 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24cab17b265e7c12bd64118b70a8b408956d9ce6580717adfe96291fe180378f [INFO] running `Command { std: "docker" "start" "-a" "24cab17b265e7c12bd64118b70a8b408956d9ce6580717adfe96291fe180378f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24cab17b265e7c12bd64118b70a8b408956d9ce6580717adfe96291fe180378f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24cab17b265e7c12bd64118b70a8b408956d9ce6580717adfe96291fe180378f", kill_on_drop: false }` [INFO] [stdout] 24cab17b265e7c12bd64118b70a8b408956d9ce6580717adfe96291fe180378f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 126ec21962791fc3d420cda2b9dac346aa4fd95e9dde91778c78c86bd7d3d9b3 [INFO] running `Command { std: "docker" "start" "-a" "126ec21962791fc3d420cda2b9dac346aa4fd95e9dde91778c78c86bd7d3d9b3", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling rustix v0.38.26 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ciborium-io v0.2.1 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling clap_builder v4.4.11 [INFO] [stderr] Compiling ciborium-ll v0.2.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling clap v4.4.11 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_seeder v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling lru v0.7.8 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling const_for v0.1.5 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling memoize-inner v0.4.3 [INFO] [stderr] Compiling memoize v0.4.2 [INFO] [stderr] Compiling ciborium v0.2.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling aoc v0.1.0 (/opt/rustwide/workdir/aoc) [INFO] [stderr] Compiling aoc-2024-13 v0.1.0 (/opt/rustwide/workdir/2024/day-13) [INFO] [stderr] Compiling aoc-2023-11 v0.1.0 (/opt/rustwide/workdir/2023/day-11) [INFO] [stderr] Compiling aoc-2023-9 v0.1.0 (/opt/rustwide/workdir/2023/day-9) [INFO] [stderr] Compiling aoc-2024-3 v0.1.0 (/opt/rustwide/workdir/2024/day-3) [INFO] [stderr] Compiling aoc-2023-5 v0.1.0 (/opt/rustwide/workdir/2023/day-5) [INFO] [stderr] Compiling aoc-2023-16 v0.1.0 (/opt/rustwide/workdir/2023/day-16) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> 2024/day-13/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokens_10B` should have a snake case name [INFO] [stdout] --> 2024/day-13/src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut tokens_10B = 0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tokens_10_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> 2023/day-9/src/lib.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | &mut DATA [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 227 | &raw mut DATA [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc-2024-10 v0.1.0 (/opt/rustwide/workdir/2024/day-10) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> 2023/day-16/src/lib.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn p2(input: &str) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY` is never used [INFO] [stdout] --> 2023/day-16/src/lib.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const EMPTY: u8 = b'.'; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc-2024-5 v0.1.0 (/opt/rustwide/workdir/2024/day-5) [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> 2024/day-10/src/lib.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use aoc::{prelude::*, ConstVec}; [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: `itertools::Itertools` [INFO] [stdout] --> 2024/day-10/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConstVec` [INFO] [stdout] --> 2024/day-5/src/lib.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use aoc::{prelude::*, ConstVec}; [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: `itertools::Itertools` [INFO] [stdout] --> 2024/day-5/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc-2024-17 v0.1.0 (/opt/rustwide/workdir/2024/day-17) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> 2024/day-5/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | for i in 0..NUM_LINES_UPDATES { [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: creating a shared reference to mutable static [INFO] [stdout] --> 2024/day-5/src/lib.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 45 | if is_correctly_ordered(&pages, unsafe{&RULES}) { [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 45 | if is_correctly_ordered(&pages, unsafe{&raw const RULES}) { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> 2024/day-5/src/lib.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | (unsafe{&RULES}, correct_updates, wrong_updates) [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 52 | (unsafe{&raw const RULES}, correct_updates, wrong_updates) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc-2023-1 v0.1.0 (/opt/rustwide/workdir/2023/day-1) [INFO] [stderr] Compiling aoc-2023-7 v0.1.0 (/opt/rustwide/workdir/2023/day-7) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> 2024/day-17/src/lib.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | enum Opcode { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 77 | ADV = 0, // A = floor(A/pow(2, )); IP += 2 [INFO] [stdout] | ^^^ [INFO] [stdout] 78 | BXL = 1, // B = B ^ ; IP += 2 [INFO] [stdout] | ^^^ [INFO] [stdout] 79 | BST = 2, // B = % 8; IP += 2 [INFO] [stdout] | ^^^ [INFO] [stdout] 80 | JNZ = 3, // if A == 0 { IP += 2 } else { IP += } [INFO] [stdout] | ^^^ [INFO] [stdout] 81 | BXC = 4, // B = B ^ C; IP += 2 [INFO] [stdout] | ^^^ [INFO] [stdout] 82 | OUT = 5, // output( % 8); IP += 2 [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | BDV = 6, // B = floor(A/pow(2, )); IP += 2 [INFO] [stdout] | ^^^ [INFO] [stdout] 84 | CDV = 7, // C = floor(A/pow(2, )); IP += 2 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has a derived impl for the trait `Debug`, but this is 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 aoc-2024-16 v0.1.0 (/opt/rustwide/workdir/2024/day-16) [INFO] [stderr] Compiling aoc-2023-3 v0.1.0 (/opt/rustwide/workdir/2023/day-3) [INFO] [stderr] Compiling aoc-2023-6 v0.1.0 (/opt/rustwide/workdir/2023/day-6) [INFO] [stderr] Compiling aoc-2023-12 v0.1.0 (/opt/rustwide/workdir/2023/day-12) [INFO] [stderr] Compiling aoc-2024-2 v0.1.0 (/opt/rustwide/workdir/2024/day-2) [INFO] [stderr] Compiling aoc-2024-19 v0.1.0 (/opt/rustwide/workdir/2024/day-19) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> 2024/day-16/src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn p(input: &str) -> (usize, usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POS_END` is never used [INFO] [stdout] --> 2024/day-16/src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const POS_END: XY = xy(END % LINE_LENGTH, END / LINE_LENGTH); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc-2024-14 v0.1.0 (/opt/rustwide/workdir/2024/day-14) [INFO] [stderr] Compiling aoc-2023-4 v0.1.0 (/opt/rustwide/workdir/2023/day-4) [INFO] [stderr] Compiling aoc-2023-17 v0.1.0 (/opt/rustwide/workdir/2023/day-17) [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> 2024/day-14/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::time; [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: `std::thread` [INFO] [stdout] --> 2024/day-14/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> 2024/day-14/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> 2023/day-17/src/lib.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn p2(input: &str) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Robot` is never used [INFO] [stdout] --> 2024/day-14/src/lib.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type Robot = (XY, XY); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc-2024-8 v0.1.0 (/opt/rustwide/workdir/2024/day-8) [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> 2024/day-8/src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use aoc::{prelude::*, ConstVec}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc-2023-2 v0.1.0 (/opt/rustwide/workdir/2023/day-2) [INFO] [stderr] Compiling aoc-2024-15 v0.1.0 (/opt/rustwide/workdir/2024/day-15) [INFO] [stderr] Compiling aoc-2024-6 v0.1.0 (/opt/rustwide/workdir/2024/day-6) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> 2024/day-15/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [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: `aoc::prelude` [INFO] [stdout] --> 2024/day-15/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aoc::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> 2024/day-15/src/lib.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 51 | EMPTY => { [INFO] [stdout] | ----- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 55 | EMPTY => { [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moves` [INFO] [stdout] --> 2024/day-15/src/lib.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let (small_map, moves) = input.as_bytes().split_at(SIDE_LENGTH * LINE_LENGTH + 1); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_moves` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> 2024/day-15/src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aoc::prelude::*` [INFO] [stdout] --> 2024/day-6/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aoc::prelude::*; [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: `itertools::Itertools` [INFO] [stdout] --> 2024/day-6/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc-2023-25 v0.1.0 (/opt/rustwide/workdir/2023/day-25) [INFO] [stderr] Compiling aoc-2024-9 v0.1.0 (/opt/rustwide/workdir/2024/day-9) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> 2024/day-6/src/lib.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn p2(input: &str) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RIGHT`, `DOWN`, and `LEFT` are never constructed [INFO] [stdout] --> 2024/day-6/src/lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 106 | UP = 0, [INFO] [stdout] 107 | RIGHT = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 108 | DOWN = 2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 109 | LEFT = 3, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` 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 aoc-2024-1 v0.1.0 (/opt/rustwide/workdir/2024/day-1) [INFO] [stderr] Compiling aoc-2023-10 v0.1.0 (/opt/rustwide/workdir/2023/day-10) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> 2023/day-25/src/lib.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn p2(input: &str) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> 2023/day-25/src/lib.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn decode(mut label: u16) -> [u8; 3] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `clear` are never used [INFO] [stdout] --> 2023/day-25/src/lib.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 61 | impl ConstVec { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 62 | const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn push(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aoc::prelude` [INFO] [stdout] --> 2024/day-9/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use aoc::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc-2023-24 v0.1.0 (/opt/rustwide/workdir/2023/day-24) [INFO] [stderr] Compiling aoc-2024-4 v0.1.0 (/opt/rustwide/workdir/2024/day-4) [INFO] [stderr] Compiling aoc-2024-7 v0.1.0 (/opt/rustwide/workdir/2024/day-7) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> 2024/day-4/src/lib.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | .filter(|&w| (w == b"XMAS" || w == b"SAMX")) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 14 - .filter(|&w| (w == b"XMAS" || w == b"SAMX")) [INFO] [stdout] 14 + .filter(|&w| w == b"XMAS" || w == b"SAMX") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p3` [INFO] [stdout] --> 2023/day-24/src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let p3 = hailstones[2].pos.sub(&hailstones[0].pos); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> 2023/day-24/src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let v2 = hailstones[1].vel.sub(&hailstones[0].vel); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v3` [INFO] [stdout] --> 2023/day-24/src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let v3 = hailstones[2].vel.sub(&hailstones[0].vel); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> 2023/day-24/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | HAIL_STONES.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> 2023/day-24/src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | HAIL_STONES.push(parse_hailstone(&mut data)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> 2023/day-24/src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | HAIL_STONES.as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aoc::prelude` [INFO] [stdout] --> 2024/day-4/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use aoc::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc-2023-19 v0.1.0 (/opt/rustwide/workdir/2023/day-19) [INFO] [stderr] Compiling aoc-2024-18 v0.1.0 (/opt/rustwide/workdir/2024/day-18) [INFO] [stderr] Compiling aoc-2023-13 v0.1.0 (/opt/rustwide/workdir/2023/day-13) [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> 2024/day-18/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> 2024/day-18/src/lib.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::{HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc-2024-11 v0.1.0 (/opt/rustwide/workdir/2024/day-11) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> 2023/day-4/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | / WINNING_NUMBERS [INFO] [stdout] 10 | | .iter_mut() [INFO] [stdout] | |_______________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc-2023-14 v0.1.0 (/opt/rustwide/workdir/2023/day-14) [INFO] [stderr] Compiling aoc-2023-8 v0.1.0 (/opt/rustwide/workdir/2023/day-8) [INFO] [stdout] warning: unused import: `ConstVec` [INFO] [stdout] --> 2023/day-14/src/lib.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use aoc::{prelude::*, ConstVec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `stdsimd` [INFO] [stdout] --> 2023/day-14/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(stdsimd)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_wf_name_length` is never used [INFO] [stdout] --> 2023/day-19/src/parse.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn get_wf_name_length(crs: &mut Cursor) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rules_list_terminator_offset` is never used [INFO] [stdout] --> 2023/day-19/src/parse.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn get_rules_list_terminator_offset(data: &mut Cursor) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> 2023/day-19/src/lib.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | let stack = unsafe { &mut STACK }; [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 42 | let stack = unsafe { &raw mut STACK }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> 2023/day-19/src/lib.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | let accepted = unsafe { &mut ACCEPTED }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 49 | let accepted = unsafe { &raw mut ACCEPTED }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> 2023/day-19/src/parse.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | RULES.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> 2023/day-19/src/parse.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | parse_rule(crs, RULES.emplace_back()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> 2023/day-19/src/parse.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | parse_rule(crs, RULES.emplace_back()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> 2023/day-19/src/parse.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | parse_terminal_rule(crs, RULES.emplace_back()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> 2023/day-19/src/parse.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | (&WORKFLOWS, &RULES) [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 39 | (&raw const WORKFLOWS, &RULES) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> 2023/day-19/src/parse.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | (&WORKFLOWS, &RULES) [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 39 | (&WORKFLOWS, &raw const RULES) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> 2023/day-19/src/parse.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | for part in PARTS.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> 2023/day-19/src/parse.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | &PARTS [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 54 | &raw const PARTS [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] Compiling aoc-2023-15 v0.1.0 (/opt/rustwide/workdir/2023/day-15) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> 2023/day-8/src/lib.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | (instructions, unsafe { &NETWORK }, nodes_ending_in_a) [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 32 | (instructions, unsafe { &raw const NETWORK }, nodes_ending_in_a) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2023-14` (lib) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> 2023/day-15/src/lib.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | .fold(0usize, |acc, &c| ((acc + c as usize) * 17)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - .fold(0usize, |acc, &c| ((acc + c as usize) * 17)) [INFO] [stdout] 47 + .fold(0usize, |acc, &c| (acc + c as usize) * 17) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "126ec21962791fc3d420cda2b9dac346aa4fd95e9dde91778c78c86bd7d3d9b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "126ec21962791fc3d420cda2b9dac346aa4fd95e9dde91778c78c86bd7d3d9b3", kill_on_drop: false }` [INFO] [stdout] 126ec21962791fc3d420cda2b9dac346aa4fd95e9dde91778c78c86bd7d3d9b3