[INFO] cloning repository https://github.com/vesk4000/advent-of-code-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vesk4000/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvesk4000%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvesk4000%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7596d0ba8ed9674c972e3a656e47b0cc2efe1b7b [INFO] checking vesk4000/advent-of-code-2023 against try#e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvesk4000%2Fadvent-of-code-2023" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vesk4000/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/vesk4000/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/vesk4000/advent-of-code-2023 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vesk4000/advent-of-code-2023 on toolchain e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vesk4000/advent-of-code-2023 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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] checking vesk4000/advent-of-code-2023 against try#e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvesk4000%2Fadvent-of-code-2023" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vesk4000/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/vesk4000/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/vesk4000/advent-of-code-2023 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vesk4000/advent-of-code-2023 on toolchain e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vesk4000/advent-of-code-2023 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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 615e8b363aa09a4b7316bb5d6253c60735839503079d246ab7cee52f032ab44a [INFO] running `Command { std: "docker" "start" "-a" "615e8b363aa09a4b7316bb5d6253c60735839503079d246ab7cee52f032ab44a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "615e8b363aa09a4b7316bb5d6253c60735839503079d246ab7cee52f032ab44a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "615e8b363aa09a4b7316bb5d6253c60735839503079d246ab7cee52f032ab44a", kill_on_drop: false }` [INFO] [stdout] 615e8b363aa09a4b7316bb5d6253c60735839503079d246ab7cee52f032ab44a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c54ddb2d3493274fa7b0ce72f8521d74cc170aa593f2e909cd8620c6657903bc [INFO] running `Command { std: "docker" "start" "-a" "c54ddb2d3493274fa7b0ce72f8521d74cc170aa593f2e909cd8620c6657903bc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking replace_with v0.1.7 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling enum-display-derive v0.1.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking advent-of-code-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/bin/day2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 'outer: for game in games { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/bin/day3.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panic` [INFO] [stdout] --> src/bin/day3.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, panic}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day5.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | if(i == 0 || i == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - if(i == 0 || i == 1) { [INFO] [stdout] 16 + if i == 0 || i == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day5.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | if(nums.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - if(nums.is_empty()) { [INFO] [stdout] 22 + if nums.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/bin/day5.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | 'ss: for (i, from) in seeds.iter().enumerate() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day5.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | if(i % 2 != 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - if(i % 2 != 0) { [INFO] [stdout] 30 + if i % 2 != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/bin/day5.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 'tt: for transform in &transforms { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day5.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | if(s >= r.1 && s < r.1 + r.2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - if(s >= r.1 && s < r.1 + r.2) { [INFO] [stdout] 41 + if s >= r.1 && s < r.1 + r.2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day5.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | if(ans > s) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - if(ans > s) { [INFO] [stdout] 48 + if ans > s { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Bound::Excluded` [INFO] [stdout] --> src/bin/day9.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Bound::Excluded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/bin/day2.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let id = game.split(":").collect::>()[0] [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE` is never used [INFO] [stdout] --> src/bin/day9.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | static EXAMPLE: &str = " [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `replace_with::replace_with_or_abort` [INFO] [stdout] --> src/bin/day20.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use replace_with::replace_with_or_abort; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Bound::Excluded` [INFO] [stdout] --> src/bin/day9.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Bound::Excluded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE` is never used [INFO] [stdout] --> src/bin/day2.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | static EXAMPLE: &str = "\ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day1.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | if(charz[charz.len() - 1] != cha[0]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - if(charz[charz.len() - 1] != cha[0]) { [INFO] [stdout] 88 + if charz[charz.len() - 1] != cha[0] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/bin/day3.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/bin/day2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 'outer: for game in games { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE` is never used [INFO] [stdout] --> src/bin/day9.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | static EXAMPLE: &str = " [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zero_byte` [INFO] [stdout] --> src/bin/day1.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let zero_byte = zero_bytes[0]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zero_byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `replace_with::replace_with_or_abort` [INFO] [stdout] --> src/bin/day20.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use replace_with::replace_with_or_abort; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anz` [INFO] [stdout] --> src/bin/day1.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let anz = re.captures(lines[0]).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_anz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day5.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | if(i == 0 || i == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - if(i == 0 || i == 1) { [INFO] [stdout] 16 + if i == 0 || i == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day5.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | if(nums.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - if(nums.is_empty()) { [INFO] [stdout] 22 + if nums.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/bin/day5.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | 'ss: for (i, from) in seeds.iter().enumerate() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day5.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | if(i % 2 != 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - if(i % 2 != 0) { [INFO] [stdout] 30 + if i % 2 != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/bin/day5.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | 'tt: for transform in &transforms { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day5.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | if(s >= r.1 && s < r.1 + r.2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - if(s >= r.1 && s < r.1 + r.2) { [INFO] [stdout] 41 + if s >= r.1 && s < r.1 + r.2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day5.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | if(ans > s) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - if(ans > s) { [INFO] [stdout] 48 + if ans > s { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panic` [INFO] [stdout] --> src/bin/day3.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, panic}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day1.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | if(charz[charz.len() - 1] != cha[0]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - if(charz[charz.len() - 1] != cha[0]) { [INFO] [stdout] 88 + if charz[charz.len() - 1] != cha[0] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE` is never used [INFO] [stdout] --> src/bin/day1.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | static EXAMPLE: &str = "1abc2 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE_HARD` is never used [INFO] [stdout] --> src/bin/day1.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | static EXAMPLE_HARD: &str = "two1nine [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE` is never used [INFO] [stdout] --> src/bin/day5.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | static EXAMPLE: &str = "seeds: 79 14 55 13 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE` is never used [INFO] [stdout] --> src/bin/day5.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | static EXAMPLE: &str = "seeds: 79 14 55 13 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE` is never used [INFO] [stdout] --> src/bin/day3.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | static EXAMPLE: &str = " [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/bin/day2.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let id = game.split(":").collect::>()[0] [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE` is never used [INFO] [stdout] --> src/bin/day2.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | static EXAMPLE: &str = "\ [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/day20.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut name; [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/day20.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let mut mut_node = &mut graph[node_ix]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE` is never used [INFO] [stdout] --> src/bin/day20.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | static EXAMPLE: &str = "\ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zero_byte` [INFO] [stdout] --> src/bin/day1.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let zero_byte = zero_bytes[0]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zero_byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anz` [INFO] [stdout] --> src/bin/day1.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let anz = re.captures(lines[0]).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_anz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE` is never used [INFO] [stdout] --> src/bin/day3.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | static EXAMPLE: &str = " [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE` is never used [INFO] [stdout] --> src/bin/day1.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | static EXAMPLE: &str = "1abc2 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE_HARD` is never used [INFO] [stdout] --> src/bin/day1.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | static EXAMPLE_HARD: &str = "two1nine [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE` is never used [INFO] [stdout] --> src/bin/day4.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | static EXAMPLE: &str = "\ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE` is never used [INFO] [stdout] --> src/bin/day4.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | static EXAMPLE: &str = "\ [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/day20.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut name; [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/day20.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let mut mut_node = &mut graph[node_ix]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EXAMPLE` is never used [INFO] [stdout] --> src/bin/day20.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | static EXAMPLE: &str = "\ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.23s [INFO] running `Command { std: "docker" "inspect" "c54ddb2d3493274fa7b0ce72f8521d74cc170aa593f2e909cd8620c6657903bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c54ddb2d3493274fa7b0ce72f8521d74cc170aa593f2e909cd8620c6657903bc", kill_on_drop: false }` [INFO] [stdout] c54ddb2d3493274fa7b0ce72f8521d74cc170aa593f2e909cd8620c6657903bc