[INFO] cloning repository https://github.com/EduardovEduard/AOC2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EduardovEduard/AOC2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEduardovEduard%2FAOC2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEduardovEduard%2FAOC2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22262026fedc22f66ecb576325b11a102b28f2fe [INFO] testing EduardovEduard/AOC2024 against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEduardovEduard%2FAOC2024" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/EduardovEduard/AOC2024 [INFO] finished tweaking git repo https://github.com/EduardovEduard/AOC2024 [INFO] tweaked toml for git repo https://github.com/EduardovEduard/AOC2024 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EduardovEduard/AOC2024 on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/EduardovEduard/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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a31cbc394e7687af4080095955f8de3f49a46b152a91d690827d41ed7212421e [INFO] running `Command { std: "docker" "start" "-a" "a31cbc394e7687af4080095955f8de3f49a46b152a91d690827d41ed7212421e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a31cbc394e7687af4080095955f8de3f49a46b152a91d690827d41ed7212421e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a31cbc394e7687af4080095955f8de3f49a46b152a91d690827d41ed7212421e", kill_on_drop: false }` [INFO] [stdout] a31cbc394e7687af4080095955f8de3f49a46b152a91d690827d41ed7212421e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fa9c1f8e8b3947837dba8d56f0c1a8d5ae9fa9e2eb3fc60392a26ed3c03304f5 [INFO] running `Command { std: "docker" "start" "-a" "fa9c1f8e8b3947837dba8d56f0c1a8d5ae9fa9e2eb3fc60392a26ed3c03304f5", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tinyjson v2.5.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/09.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `Pointer` [INFO] [stdout] --> src/bin/15.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Pointer}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Mul` [INFO] [stdout] --> src/bin/15.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/11.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | for i in 0..25 { [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/11.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut stones = parse_input(input); [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: `std::io::empty` [INFO] [stdout] --> src/bin/16.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::empty; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/bin/18.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | if let res@ Some(value) = bfs(&board) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/18.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | for (i, &(x, y)) in coords.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/bin/18.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(value) = bfs(&board) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/04.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/04.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | Char::Other(c) => None, [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: method `char` is never used [INFO] [stdout] --> src/bin/04.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl Char { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | fn char(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `neighbours_of` is never used [INFO] [stdout] --> src/bin/04.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 116 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | fn neighbours_of(&self, point: &Point, char: &Char) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> src/bin/15.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/05.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> src/bin/17.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/bin/08.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(p) = board.get(&next_left) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_left` is never read [INFO] [stdout] --> src/bin/08.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | next_left = next_left.move_to(diff.0, diff.1); [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: unused variable: `p` [INFO] [stdout] --> src/bin/08.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(p) = board.get(&next_right) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_right` is never read [INFO] [stdout] --> src/bin/08.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | next_right = next_right.move_to(-diff.0, -diff.1); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/08.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut board = Board::new(input); [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: `p` [INFO] [stdout] --> src/bin/08.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | while let Some(p) = board.get(&next_left) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/bin/08.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | while let Some(p) = board.get(&next_right) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/05.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let (graph, mut updates) = parse_input(input); [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: `itertools::Itertools` [INFO] [stdout] --> src/bin/16.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/08.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let mut board = Board::new(input); [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/05.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let (graph, mut updates) = parse_input(input); [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/05.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut lines = &mut input.lines(); [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/15.rs:388:10 [INFO] [stdout] | [INFO] [stdout] 388 | let (mut board, directions) = parse_input(input); [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: associated function `new` is never used [INFO] [stdout] --> src/bin/15.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 285 | impl ScaledBoard { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 286 | fn new(input: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set` and `print` are never used [INFO] [stdout] --> src/bin/08.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn set(&mut self, point: &Point, char: char) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/bin/16.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | let p = prevs.get(&(*key, *value)).or(Some(&empty)).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/06.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> src/bin/06.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `char` is never used [INFO] [stdout] --> src/bin/16.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 75 | impl CellType { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn char(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `opposite` is never used [INFO] [stdout] --> src/bin/16.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | fn opposite(&self) -> Direction { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set` and `print` are never used [INFO] [stdout] --> src/bin/16.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 133 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | fn set(&mut self, point: &Point, ch: char) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/bin/06.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | if let g @ Char::GUARD(direction) = self.get(&point).unwrap() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [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/10.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | if let Some(c) = self.get(&neighbour) { [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/17.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let mut result = interpreter.run(); [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/06.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | let mut board = Board::new(input); [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: method `opposite` is never used [INFO] [stdout] --> src/bin/06.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | fn opposite(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_back` is never used [INFO] [stdout] --> src/bin/06.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl MovingPoint { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn move_back(&self) -> MovingPoint { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/bin/06.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 149 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | fn set(&mut self, point: &Point, char: char) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/14.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [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/14.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | for (x, ys) in &mut by_x { [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: method `turn_right` is never used [INFO] [stdout] --> src/bin/12.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 16 | fn turn_right(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set` and `print` are never used [INFO] [stdout] --> src/bin/12.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn set(&mut self, point: &Point, ch: char) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/20.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let mut board = Board::new(input); [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/20.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let mut board = Board::new(input); [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/20.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | fn reverse_update_dist(mut dist: &mut Vec>, distance: u32) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance_to` is never used [INFO] [stdout] --> src/bin/20.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Point { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | fn distance_to(&self, x: usize, y: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set` and `neighbours_of` are never used [INFO] [stdout] --> src/bin/20.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | fn set(&mut self, point: &Point, ch: char) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn neighbours_of(&self, point: &Point, ch: char) -> Vec<(Point, Direction)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/21.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [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/13.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut chunks = input.lines().chunks(4); [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 `A` should have a snake case name [INFO] [stdout] --> src/bin/13.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | if let Some((A, B)) = solve(a, b, prize) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/bin/13.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | if let Some((A, B)) = solve(a, b, prize) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/bin/13.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some((A, B)) = solve(a, b, &new_prize) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/bin/13.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some((A, B)) = solve(a, b, &new_prize) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.80s [INFO] running `Command { std: "docker" "inspect" "fa9c1f8e8b3947837dba8d56f0c1a8d5ae9fa9e2eb3fc60392a26ed3c03304f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa9c1f8e8b3947837dba8d56f0c1a8d5ae9fa9e2eb3fc60392a26ed3c03304f5", kill_on_drop: false }` [INFO] [stdout] fa9c1f8e8b3947837dba8d56f0c1a8d5ae9fa9e2eb3fc60392a26ed3c03304f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 447bd202863d91c2946a34dc56bdd43c0c532e82156a818723630c1efe4ceb03 [INFO] running `Command { std: "docker" "start" "-a" "447bd202863d91c2946a34dc56bdd43c0c532e82156a818723630c1efe4ceb03", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `Pointer` [INFO] [stdout] --> src/bin/15.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Pointer}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Mul` [INFO] [stdout] --> src/bin/15.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/bin/08.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(p) = board.get(&next_left) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_left` is never read [INFO] [stdout] --> src/bin/08.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | next_left = next_left.move_to(diff.0, diff.1); [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: unused variable: `p` [INFO] [stdout] --> src/bin/08.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(p) = board.get(&next_right) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_right` is never read [INFO] [stdout] --> src/bin/08.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | next_right = next_right.move_to(-diff.0, -diff.1); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/08.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut board = Board::new(input); [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: `p` [INFO] [stdout] --> src/bin/08.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | while let Some(p) = board.get(&next_left) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/bin/08.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | while let Some(p) = board.get(&next_right) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/08.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let mut board = Board::new(input); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/21.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set` and `print` are never used [INFO] [stdout] --> src/bin/08.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn set(&mut self, point: &Point, char: char) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/bin/18.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | if let res@ Some(value) = bfs(&board) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/18.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | for (i, &(x, y)) in coords.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/bin/18.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(value) = bfs(&board) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::empty` [INFO] [stdout] --> src/bin/16.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::empty; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/09.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/14.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> src/bin/17.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, VecDeque}; [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/13.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut chunks = input.lines().chunks(4); [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 `A` should have a snake case name [INFO] [stdout] --> src/bin/13.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | if let Some((A, B)) = solve(a, b, prize) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/bin/13.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | if let Some((A, B)) = solve(a, b, prize) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/bin/13.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some((A, B)) = solve(a, b, &new_prize) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/bin/13.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some((A, B)) = solve(a, b, &new_prize) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> src/bin/15.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/16.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/14.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | for (x, ys) in &mut by_x { [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/15.rs:388:10 [INFO] [stdout] | [INFO] [stdout] 388 | let (mut board, directions) = parse_input(input); [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: associated function `new` is never used [INFO] [stdout] --> src/bin/15.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 285 | impl ScaledBoard { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 286 | fn new(input: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/bin/16.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | let p = prevs.get(&(*key, *value)).or(Some(&empty)).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [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/17.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let mut result = interpreter.run(); [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: method `char` is never used [INFO] [stdout] --> src/bin/16.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 75 | impl CellType { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn char(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `opposite` is never used [INFO] [stdout] --> src/bin/16.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | fn opposite(&self) -> Direction { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set` and `print` are never used [INFO] [stdout] --> src/bin/16.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 133 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | fn set(&mut self, point: &Point, ch: char) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/20.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let mut board = Board::new(input); [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/10.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | if let Some(c) = self.get(&neighbour) { [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/20.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let mut board = Board::new(input); [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/20.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | fn reverse_update_dist(mut dist: &mut Vec>, distance: u32) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance_to` is never used [INFO] [stdout] --> src/bin/20.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Point { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | fn distance_to(&self, x: usize, y: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set` and `neighbours_of` are never used [INFO] [stdout] --> src/bin/20.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | fn set(&mut self, point: &Point, ch: char) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn neighbours_of(&self, point: &Point, ch: char) -> Vec<(Point, Direction)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/06.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> src/bin/06.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/bin/06.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | if let g @ Char::GUARD(direction) = self.get(&point).unwrap() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [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/06.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | let mut board = Board::new(input); [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: method `opposite` is never used [INFO] [stdout] --> src/bin/06.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | fn opposite(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_back` is never used [INFO] [stdout] --> src/bin/06.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl MovingPoint { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn move_back(&self) -> MovingPoint { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/bin/06.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 149 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | fn set(&mut self, point: &Point, char: char) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "06" test); 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/c066bf6804adc55193b71afdff6a56922f4a8689/bin/rustc --crate-name 06 --edition=2021 src/bin/06.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("chrono", "dhat", "dhat-heap", "test_lib", "today"))' -C metadata=d9a6745e96b8e6f6 -C extra-filename=-d1e2060974f87b06 --out-dir /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps --target x86_64-unknown-linux-musl -L dependency=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern advent_of_code=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libadvent_of_code-5a1a73a8139c9c3a.rlib --extern itertools=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libitertools-f192ad3f106cfd44.rlib --extern pico_args=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libpico_args-9f11f95b7036a609.rlib --extern regex=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libregex-45e91a14fc2d8a64.rlib --extern strum=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libstrum-4454d5b04e1fc0de.rlib --extern strum_macros=/opt/rustwide/target/debug/deps/libstrum_macros-8b7ff97cfbb47614.so --extern tinyjson=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libtinyjson-3fc4260067ddfef9.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcbtbQBg/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libregex-45e91a14fc2d8a64.rlib,libregex_automata-b9191009723b37d2.rlib,libaho_corasick-d9bdb34c9317300a.rlib,libmemchr-d35089d2370f7dfa.rlib,libregex_syntax-68ebd4ae9920c658.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libadvent_of_code-5a1a73a8139c9c3a.rlib,libtinyjson-3fc4260067ddfef9.rlib,libitertools-f192ad3f106cfd44.rlib,libeither-a8706e9188860c5c.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcbtbQBg/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/17-04163462d7fe31af" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/11.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | for i in 0..25 { [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/11.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut stones = parse_input(input); [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] error: could not compile `advent_of_code` (bin "17" test) due to 1 previous error; 2 warnings emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcHz4zgo/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libadvent_of_code-5a1a73a8139c9c3a.rlib,libtinyjson-3fc4260067ddfef9.rlib,libregex-45e91a14fc2d8a64.rlib,libregex_automata-b9191009723b37d2.rlib,libaho_corasick-d9bdb34c9317300a.rlib,libmemchr-d35089d2370f7dfa.rlib,libregex_syntax-68ebd4ae9920c658.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcHz4zgo/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/03-d177d68113a5a31c" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "03" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "447bd202863d91c2946a34dc56bdd43c0c532e82156a818723630c1efe4ceb03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "447bd202863d91c2946a34dc56bdd43c0c532e82156a818723630c1efe4ceb03", kill_on_drop: false }` [INFO] [stdout] 447bd202863d91c2946a34dc56bdd43c0c532e82156a818723630c1efe4ceb03