[INFO] cloning repository https://github.com/remigranotier/aoc-2024-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/remigranotier/aoc-2024-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fremigranotier%2Faoc-2024-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fremigranotier%2Faoc-2024-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d75fa2e6d114f69ef25d918f4dd0ab56ccad54a [INFO] testing remigranotier/aoc-2024-rust against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fremigranotier%2Faoc-2024-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/remigranotier/aoc-2024-rust [INFO] finished tweaking git repo https://github.com/remigranotier/aoc-2024-rust [INFO] tweaked toml for git repo https://github.com/remigranotier/aoc-2024-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/remigranotier/aoc-2024-rust on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/remigranotier/aoc-2024-rust 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dhat v0.3.3 [INFO] [stderr] Downloaded sys-info v0.9.1 [INFO] [stderr] Downloaded tinyjson v2.5.1 [INFO] [stderr] Downloaded mintex v0.1.2 [INFO] [stderr] Downloaded ryu v1.0.15 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.89 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.89 [INFO] [stderr] Downloaded iana-time-zone v0.1.58 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.89 [INFO] [stderr] Downloaded console v0.15.10 [INFO] [stderr] Downloaded itoa v1.0.9 [INFO] [stderr] Downloaded js-sys v0.3.66 [INFO] [stderr] Downloaded wasm-bindgen v0.2.89 [INFO] [stderr] Downloaded thousands v0.2.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68f098a0c86039bfbd2e5c8262b59d5a449cd09faee72e570f6c86f7c5dbfffc [INFO] running `Command { std: "docker" "start" "-a" "68f098a0c86039bfbd2e5c8262b59d5a449cd09faee72e570f6c86f7c5dbfffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68f098a0c86039bfbd2e5c8262b59d5a449cd09faee72e570f6c86f7c5dbfffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68f098a0c86039bfbd2e5c8262b59d5a449cd09faee72e570f6c86f7c5dbfffc", kill_on_drop: false }` [INFO] [stdout] 68f098a0c86039bfbd2e5c8262b59d5a449cd09faee72e570f6c86f7c5dbfffc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caed28cb2243b235a1c044c86e889fa7d5ab6dce7ca468d0a0fd7795aa829a85 [INFO] running `Command { std: "docker" "start" "-a" "caed28cb2243b235a1c044c86e889fa7d5ab6dce7ca468d0a0fd7795aa829a85", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling tinyjson v2.5.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling console v0.15.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/bin/24.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | let (inputs, mut branchments) = _input.split("\n\n").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `branchments` [INFO] [stdout] --> src/bin/24.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | let (inputs, mut branchments) = _input.split("\n\n").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_branchments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/bin/24.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut values: HashMap<&str, bool> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/24.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | for input in inputs.lines() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_wire` [INFO] [stdout] --> src/bin/24.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | let (initial_wire, value) = input.split(": ").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_wire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/bin/24.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | let (initial_wire, value) = input.split(": ").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binding` [INFO] [stdout] --> src/bin/24.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let binding = branchments [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `branchment_map` [INFO] [stdout] --> src/bin/24.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let mut branchment_map: HashMap<&str, (&str, &str, &str)> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_branchment_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_z` [INFO] [stdout] --> src/bin/24.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let mut max_z = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `branchment` [INFO] [stdout] --> src/bin/24.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | for branchment in branchments.lines() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_branchment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `branchment_options` [INFO] [stdout] --> src/bin/24.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | let (branchment_options, target) = branchment.split(" -> ").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_branchment_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/bin/24.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | let (branchment_options, target) = branchment.split(" -> ").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wire1` [INFO] [stdout] --> src/bin/24.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | let (wire1, operator, wire2) = branchment_options.split(" ").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_wire1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/bin/24.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | let (wire1, operator, wire2) = branchment_options.split(" ").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wire2` [INFO] [stdout] --> src/bin/24.rs:121:31 [INFO] [stdout] | [INFO] [stdout] 121 | let (wire1, operator, wire2) = branchment_options.split(" ").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_wire2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_regex` [INFO] [stdout] --> src/bin/24.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let z_regex = Regex::new(r"^z([0-9]{2})$").unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/24.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some(c) = z_regex.captures(target) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_z` [INFO] [stdout] --> src/bin/24.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let new_z = c.get(1).unwrap().as_str().parse::().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_series` [INFO] [stdout] --> src/bin/24.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let mut s_series: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/24.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | for i in 1..max_z { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/bin/24.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let fstring = format!("(?:x|y){i:02} XOR (?:x|y){i:02} -> (.*)"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_regex` [INFO] [stdout] --> src/bin/24.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let s_regex = Regex::new(&fstring).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_series` [INFO] [stdout] --> src/bin/24.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let mut a_series: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/24.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | for i in 0..max_z { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/bin/24.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let fstring = format!("(?:x|y){i:02} AND (?:x|y){i:02} -> (.*)"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_regex` [INFO] [stdout] --> src/bin/24.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let a_regex = Regex::new(&fstring).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_series` [INFO] [stdout] --> src/bin/24.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let mut c_series: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_series` [INFO] [stdout] --> src/bin/24.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let mut b_series: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/24.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | for i in 1..max_z { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_c` [INFO] [stdout] --> src/bin/24.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let prev_c = c_series.get(&(i - 1)).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_s` [INFO] [stdout] --> src/bin/24.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let curr_s = s_series.get(&i).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/bin/24.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let fstring = format!("(?:{prev_c}|{curr_s}) AND (?:{prev_c}|{curr_s}) -> (.*)"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_regex` [INFO] [stdout] --> src/bin/24.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let b_regex = Regex::new(&fstring).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_captures` [INFO] [stdout] --> src/bin/24.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let b_captures = b_regex.captures(branchments); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_captures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_a` [INFO] [stdout] --> src/bin/24.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let curr_a = a_series.get(&i).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_b` [INFO] [stdout] --> src/bin/24.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let curr_b = b_series.get(&i).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/bin/24.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let fstring = format!("(?:{curr_a}|{curr_b}) OR (?:{curr_a}|{curr_b}) -> (.*)"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_regex` [INFO] [stdout] --> src/bin/24.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let c_regex = Regex::new(&fstring).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_captures` [INFO] [stdout] --> src/bin/24.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let c_captures = c_regex.captures(branchments); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_captures` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.94s [INFO] running `Command { std: "docker" "inspect" "caed28cb2243b235a1c044c86e889fa7d5ab6dce7ca468d0a0fd7795aa829a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caed28cb2243b235a1c044c86e889fa7d5ab6dce7ca468d0a0fd7795aa829a85", kill_on_drop: false }` [INFO] [stdout] caed28cb2243b235a1c044c86e889fa7d5ab6dce7ca468d0a0fd7795aa829a85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 294796aee7fefa4476c05f6a9441cfebae2c167653c3f22f2f15734aedf0762b [INFO] running `Command { std: "docker" "start" "-a" "294796aee7fefa4476c05f6a9441cfebae2c167653c3f22f2f15734aedf0762b", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/bin/24.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | let (inputs, mut branchments) = _input.split("\n\n").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `branchments` [INFO] [stdout] --> src/bin/24.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | let (inputs, mut branchments) = _input.split("\n\n").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_branchments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/bin/24.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut values: HashMap<&str, bool> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/24.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | for input in inputs.lines() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_wire` [INFO] [stdout] --> src/bin/24.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | let (initial_wire, value) = input.split(": ").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_wire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/bin/24.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | let (initial_wire, value) = input.split(": ").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binding` [INFO] [stdout] --> src/bin/24.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let binding = branchments [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `branchment_map` [INFO] [stdout] --> src/bin/24.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let mut branchment_map: HashMap<&str, (&str, &str, &str)> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_branchment_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_z` [INFO] [stdout] --> src/bin/24.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let mut max_z = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `branchment` [INFO] [stdout] --> src/bin/24.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | for branchment in branchments.lines() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_branchment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `branchment_options` [INFO] [stdout] --> src/bin/24.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | let (branchment_options, target) = branchment.split(" -> ").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_branchment_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/bin/24.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | let (branchment_options, target) = branchment.split(" -> ").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wire1` [INFO] [stdout] --> src/bin/24.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | let (wire1, operator, wire2) = branchment_options.split(" ").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_wire1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/bin/24.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | let (wire1, operator, wire2) = branchment_options.split(" ").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wire2` [INFO] [stdout] --> src/bin/24.rs:121:31 [INFO] [stdout] | [INFO] [stdout] 121 | let (wire1, operator, wire2) = branchment_options.split(" ").next_tuple().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_wire2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z_regex` [INFO] [stdout] --> src/bin/24.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let z_regex = Regex::new(r"^z([0-9]{2})$").unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/24.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some(c) = z_regex.captures(target) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_z` [INFO] [stdout] --> src/bin/24.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let new_z = c.get(1).unwrap().as_str().parse::().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_series` [INFO] [stdout] --> src/bin/24.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let mut s_series: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/24.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | for i in 1..max_z { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/bin/24.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let fstring = format!("(?:x|y){i:02} XOR (?:x|y){i:02} -> (.*)"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_regex` [INFO] [stdout] --> src/bin/24.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let s_regex = Regex::new(&fstring).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_series` [INFO] [stdout] --> src/bin/24.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let mut a_series: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/24.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | for i in 0..max_z { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/bin/24.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let fstring = format!("(?:x|y){i:02} AND (?:x|y){i:02} -> (.*)"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_regex` [INFO] [stdout] --> src/bin/24.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let a_regex = Regex::new(&fstring).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_series` [INFO] [stdout] --> src/bin/24.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let mut c_series: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_series` [INFO] [stdout] --> src/bin/24.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let mut b_series: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/24.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | for i in 1..max_z { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_c` [INFO] [stdout] --> src/bin/24.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let prev_c = c_series.get(&(i - 1)).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_s` [INFO] [stdout] --> src/bin/24.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let curr_s = s_series.get(&i).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/bin/24.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let fstring = format!("(?:{prev_c}|{curr_s}) AND (?:{prev_c}|{curr_s}) -> (.*)"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_regex` [INFO] [stdout] --> src/bin/24.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let b_regex = Regex::new(&fstring).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_captures` [INFO] [stdout] --> src/bin/24.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let b_captures = b_regex.captures(branchments); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_captures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_a` [INFO] [stdout] --> src/bin/24.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let curr_a = a_series.get(&i).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_b` [INFO] [stdout] --> src/bin/24.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let curr_b = b_series.get(&i).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/bin/24.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let fstring = format!("(?:{curr_a}|{curr_b}) OR (?:{curr_a}|{curr_b}) -> (.*)"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_regex` [INFO] [stdout] --> src/bin/24.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let c_regex = Regex::new(&fstring).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_captures` [INFO] [stdout] --> src/bin/24.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let c_captures = c_regex.captures(branchments); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_captures` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.04s [INFO] running `Command { std: "docker" "inspect" "294796aee7fefa4476c05f6a9441cfebae2c167653c3f22f2f15734aedf0762b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "294796aee7fefa4476c05f6a9441cfebae2c167653c3f22f2f15734aedf0762b", kill_on_drop: false }` [INFO] [stdout] 294796aee7fefa4476c05f6a9441cfebae2c167653c3f22f2f15734aedf0762b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1466af0002afd95ae9012270c52cc3dddeb0a035710cc829d0eebaf7dfc9001a [INFO] running `Command { std: "docker" "start" "-a" "1466af0002afd95ae9012270c52cc3dddeb0a035710cc829d0eebaf7dfc9001a", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `inputs` [INFO] [stderr] --> src/bin/24.rs:94:10 [INFO] [stderr] | [INFO] [stderr] 94 | let (inputs, mut branchments) = _input.split("\n\n").next_tuple().unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `branchments` [INFO] [stderr] --> src/bin/24.rs:94:18 [INFO] [stderr] | [INFO] [stderr] 94 | let (inputs, mut branchments) = _input.split("\n\n").next_tuple().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_branchments` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `values` [INFO] [stderr] --> src/bin/24.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | let mut values: HashMap<&str, bool> = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/bin/24.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | for input in inputs.lines() { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `initial_wire` [INFO] [stderr] --> src/bin/24.rs:98:14 [INFO] [stderr] | [INFO] [stderr] 98 | let (initial_wire, value) = input.split(": ").next_tuple().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_wire` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/bin/24.rs:98:28 [INFO] [stderr] | [INFO] [stderr] 98 | let (initial_wire, value) = input.split(": ").next_tuple().unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `binding` [INFO] [stderr] --> src/bin/24.rs:102:9 [INFO] [stderr] | [INFO] [stderr] 102 | let binding = branchments [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `branchment_map` [INFO] [stderr] --> src/bin/24.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | let mut branchment_map: HashMap<&str, (&str, &str, &str)> = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_branchment_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max_z` [INFO] [stderr] --> src/bin/24.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 118 | let mut max_z = 0; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_z` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `branchment` [INFO] [stderr] --> src/bin/24.rs:119:9 [INFO] [stderr] | [INFO] [stderr] 119 | for branchment in branchments.lines() { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_branchment` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `branchment_options` [INFO] [stderr] --> src/bin/24.rs:120:14 [INFO] [stderr] | [INFO] [stderr] 120 | let (branchment_options, target) = branchment.split(" -> ").next_tuple().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_branchment_options` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/bin/24.rs:120:34 [INFO] [stderr] | [INFO] [stderr] 120 | let (branchment_options, target) = branchment.split(" -> ").next_tuple().unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `wire1` [INFO] [stderr] --> src/bin/24.rs:121:14 [INFO] [stderr] | [INFO] [stderr] 121 | let (wire1, operator, wire2) = branchment_options.split(" ").next_tuple().unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_wire1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `operator` [INFO] [stderr] --> src/bin/24.rs:121:21 [INFO] [stderr] | [INFO] [stderr] 121 | let (wire1, operator, wire2) = branchment_options.split(" ").next_tuple().unwrap(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `wire2` [INFO] [stderr] --> src/bin/24.rs:121:31 [INFO] [stderr] | [INFO] [stderr] 121 | let (wire1, operator, wire2) = branchment_options.split(" ").next_tuple().unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_wire2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `z_regex` [INFO] [stderr] --> src/bin/24.rs:123:13 [INFO] [stderr] | [INFO] [stderr] 123 | let z_regex = Regex::new(r"^z([0-9]{2})$").unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z_regex` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/bin/24.rs:124:21 [INFO] [stderr] | [INFO] [stderr] 124 | if let Some(c) = z_regex.captures(target) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_z` [INFO] [stderr] --> src/bin/24.rs:125:17 [INFO] [stderr] | [INFO] [stderr] 125 | let new_z = c.get(1).unwrap().as_str().parse::().unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_z` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s_series` [INFO] [stderr] --> src/bin/24.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | let mut s_series: HashMap = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_series` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/bin/24.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | for i in 1..max_z { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fstring` [INFO] [stderr] --> src/bin/24.rs:136:13 [INFO] [stderr] | [INFO] [stderr] 136 | let fstring = format!("(?:x|y){i:02} XOR (?:x|y){i:02} -> (.*)"); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s_regex` [INFO] [stderr] --> src/bin/24.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | let s_regex = Regex::new(&fstring).unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_regex` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a_series` [INFO] [stderr] --> src/bin/24.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | let mut a_series: HashMap = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_series` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/bin/24.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | for i in 0..max_z { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fstring` [INFO] [stderr] --> src/bin/24.rs:152:13 [INFO] [stderr] | [INFO] [stderr] 152 | let fstring = format!("(?:x|y){i:02} AND (?:x|y){i:02} -> (.*)"); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a_regex` [INFO] [stderr] --> src/bin/24.rs:153:13 [INFO] [stderr] | [INFO] [stderr] 153 | let a_regex = Regex::new(&fstring).unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_regex` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c_series` [INFO] [stderr] --> src/bin/24.rs:166:9 [INFO] [stderr] | [INFO] [stderr] 166 | let mut c_series: HashMap = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_series` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b_series` [INFO] [stderr] --> src/bin/24.rs:167:9 [INFO] [stderr] | [INFO] [stderr] 167 | let mut b_series: HashMap = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_series` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/bin/24.rs:170:9 [INFO] [stderr] | [INFO] [stderr] 170 | for i in 1..max_z { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prev_c` [INFO] [stderr] --> src/bin/24.rs:171:13 [INFO] [stderr] | [INFO] [stderr] 171 | let prev_c = c_series.get(&(i - 1)).unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `curr_s` [INFO] [stderr] --> src/bin/24.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | let curr_s = s_series.get(&i).unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fstring` [INFO] [stderr] --> src/bin/24.rs:173:13 [INFO] [stderr] | [INFO] [stderr] 173 | let fstring = format!("(?:{prev_c}|{curr_s}) AND (?:{prev_c}|{curr_s}) -> (.*)"); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b_regex` [INFO] [stderr] --> src/bin/24.rs:174:13 [INFO] [stderr] | [INFO] [stderr] 174 | let b_regex = Regex::new(&fstring).unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_regex` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b_captures` [INFO] [stderr] --> src/bin/24.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 175 | let b_captures = b_regex.captures(branchments); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_captures` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `curr_a` [INFO] [stderr] --> src/bin/24.rs:181:13 [INFO] [stderr] | [INFO] [stderr] 181 | let curr_a = a_series.get(&i).unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `curr_b` [INFO] [stderr] --> src/bin/24.rs:182:13 [INFO] [stderr] | [INFO] [stderr] 182 | let curr_b = b_series.get(&i).unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fstring` [INFO] [stderr] --> src/bin/24.rs:183:13 [INFO] [stderr] | [INFO] [stderr] 183 | let fstring = format!("(?:{curr_a}|{curr_b}) OR (?:{curr_a}|{curr_b}) -> (.*)"); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c_regex` [INFO] [stderr] --> src/bin/24.rs:184:13 [INFO] [stderr] | [INFO] [stderr] 184 | let c_regex = Regex::new(&fstring).unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_regex` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c_captures` [INFO] [stderr] --> src/bin/24.rs:185:13 [INFO] [stderr] | [INFO] [stderr] 185 | let c_captures = c_regex.captures(branchments); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_captures` [INFO] [stderr] [INFO] [stderr] warning: `advent_of_code` (bin "24" test) generated 39 warnings (run `cargo fix --bin "24" -p advent_of_code --tests` to apply 39 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/advent_of_code-2eeae283c7939184) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/01.rs (/opt/rustwide/target/debug/deps/01-4a2aada10436cc52) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/02.rs (/opt/rustwide/target/debug/deps/02-a703844621411369) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/03.rs (/opt/rustwide/target/debug/deps/03-4788377058391256) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/04.rs (/opt/rustwide/target/debug/deps/04-c316db5e4ca0859e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/05.rs (/opt/rustwide/target/debug/deps/05-e303a5d16b9d18f7) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/06.rs (/opt/rustwide/target/debug/deps/06-8fa8ce1252734c2e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/07.rs (/opt/rustwide/target/debug/deps/07-30f62000477ebc13) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/08.rs (/opt/rustwide/target/debug/deps/08-ac847c4ddd028645) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/09.rs (/opt/rustwide/target/debug/deps/09-7df1b350e36ff701) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/10.rs (/opt/rustwide/target/debug/deps/10-523827df53e6d91b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/11.rs (/opt/rustwide/target/debug/deps/11-e0c3eef7c9863676) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stderr] Running unittests src/bin/12.rs (/opt/rustwide/target/debug/deps/12-b61fb94a5f91f548) [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/13.rs (/opt/rustwide/target/debug/deps/13-fcdd8082878d31ec) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stderr] Running unittests src/bin/14.rs (/opt/rustwide/target/debug/deps/14-6461d85ac6a1e591) [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stderr] Running unittests src/bin/15.rs (/opt/rustwide/target/debug/deps/15-e52232ed5d78e9c8) [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.34s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/16.rs (/opt/rustwide/target/debug/deps/16-0a453e2826847333) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/17.rs (/opt/rustwide/target/debug/deps/17-09cab63a709f87fd) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/18.rs (/opt/rustwide/target/debug/deps/18-8a0f0c35a9341c8e) [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stderr] Running unittests src/bin/19.rs (/opt/rustwide/target/debug/deps/19-43c00a3b0c73133a) [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/20.rs (/opt/rustwide/target/debug/deps/20-2ee84e0666675e70) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/21.rs (/opt/rustwide/target/debug/deps/21-3a392954d7a679d7) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/22.rs (/opt/rustwide/target/debug/deps/22-6a5b8f8ae7491226) [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/23.rs (/opt/rustwide/target/debug/deps/23-d6c0ce32b7fd91a0) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/24.rs (/opt/rustwide/target/debug/deps/24-8e2bc30097b56c99) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/25.rs (/opt/rustwide/target/debug/deps/25-d6ecfbe750fa1d34) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_part_two ... ok [INFO] [stdout] test tests::test_part_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/advent_of_code-b29ad7f97fcfd6ca) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1466af0002afd95ae9012270c52cc3dddeb0a035710cc829d0eebaf7dfc9001a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1466af0002afd95ae9012270c52cc3dddeb0a035710cc829d0eebaf7dfc9001a", kill_on_drop: false }` [INFO] [stdout] 1466af0002afd95ae9012270c52cc3dddeb0a035710cc829d0eebaf7dfc9001a