[INFO] cloning repository https://github.com/laitr01/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/laitr01/advent_of_code_2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaitr01%2Fadvent_of_code_2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaitr01%2Fadvent_of_code_2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16984d2d7fcd3f6e040d1f8e2d04925d69f2e5c8 [INFO] checking laitr01/advent_of_code_2023 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaitr01%2Fadvent_of_code_2023" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laitr01/advent_of_code_2023 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/laitr01/advent_of_code_2023 [INFO] finished tweaking git repo https://github.com/laitr01/advent_of_code_2023 [INFO] tweaked toml for git repo https://github.com/laitr01/advent_of_code_2023 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/laitr01/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" "+158f00a1c5175648af6f6099b075f78d1d014a28" "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 laitr01/advent_of_code_2023 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaitr01%2Fadvent_of_code_2023" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laitr01/advent_of_code_2023 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/laitr01/advent_of_code_2023 [INFO] finished tweaking git repo https://github.com/laitr01/advent_of_code_2023 [INFO] tweaked toml for git repo https://github.com/laitr01/advent_of_code_2023 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/laitr01/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" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking laitr01/advent_of_code_2023 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaitr01%2Fadvent_of_code_2023" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laitr01/advent_of_code_2023 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/laitr01/advent_of_code_2023 [INFO] finished tweaking git repo https://github.com/laitr01/advent_of_code_2023 [INFO] tweaked toml for git repo https://github.com/laitr01/advent_of_code_2023 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/laitr01/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" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a217fa6df323ba0064865df22c30e0f760ca0f5370d7d127798a26ecaf05c418 [INFO] running `Command { std: "docker" "start" "-a" "a217fa6df323ba0064865df22c30e0f760ca0f5370d7d127798a26ecaf05c418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a217fa6df323ba0064865df22c30e0f760ca0f5370d7d127798a26ecaf05c418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a217fa6df323ba0064865df22c30e0f760ca0f5370d7d127798a26ecaf05c418", kill_on_drop: false }` [INFO] [stdout] a217fa6df323ba0064865df22c30e0f760ca0f5370d7d127798a26ecaf05c418 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-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" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4683db8d5322fa9ed24b340fdf3c20395dc45205aa809f5c4710dddd29524653 [INFO] running `Command { std: "docker" "start" "-a" "4683db8d5322fa9ed24b340fdf3c20395dc45205aa809f5c4710dddd29524653", kill_on_drop: false }` [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking advent_of_code_2003 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: usage of `RangeFrom` range syntax [INFO] [stdout] --> src/day_1.rs:107:46 [INFO] [stdout] | [INFO] [stdout] 107 | while let Some(i) = line[index..].find(token) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W range-syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `RangeInclusive` range syntax [INFO] [stdout] --> src/day_3.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | for i in row.saturating_sub(1)..=row + 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `RangeInclusive` range syntax [INFO] [stdout] --> src/day_3.rs:70:38 [INFO] [stdout] | [INFO] [stdout] 70 | ... for j in col.saturating_sub(1)..=col + 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `RangeInclusive` range syntax [INFO] [stdout] --> src/day_3.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | for i in row.saturating_sub(1)..=row + 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `RangeInclusive` range syntax [INFO] [stdout] --> src/day_3.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | ... for j in col.saturating_sub(1)..=col + 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `RangeFrom` range syntax [INFO] [stdout] --> src/day_1.rs:107:46 [INFO] [stdout] | [INFO] [stdout] 107 | while let Some(i) = line[index..].find(token) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W range-syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `RangeInclusive` range syntax [INFO] [stdout] --> src/day_3.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | for i in row.saturating_sub(1)..=row + 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `RangeInclusive` range syntax [INFO] [stdout] --> src/day_3.rs:70:38 [INFO] [stdout] | [INFO] [stdout] 70 | ... for j in col.saturating_sub(1)..=col + 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `RangeInclusive` range syntax [INFO] [stdout] --> src/day_3.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | for i in row.saturating_sub(1)..=row + 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `RangeInclusive` range syntax [INFO] [stdout] --> src/day_3.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | ... for j in col.saturating_sub(1)..=col + 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/day_4.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | for card_index in 0..total_of_card { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `RangeFrom` range syntax [INFO] [stdout] --> src/day_5.rs:182:39 [INFO] [stdout] | [INFO] [stdout] 182 | let seeds: Vec = x[7..].split_whitespace().map(|s| s.parse().unwrap()).collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `RangeFrom` range syntax [INFO] [stdout] --> src/day_5.rs:227:39 [INFO] [stdout] | [INFO] [stdout] 227 | let seeds: Vec = x[7..].split_whitespace().map(|s| s.parse().unwrap()).collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/day_5.rs:247:52 [INFO] [stdout] | [INFO] [stdout] 247 | let seed_pairs: Vec<(usize, usize)> = (0..seeds.len()).step_by(2).map(|i| (seeds[i], seeds[i] + seeds[i+1])).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/day_5.rs:250:29 [INFO] [stdout] | [INFO] [stdout] 250 | for location in 0..highest_seed { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/day_6.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | for i in 0..record.time { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/day_6.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | for i in 0..record.time { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/day_7.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | let cards: Vec = (0..5).map(|_| parse_card(iter.next().unwrap())).collect(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/day_7_2.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | let cards: Vec = (0..5).map(|_| parse_card(iter.next().unwrap())).collect(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::day_5::solve_the_puzzle_5_2` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::day_5::solve_the_puzzle_5_2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/day_4.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | for card_index in 0..total_of_card { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `RangeFrom` range syntax [INFO] [stdout] --> src/day_5.rs:182:39 [INFO] [stdout] | [INFO] [stdout] 182 | let seeds: Vec = x[7..].split_whitespace().map(|s| s.parse().unwrap()).collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `RangeFrom` range syntax [INFO] [stdout] --> src/day_5.rs:227:39 [INFO] [stdout] | [INFO] [stdout] 227 | let seeds: Vec = x[7..].split_whitespace().map(|s| s.parse().unwrap()).collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/day_5.rs:247:52 [INFO] [stdout] | [INFO] [stdout] 247 | let seed_pairs: Vec<(usize, usize)> = (0..seeds.len()).step_by(2).map(|i| (seeds[i], seeds[i] + seeds[i+1])).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/day_5.rs:250:29 [INFO] [stdout] | [INFO] [stdout] 250 | for location in 0..highest_seed { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/day_6.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | for i in 0..record.time { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/day_6.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | for i in 0..record.time { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/day_7.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | let cards: Vec = (0..5).map(|_| parse_card(iter.next().unwrap())).collect(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Range` range syntax [INFO] [stdout] --> src/day_7_2.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | let cards: Vec = (0..5).map(|_| parse_card(iter.next().unwrap())).collect(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::day_5::solve_the_puzzle_5_2` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::day_5::solve_the_puzzle_5_2; [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/day_7.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let mut cards = hand.cards.clone(); [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: `input` [INFO] [stdout] --> src/day_7.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | Ok(input) => { [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: unused variable: `total_card_j` [INFO] [stdout] --> src/day_7_2.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut total_card_j = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_card_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_7_2.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut total_card_j = 0; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/day_7_2.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | Some(&value) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_7.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let mut cards = hand.cards.clone(); [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/day_7_2.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut cards = hand.cards.clone(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day_7.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | Ok(input) => { [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: unused variable: `total_card_j` [INFO] [stdout] --> src/day_7_2.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut total_card_j = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_card_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_7_2.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut total_card_j = 0; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/day_7_2.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | Some(&value) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_7_2.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut cards = hand.cards.clone(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day_9.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(input) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day_9.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(input) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day_10.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(input) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day_10.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(input) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `destination_in_range` and `find_source` are never used [INFO] [stdout] --> src/day_5.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 92 | impl MapEntry { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn destination_in_range(&self, value: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn find_source(&self, value: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_source` is never used [INFO] [stdout] --> src/day_5.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 134 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | fn find_source(&self, value: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_the_puzzle_5_2` is never used [INFO] [stdout] --> src/day_5.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn solve_the_puzzle_5_2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_seed_for_destination` is never used [INFO] [stdout] --> src/day_5.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn get_seed_for_destination(destination: usize, maps: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_the_puzzle_7_2` is never used [INFO] [stdout] --> src/day_7.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn solve_the_puzzle_7_2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/day_1.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | while right >= 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/day_3.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | while left >= 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/day_3.rs:194:31 [INFO] [stdout] | [INFO] [stdout] 194 | while left >= 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day_9.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(input) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day_9.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(input) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day_10.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(input) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day_10.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(input) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `destination_in_range` and `find_source` are never used [INFO] [stdout] --> src/day_5.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 92 | impl MapEntry { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn destination_in_range(&self, value: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn find_source(&self, value: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_source` is never used [INFO] [stdout] --> src/day_5.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 134 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | fn find_source(&self, value: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_the_puzzle_5_2` is never used [INFO] [stdout] --> src/day_5.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn solve_the_puzzle_5_2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_seed_for_destination` is never used [INFO] [stdout] --> src/day_5.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn get_seed_for_destination(destination: usize, maps: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_the_puzzle_7_2` is never used [INFO] [stdout] --> src/day_7.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn solve_the_puzzle_7_2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/day_1.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | while right >= 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/day_3.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | while left >= 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/day_3.rs:194:31 [INFO] [stdout] | [INFO] [stdout] 194 | while left >= 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "4683db8d5322fa9ed24b340fdf3c20395dc45205aa809f5c4710dddd29524653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4683db8d5322fa9ed24b340fdf3c20395dc45205aa809f5c4710dddd29524653", kill_on_drop: false }` [INFO] [stdout] 4683db8d5322fa9ed24b340fdf3c20395dc45205aa809f5c4710dddd29524653