[INFO] cloning repository https://github.com/stephanmeesters/aoc2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/aoc2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Faoc2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Faoc2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8da89b6af08abc970bc714c67b109b5dc82e804e [INFO] testing stephanmeesters/aoc2024 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Faoc2024" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/stephanmeesters/aoc2024 [INFO] finished tweaking git repo https://github.com/stephanmeesters/aoc2024 [INFO] tweaked toml for git repo https://github.com/stephanmeesters/aoc2024 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stephanmeesters/aoc2024 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stephanmeesters/aoc2024 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mintex v0.1.2 [INFO] [stderr] Downloaded tinyjson v2.5.1 [INFO] [stderr] Downloaded sys-info v0.9.1 [INFO] [stderr] Downloaded dhat v0.3.3 [INFO] [stderr] Downloaded foldhash v0.1.3 [INFO] [stderr] Downloaded fancy-regex v0.14.0 [INFO] [stderr] Downloaded ndarray v0.16.1 [INFO] [stderr] Downloaded glam v0.29.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac9e2b2fa4f26fde8f27aa9b0af0bc9eda19a75a3b493006647cd588ed4d9577 [INFO] running `Command { std: "docker" "start" "-a" "ac9e2b2fa4f26fde8f27aa9b0af0bc9eda19a75a3b493006647cd588ed4d9577", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac9e2b2fa4f26fde8f27aa9b0af0bc9eda19a75a3b493006647cd588ed4d9577", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac9e2b2fa4f26fde8f27aa9b0af0bc9eda19a75a3b493006647cd588ed4d9577", kill_on_drop: false }` [INFO] [stdout] ac9e2b2fa4f26fde8f27aa9b0af0bc9eda19a75a3b493006647cd588ed4d9577 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f23b6bc84077ef442b223df7847e332514c8acd1db47a2ce7b44a12b25c725dc [INFO] running `Command { std: "docker" "start" "-a" "f23b6bc84077ef442b223df7847e332514c8acd1db47a2ce7b44a12b25c725dc", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling strength_reduce v0.2.4 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling tinyjson v2.5.1 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling glam v0.29.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling transpose v0.2.3 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling fancy-regex v0.14.0 [INFO] [stderr] Compiling advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `advent_of_code::printd` [INFO] [stdout] --> src/bin/22.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use advent_of_code::printd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `advent_of_code::printd` [INFO] [stdout] --> src/bin/08.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use advent_of_code::printd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/22.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/12.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `np` is never used [INFO] [stdout] --> src/bin/12.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn np((a, b): (u32, u32)) -> (u32, u32) { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `advent_of_code::printd` [INFO] [stdout] --> src/bin/14.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use advent_of_code::printd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_grid` is never used [INFO] [stdout] --> src/bin/08.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn print_grid(grid: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printmap` is never used [INFO] [stdout] --> src/bin/10.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn printmap(map: &Vec)>>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction_index` [INFO] [stdout] --> src/bin/15.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | for (instruction_index, instruction) in instructions.into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b1` [INFO] [stdout] --> src/bin/14.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let b1 = std::io::stdin().read_line(&mut line).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_b1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/15.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ra` [INFO] [stdout] --> src/bin/14.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let ra = (rows-1)/2; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/bin/14.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let ca = (cols-1)/2; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Robot` is never constructed [INFO] [stdout] --> src/bin/15.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum Obstacle { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Robot, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Obstacle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_map` is never used [INFO] [stdout] --> src/bin/15.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn print_map(map: &Vec>, robot_pos: &UVec2) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/bin/17.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | A = A / 2u64.pow(combo as u32); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 92 | let A = A / 2u64.pow(combo as u32); [INFO] [stdout] | +++ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn part_two_rec(program: &Vec, opcode: u64, combo: u64) { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/bin/17.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | A = A / 2u64.pow(combo as u32); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn part_two_rec(program: &Vec, opcode: u64, combo: u64) { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/bin/17.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | B = B ^ literal; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 95 | let B = B ^ literal; [INFO] [stdout] | +++ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn part_two_rec(program: &Vec, opcode: u64, combo: u64) { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/bin/17.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | B = B ^ literal; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn part_two_rec(program: &Vec, opcode: u64, combo: u64) { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `literal` in this scope [INFO] [stdout] --> src/bin/17.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | B = B ^ literal; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/bin/17.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | B = combo % 8; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 98 | let B = combo % 8; [INFO] [stdout] | +++ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn part_two_rec(program: &Vec, opcode: u64, combo: u64) { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/bin/17.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | if A > 0 { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn part_two_rec(program: &Vec, opcode: u64, combo: u64) { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ip` in this scope [INFO] [stdout] --> src/bin/17.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | ip = literal as usize; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 102 | let ip = literal as usize; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `literal` in this scope [INFO] [stdout] --> src/bin/17.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | ip = literal as usize; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/bin/17.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | B = B ^ C; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 106 | let B = B ^ C; [INFO] [stdout] | +++ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn part_two_rec(program: &Vec, opcode: u64, combo: u64) { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/bin/17.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | B = B ^ C; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn part_two_rec(program: &Vec, opcode: u64, combo: u64) { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `C` in this scope [INFO] [stdout] --> src/bin/17.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | B = B ^ C; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn part_two_rec(program: &Vec, opcode: u64, combo: u64) { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/bin/17.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | B = A / 2u64.pow(combo as u32); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 112 | let B = A / 2u64.pow(combo as u32); [INFO] [stdout] | +++ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn part_two_rec(program: &Vec, opcode: u64, combo: u64) { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/bin/17.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | B = A / 2u64.pow(combo as u32); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn part_two_rec(program: &Vec, opcode: u64, combo: u64) { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `C` in this scope [INFO] [stdout] --> src/bin/17.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | C = A / 2u64.pow(combo as u32); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 115 | let C = A / 2u64.pow(combo as u32); [INFO] [stdout] | +++ [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn part_two_rec(program: &Vec, opcode: u64, combo: u64) { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/bin/17.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | C = A / 2u64.pow(combo as u32); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn part_two_rec(program: &Vec, opcode: u64, combo: u64) { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/bin/17.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `B` [INFO] [stdout] --> src/bin/17.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let B: u64 = input_itr.parse_last_word(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_B` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `C` [INFO] [stdout] --> src/bin/17.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let C: u64 = input_itr.parse_last_word(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/bin/17.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let program: Vec = input_itr [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "17") due to 16 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f23b6bc84077ef442b223df7847e332514c8acd1db47a2ce7b44a12b25c725dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f23b6bc84077ef442b223df7847e332514c8acd1db47a2ce7b44a12b25c725dc", kill_on_drop: false }` [INFO] [stdout] f23b6bc84077ef442b223df7847e332514c8acd1db47a2ce7b44a12b25c725dc