[INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024/objects/pack: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/push-to-checkout.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024/hooks/push-to-checkout.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/wismer/advent-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wismer/advent-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a052d590c530524a206d7a525f4c31e32f1a062 [INFO] checking wismer/advent-2024 against master#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwismer%2Fadvent-2024" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wismer/advent-2024 on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wismer/advent-2024 [INFO] finished tweaking git repo https://github.com/wismer/advent-2024 [INFO] tweaked toml for git repo https://github.com/wismer/advent-2024 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wismer/advent-2024 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" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb6dfd40ab208b0b2326d28b4be05fe54d4f12b7734545f1237565df6fd08827 [INFO] running `Command { std: "docker" "start" "-a" "eb6dfd40ab208b0b2326d28b4be05fe54d4f12b7734545f1237565df6fd08827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb6dfd40ab208b0b2326d28b4be05fe54d4f12b7734545f1237565df6fd08827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb6dfd40ab208b0b2326d28b4be05fe54d4f12b7734545f1237565df6fd08827", kill_on_drop: false }` [INFO] [stdout] eb6dfd40ab208b0b2326d28b4be05fe54d4f12b7734545f1237565df6fd08827 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e6954222aa5dbe6a632df72abc92f39598fc98fb84a99f5efca91668ee3e652 [INFO] running `Command { std: "docker" "start" "-a" "9e6954222aa5dbe6a632df72abc92f39598fc98fb84a99f5efca91668ee3e652", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking advent-2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `thread::yield_now` [INFO] [stdout] --> src/days/day6.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, thread::yield_now}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::yield_now` [INFO] [stdout] --> src/days/day6.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, thread::yield_now}; [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/days/day2.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut result = 0; [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: `directions` [INFO] [stdout] --> src/days/day4.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let directions = [ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/days/day4.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let target = ['M', 'A', 'S']; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/days/day4.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | fn check(&self, origin: Point, chars: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> src/days/day4.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | fn check(&self, origin: Point, chars: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day4.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut pts: Vec = vec![]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/days/day4.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | let (mut x, mut y) = (0usize, 0usize); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/days/day4.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let (mut x, mut y) = (0usize, 0usize); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day4.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | let (mut x, mut y) = (0usize, 0usize); [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/days/day4.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | let (mut x, mut y) = (0usize, 0usize); [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/days/day2.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut result = 0; [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/days/day6.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | let mut result = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `directions` [INFO] [stdout] --> src/days/day4.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let directions = [ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/days/day4.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let target = ['M', 'A', 'S']; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/days/day4.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | fn check(&self, origin: Point, chars: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> src/days/day4.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | fn check(&self, origin: Point, chars: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `state` is never used [INFO] [stdout] --> src/days/day2.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 4 | trait Day2 { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn state(&self, x: &i32, y: &i32) -> i32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vals` is never read [INFO] [stdout] --> src/days/day2.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct LevelSegment { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | vals: (i32, i32) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LevelSegment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Chars` is never used [INFO] [stdout] --> src/days/day4.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Chars = Vec>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/days/day4.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 61 | trait Day4 { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 64 | fn check(&self, origin: Point, chars: &Vec>) -> Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `structure_in_path` are never used [INFO] [stdout] --> src/days/day6.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl GuardMap { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | fn reset(&mut self, original_map: Vec>, original_start: (Point, Direction)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn structure_in_path(&self, origin: (usize, usize), direction: &Direction) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `concatenate` is never used [INFO] [stdout] --> src/days/day7.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Equation { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | fn concatenate(&self, x: usize, y: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day4.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut pts: Vec = vec![]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/days/day4.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | let (mut x, mut y) = (0usize, 0usize); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/days/day4.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let (mut x, mut y) = (0usize, 0usize); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day4.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | let (mut x, mut y) = (0usize, 0usize); [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/days/day4.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | let (mut x, mut y) = (0usize, 0usize); [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/days/day6.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | let mut result = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `state` is never used [INFO] [stdout] --> src/days/day2.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 4 | trait Day2 { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn state(&self, x: &i32, y: &i32) -> i32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vals` is never read [INFO] [stdout] --> src/days/day2.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct LevelSegment { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | vals: (i32, i32) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LevelSegment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Chars` is never used [INFO] [stdout] --> src/days/day4.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Chars = Vec>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/days/day4.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 61 | trait Day4 { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 64 | fn check(&self, origin: Point, chars: &Vec>) -> Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `structure_in_path` are never used [INFO] [stdout] --> src/days/day6.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl GuardMap { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | fn reset(&mut self, original_map: Vec>, original_start: (Point, Direction)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn structure_in_path(&self, origin: (usize, usize), direction: &Direction) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "9e6954222aa5dbe6a632df72abc92f39598fc98fb84a99f5efca91668ee3e652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e6954222aa5dbe6a632df72abc92f39598fc98fb84a99f5efca91668ee3e652", kill_on_drop: false }` [INFO] [stdout] 9e6954222aa5dbe6a632df72abc92f39598fc98fb84a99f5efca91668ee3e652