[INFO] cloning repository https://github.com/bmisiak/adventofcode2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bmisiak/adventofcode2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbmisiak%2Fadventofcode2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbmisiak%2Fadventofcode2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12c3a4ea08dac95c79a7ffe205e9e45ddf709b6f [INFO] checking bmisiak/adventofcode2023 against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbmisiak%2Fadventofcode2023" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bmisiak/adventofcode2023 [INFO] finished tweaking git repo https://github.com/bmisiak/adventofcode2023 [INFO] tweaked toml for git repo https://github.com/bmisiak/adventofcode2023 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bmisiak/adventofcode2023 on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bmisiak/adventofcode2023 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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 866385b33fa93c6cbb4f2876ae9a9db6de9b8bd94cdd7c910faf7e3a5983eb9e [INFO] running `Command { std: "docker" "start" "-a" "866385b33fa93c6cbb4f2876ae9a9db6de9b8bd94cdd7c910faf7e3a5983eb9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "866385b33fa93c6cbb4f2876ae9a9db6de9b8bd94cdd7c910faf7e3a5983eb9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "866385b33fa93c6cbb4f2876ae9a9db6de9b8bd94cdd7c910faf7e3a5983eb9e", kill_on_drop: false }` [INFO] [stdout] 866385b33fa93c6cbb4f2876ae9a9db6de9b8bd94cdd7c910faf7e3a5983eb9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7e76218532b3ee07ab2d44db2cf394d81b4e8d632c530781ef9ff93033dde3f [INFO] running `Command { std: "docker" "start" "-a" "a7e76218532b3ee07ab2d44db2cf394d81b4e8d632c530781ef9ff93033dde3f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.72 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.34 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking advent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: use of unstable library feature `slice_pattern`: stopgap trait for slice patterns [INFO] [stdout] --> src/day20.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::slice::SlicePattern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #56345 for more information [INFO] [stdout] = help: add `#![feature(slice_pattern)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-08; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `slice_pattern`: stopgap trait for slice patterns [INFO] [stdout] --> src/day20.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::slice::SlicePattern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #56345 for more information [INFO] [stdout] = help: add `#![feature(slice_pattern)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-08; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{closure@day20.rs:74:22}` to return `(String, String, Pulse)`, but it returns `(Option<&str>, String, Pulse)` [INFO] [stdout] --> src/day20.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 47 | fn react_to_pulse<'a, 'inputs>(&'a mut self, inputs: &'inputs [&'inputs str], input_name: Option<&'inputs str>, pulse: Pulse) -> impl Iterator + 'a wh... [INFO] [stdout] | -------------------------------------------------- closure used here [INFO] [stdout] ... [INFO] [stdout] 71 | / output_pulse.map(|output_pulse| { [INFO] [stdout] 72 | | self.outputs [INFO] [stdout] 73 | | .iter() [INFO] [stdout] 74 | | .map(move |output_name| (input_name.clone(), output_name.clone(), output_pulse.clone())) [INFO] [stdout] | | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `(String, String, Pulse)`, found `(Option<&str>, String, Pulse)` [INFO] [stdout] | | | [INFO] [stdout] | | this closure [INFO] [stdout] 75 | | }) [INFO] [stdout] 76 | | .into_iter() [INFO] [stdout] 77 | | .flatten() [INFO] [stdout] | |__________________- return type was inferred to be `Flatten, {closure@day20.rs:74:22}>>>` here [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(String, String, Pulse)` [INFO] [stdout] found tuple `(Option<&str>, String, Pulse)` [INFO] [stdout] = note: required for `Map, {closure@src/day20.rs:74:22: 74:40}>` to implement `Iterator` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Flatten, {closure@day20.rs:74:22}>>>` to implement `Iterator` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/advent-6ca1c9eb8d68bfe1.long-type-2907141965765091344.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{closure@day20.rs:74:22}` to return `(String, String, Pulse)`, but it returns `(Option<&str>, String, Pulse)` [INFO] [stdout] --> src/day20.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 47 | fn react_to_pulse<'a, 'inputs>(&'a mut self, inputs: &'inputs [&'inputs str], input_name: Option<&'inputs str>, pulse: Pulse) -> impl Iterator + 'a wh... [INFO] [stdout] | -------------------------------------------------- closure used here [INFO] [stdout] ... [INFO] [stdout] 71 | / output_pulse.map(|output_pulse| { [INFO] [stdout] 72 | | self.outputs [INFO] [stdout] 73 | | .iter() [INFO] [stdout] 74 | | .map(move |output_name| (input_name.clone(), output_name.clone(), output_pulse.clone())) [INFO] [stdout] | | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `(String, String, Pulse)`, found `(Option<&str>, String, Pulse)` [INFO] [stdout] | | | [INFO] [stdout] | | this closure [INFO] [stdout] 75 | | }) [INFO] [stdout] 76 | | .into_iter() [INFO] [stdout] 77 | | .flatten() [INFO] [stdout] | |__________________- return type was inferred to be `Flatten, {closure@day20.rs:74:22}>>>` here [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(String, String, Pulse)` [INFO] [stdout] found tuple `(Option<&str>, String, Pulse)` [INFO] [stdout] = note: required for `Map, {closure@src/day20.rs:74:22: 74:40}>` to implement `Iterator` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Flatten, {closure@day20.rs:74:22}>>>` to implement `Iterator` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/advent-512d98ee6b661ed8.long-type-3191234344848867295.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day20.rs:117:81 [INFO] [stdout] | [INFO] [stdout] 117 | let generated_pulses = modules.get_mut(&target).unwrap().react_to_pulse(module_inputs[&target].as_slice(), Some(&sender), pulse); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&[&str]`, found `&[String]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[&str]` [INFO] [stdout] found reference `&[String]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/day20.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn react_to_pulse<'a, 'inputs>(&'a mut self, inputs: &'inputs [&'inputs str], input_name: Option<&'inputs str>, pulse: Pulse) -> impl... [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::slice::SlicePattern` [INFO] [stdout] --> src/day20.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::slice::SlicePattern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day20.rs:117:81 [INFO] [stdout] | [INFO] [stdout] 117 | let generated_pulses = modules.get_mut(&target).unwrap().react_to_pulse(module_inputs[&target].as_slice(), Some(&sender), pulse); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&[&str]`, found `&[String]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[&str]` [INFO] [stdout] found reference `&[String]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/day20.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn react_to_pulse<'a, 'inputs>(&'a mut self, inputs: &'inputs [&'inputs str], input_name: Option<&'inputs str>, pulse: Pulse) -> impl... [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::slice::SlicePattern` [INFO] [stdout] --> src/day20.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::slice::SlicePattern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_len` [INFO] [stdout] --> src/day3.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let total_len = bytes.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day3.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let lines: Vec<_> = bytes.chunks_exact(line_len+1).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_line` [INFO] [stdout] --> src/day3.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | for (prev_line, cur_line, next_line) in lines { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_line` [INFO] [stdout] --> src/day3.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | for (prev_line, cur_line, next_line) in lines { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/day3.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | for (pos, ch) in cur_line.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_input_name` [INFO] [stdout] --> src/day20.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn receive_pulse(&mut self, source_input_name: &str, pulse: Pulse) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_input_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pulse` [INFO] [stdout] --> src/day20.rs:25:58 [INFO] [stdout] | [INFO] [stdout] 25 | fn receive_pulse(&mut self, source_input_name: &str, pulse: Pulse) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pulse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_len` [INFO] [stdout] --> src/day3.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let total_len = bytes.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day3.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let lines: Vec<_> = bytes.chunks_exact(line_len+1).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_line` [INFO] [stdout] --> src/day3.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | for (prev_line, cur_line, next_line) in lines { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_line` [INFO] [stdout] --> src/day3.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | for (prev_line, cur_line, next_line) in lines { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/day3.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | for (pos, ch) in cur_line.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_input_name` [INFO] [stdout] --> src/day20.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn receive_pulse(&mut self, source_input_name: &str, pulse: Pulse) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_input_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pulse` [INFO] [stdout] --> src/day20.rs:25:58 [INFO] [stdout] | [INFO] [stdout] 25 | fn receive_pulse(&mut self, source_input_name: &str, pulse: Pulse) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pulse` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent` (bin "advent" test) due to 3 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0271, E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent` (bin "advent") due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a7e76218532b3ee07ab2d44db2cf394d81b4e8d632c530781ef9ff93033dde3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7e76218532b3ee07ab2d44db2cf394d81b4e8d632c530781ef9ff93033dde3f", kill_on_drop: false }` [INFO] [stdout] a7e76218532b3ee07ab2d44db2cf394d81b4e8d632c530781ef9ff93033dde3f