[INFO] cloning repository https://github.com/sad2k/aoc2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sad2k/aoc2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsad2k%2Faoc2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsad2k%2Faoc2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e0955921a67b733ef53c2f824c7307e618a0f60 [INFO] checking sad2k/aoc2023 against master#e9271846294c4ee5bd7706df68180320c0b5ff20 for pr-119825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsad2k%2Faoc2023" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sad2k/aoc2023 on toolchain e9271846294c4ee5bd7706df68180320c0b5ff20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sad2k/aoc2023 [INFO] finished tweaking git repo https://github.com/sad2k/aoc2023 [INFO] tweaked toml for git repo https://github.com/sad2k/aoc2023 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sad2k/aoc2023 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" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking sad2k/aoc2023 against try#925e66ec5d7d73da31ddd13e53f21e4674feb4ba for pr-119825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsad2k%2Faoc2023" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sad2k/aoc2023 on toolchain 925e66ec5d7d73da31ddd13e53f21e4674feb4ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sad2k/aoc2023 [INFO] finished tweaking git repo https://github.com/sad2k/aoc2023 [INFO] tweaked toml for git repo https://github.com/sad2k/aoc2023 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sad2k/aoc2023 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" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking sad2k/aoc2023 against try#925e66ec5d7d73da31ddd13e53f21e4674feb4ba for pr-119825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsad2k%2Faoc2023" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sad2k/aoc2023 on toolchain 925e66ec5d7d73da31ddd13e53f21e4674feb4ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sad2k/aoc2023 [INFO] finished tweaking git repo https://github.com/sad2k/aoc2023 [INFO] tweaked toml for git repo https://github.com/sad2k/aoc2023 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sad2k/aoc2023 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" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-ordinalize v4.3.0 [INFO] [stderr] Downloaded enum-ordinalize-derive v4.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d1f8f39ea105f3bfabb0cf7da420bce6cd6910234c7b6169afe4f800ebdae5d [INFO] running `Command { std: "docker" "start" "-a" "0d1f8f39ea105f3bfabb0cf7da420bce6cd6910234c7b6169afe4f800ebdae5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d1f8f39ea105f3bfabb0cf7da420bce6cd6910234c7b6169afe4f800ebdae5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d1f8f39ea105f3bfabb0cf7da420bce6cd6910234c7b6169afe4f800ebdae5d", kill_on_drop: false }` [INFO] [stdout] 0d1f8f39ea105f3bfabb0cf7da420bce6cd6910234c7b6169afe4f800ebdae5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34cf250f7f972257015b0206752822f1cd80a6e39518fc9f8fe5704f40c2f074 [INFO] running `Command { std: "docker" "start" "-a" "34cf250f7f972257015b0206752822f1cd80a6e39518fc9f8fe5704f40c2f074", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking enum-ordinalize v4.3.0 [INFO] [stderr] Checking aoc2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found keyword `let` [INFO] [stdout] --> src/bin/day4.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | for i in 0..cards.len() ß{ [INFO] [stdout] | - while parsing this struct [INFO] [stdout] 54 | let (won, num) = cards[i]; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `let` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 54 | r#let (won, num) = cards[i]; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `)` [INFO] [stdout] --> src/bin/day4.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 53 | for i in 0..cards.len() ß{ [INFO] [stdout] | - while parsing this struct [INFO] [stdout] 54 | let (won, num) = cards[i]; [INFO] [stdout] | ^ expected one of `,`, `:`, or `}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found `ß` [INFO] [stdout] --> src/bin/day4.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | for i in 0..cards.len() ß{ [INFO] [stdout] | ^ expected `{` [INFO] [stdout] | [INFO] [stdout] help: try placing this code inside a block [INFO] [stdout] | [INFO] [stdout] 53 ~ for i in 0..cards.len() { ß{ [INFO] [stdout] 54 | let (won, num) = cards[i]; [INFO] [stdout] ... [INFO] [stdout] 57 | } [INFO] [stdout] 58 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day10.rs:251:16 [INFO] [stdout] | [INFO] [stdout] 251 | if (path.contains(&(i, j))) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 251 - if (path.contains(&(i, j))) { [INFO] [stdout] 251 + if path.contains(&(i, j)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day10.rs:251:16 [INFO] [stdout] | [INFO] [stdout] 251 | if (path.contains(&(i, j))) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 251 - if (path.contains(&(i, j))) { [INFO] [stdout] 251 + if path.contains(&(i, j)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day10.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | if (inside) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 256 - if (inside) { [INFO] [stdout] 256 + if inside { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2023` (bin "day4" test) due to 4 previous errors [INFO] [stdout] warning: value assigned to `next` is never read [INFO] [stdout] --> src/bin/day9.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut next = Vec::new(); [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day10.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | if (inside) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 256 - if (inside) { [INFO] [stdout] 256 + if inside { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day9.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut curseq = &mut sequences[i]; [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/day14.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | fn tilt_vertical(mut v: &mut Vec>, towards_beginning: bool) -> () { [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: value assigned to `next` is never read [INFO] [stdout] --> src/bin/day9.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut next = Vec::new(); [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/day9.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut curseq = &mut sequences[i]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_next` is never used [INFO] [stdout] --> src/bin/day9.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn calc_next(seq: &Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day14.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn tilt_horizontal(mut v: &mut Vec>, towards_beginning: bool) -> () { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/bin/day9.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn part1(values: &Vec>) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `orig` is never read [INFO] [stdout] --> src/bin/day14.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut orig: i32 = 0; [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: `res` [INFO] [stdout] --> src/bin/day15.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut res = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cycle_start` is never read [INFO] [stdout] --> src/bin/day14.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut cycle_start = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cycle_length` is never read [INFO] [stdout] --> src/bin/day14.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut cycle_length = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `vv` is never read [INFO] [stdout] --> src/bin/day14.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | (orig, vv) = cache.get(&vv).unwrap().clone(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day15.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut res = 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: value assigned to `next` is never read [INFO] [stdout] --> src/bin/day9.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut next = Vec::new(); [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: function `part1` is never used [INFO] [stdout] --> src/bin/day15.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn part1(s: &str) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/bin/day14.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn part1(v: &Vec>) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day9.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut curseq = &mut sequences[i]; [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: value assigned to `next` is never read [INFO] [stdout] --> src/bin/day9.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut next = Vec::new(); [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/day9.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut curseq = &mut sequences[i]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/bin/day14.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn print(v: &Vec>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_next` is never used [INFO] [stdout] --> src/bin/day9.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn calc_next(seq: &Vec) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/bin/day9.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn part1(values: &Vec>) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day10.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | let mut actual_sym = if isLeft && isRight { [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/day10.rs:221:91 [INFO] [stdout] | [INFO] [stdout] 221 | fn find_length(map: &HashMap<(usize, usize), Vec<(usize, usize)>>, start: (usize, usize), mut path: &mut Vec<(usize, usize)>) -> u64 { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isUp` should have a snake case name [INFO] [stdout] --> src/bin/day10.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | let mut isUp = false; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `is_up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isDown` should have a snake case name [INFO] [stdout] --> src/bin/day10.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | let mut isDown = false; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `is_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isLeft` should have a snake case name [INFO] [stdout] --> src/bin/day10.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | let mut isLeft = false; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `is_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isRight` should have a snake case name [INFO] [stdout] --> src/bin/day10.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | let mut isRight = false; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `game` is assigned to, but never used [INFO] [stdout] --> src/bin/day2.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut game = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_game` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day18.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | for i in 0..*num { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day18.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | for i in 0..*num { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day18.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | for i in 0..*num { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/day18.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | for i in 0..*num { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day10.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | let mut actual_sym = if isLeft && isRight { [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/day10.rs:221:91 [INFO] [stdout] | [INFO] [stdout] 221 | fn find_length(map: &HashMap<(usize, usize), Vec<(usize, usize)>>, start: (usize, usize), mut path: &mut Vec<(usize, usize)>) -> u64 { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/bin/day8.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn part1(rules_chars: &Vec, graph: &HashMap) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/bin/day2.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn part1(lines: Lines<'_>) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HIGH_CARD` should have an upper camel case name [INFO] [stdout] --> src/bin/day7.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | HIGH_CARD, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `HighCard` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ONE_PAIR` should have an upper camel case name [INFO] [stdout] --> src/bin/day7.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ONE_PAIR, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OnePair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TWO_PAIR` should have an upper camel case name [INFO] [stdout] --> src/bin/day7.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | TWO_PAIR, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `TwoPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `THREE_OF_A_KIND` should have an upper camel case name [INFO] [stdout] --> src/bin/day7.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | THREE_OF_A_KIND, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ThreeOfAKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FULL_HOUSE` should have an upper camel case name [INFO] [stdout] --> src/bin/day7.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | FULL_HOUSE, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FullHouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isUp` should have a snake case name [INFO] [stdout] --> src/bin/day10.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | let mut isUp = false; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `is_up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isDown` should have a snake case name [INFO] [stdout] --> src/bin/day10.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | let mut isDown = false; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `is_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isLeft` should have a snake case name [INFO] [stdout] --> src/bin/day10.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | let mut isLeft = false; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `is_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isRight` should have a snake case name [INFO] [stdout] --> src/bin/day10.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | let mut isRight = false; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/bin/day18.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn print(v: &Vec>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/bin/day18.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn part1(lines: &Vec<(&str, u32, &str)>) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FOUR_OF_A_KIND` should have an upper camel case name [INFO] [stdout] --> src/bin/day7.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | FOUR_OF_A_KIND, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FourOfAKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FIVE_OF_A_KIND` should have an upper camel case name [INFO] [stdout] --> src/bin/day7.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | FIVE_OF_A_KIND, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FiveOfAKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day14.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | fn tilt_vertical(mut v: &mut Vec>, towards_beginning: bool) -> () { [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/day14.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn tilt_horizontal(mut v: &mut Vec>, towards_beginning: bool) -> () { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `orig` is never read [INFO] [stdout] --> src/bin/day14.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut orig: i32 = 0; [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: value assigned to `cycle_start` is never read [INFO] [stdout] --> src/bin/day14.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut cycle_start = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cycle_length` is never read [INFO] [stdout] --> src/bin/day14.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut cycle_length = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `vv` is never read [INFO] [stdout] --> src/bin/day14.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | (orig, vv) = cache.get(&vv).unwrap().clone(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `game` is assigned to, but never used [INFO] [stdout] --> src/bin/day2.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut game = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_game` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/bin/day14.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn part1(v: &Vec>) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/bin/day14.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn print(v: &Vec>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/bin/day2.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn part1(lines: Lines<'_>) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_map_part1` is never used [INFO] [stdout] --> src/bin/day17.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn build_map_part1(weights: &Vec>) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_type` is never used [INFO] [stdout] --> src/bin/day7.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn calculate_type(hand: &Vec) -> HandType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_card_value` is never used [INFO] [stdout] --> src/bin/day7.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_card_value(card: char) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/bin/day7.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn part1(lines: &Vec<&str>) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "34cf250f7f972257015b0206752822f1cd80a6e39518fc9f8fe5704f40c2f074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34cf250f7f972257015b0206752822f1cd80a6e39518fc9f8fe5704f40c2f074", kill_on_drop: false }` [INFO] [stdout] 34cf250f7f972257015b0206752822f1cd80a6e39518fc9f8fe5704f40c2f074