[INFO] cloning repository https://github.com/ghmulti/adventofcode2023-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ghmulti/adventofcode2023-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghmulti%2Fadventofcode2023-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghmulti%2Fadventofcode2023-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41768ad433e3f5a18336f302b7e64ed23edbc956 [INFO] checking ghmulti/adventofcode2023-rust against master#73252d51d13c0e4f872c3c51defcf48174860ef6 for pr-119989-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghmulti%2Fadventofcode2023-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ghmulti/adventofcode2023-rust on toolchain 73252d51d13c0e4f872c3c51defcf48174860ef6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ghmulti/adventofcode2023-rust [INFO] finished tweaking git repo https://github.com/ghmulti/adventofcode2023-rust [INFO] tweaked toml for git repo https://github.com/ghmulti/adventofcode2023-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ghmulti/adventofcode2023-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" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "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] Downloading crates ... [INFO] [stderr] Downloaded equivalent v1.0.1 [INFO] [stderr] Downloaded integer-sqrt v0.1.5 [INFO] [stderr] Downloaded fixedbitset v0.4.2 [INFO] [stderr] Downloaded priority-queue v1.3.2 [INFO] [stderr] Downloaded lazy_static v1.4.0 [INFO] [stderr] Downloaded num-complex v0.4.4 [INFO] [stderr] Downloaded semver v1.0.20 [INFO] [stderr] Downloaded num-iter v0.1.43 [INFO] [stderr] Downloaded num-bigint v0.4.4 [INFO] [stderr] Downloaded hashbrown v0.14.3 [INFO] [stderr] Downloaded syn v2.0.41 [INFO] [stderr] Downloaded hashbrown v0.12.3 [INFO] [stderr] Downloaded pathfinding v4.6.0 [INFO] [stderr] Downloaded indexmap v2.1.0 [INFO] [stderr] Downloaded thiserror v1.0.51 [INFO] [stderr] Downloaded thiserror-impl v1.0.51 [INFO] [stderr] Downloaded num v0.4.1 [INFO] [stderr] Downloaded rustc-hash v1.1.0 [INFO] [stderr] Downloaded deprecate-until v0.1.1 [INFO] [stderr] Downloaded indexmap v1.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba6ba08379f8467fbe3a8f30edf8c937315cf8abe0b6d71da4d6794f75578f39 [INFO] running `Command { std: "docker" "start" "-a" "ba6ba08379f8467fbe3a8f30edf8c937315cf8abe0b6d71da4d6794f75578f39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba6ba08379f8467fbe3a8f30edf8c937315cf8abe0b6d71da4d6794f75578f39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba6ba08379f8467fbe3a8f30edf8c937315cf8abe0b6d71da4d6794f75578f39", kill_on_drop: false }` [INFO] [stdout] ba6ba08379f8467fbe3a8f30edf8c937315cf8abe0b6d71da4d6794f75578f39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0deade866b08cc3b8f8b6d954e9b801533d389b4a13b04bddaf1fcbdc1a1b0c1 [INFO] running `Command { std: "docker" "start" "-a" "0deade866b08cc3b8f8b6d954e9b801533d389b4a13b04bddaf1fcbdc1a1b0c1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling deprecate-until v0.1.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking pathfinding v4.6.0 [INFO] [stderr] Checking adventofcode2023-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/day21.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/day21.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day20.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let mut result = module.relay(&source, signal.clone()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/day20.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | fn relay(&mut self, from: &String, signal: u8) -> Option<(u8, Vec)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/day20.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | fn relay(&mut self, from: &String, signal: u8) -> Option<(u8, Vec)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day21.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | for index in 0..steps { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile_x` [INFO] [stdout] --> src/day21.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | .filter(|&(x, y, tile_x, tile_y)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile_y` [INFO] [stdout] --> src/day21.rs:134:34 [INFO] [stdout] | [INFO] [stdout] 134 | .filter(|&(x, y, tile_x, tile_y)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day20.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let mut result = module.relay(&source, signal.clone()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `init` is never read [INFO] [stdout] --> src/day20.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 158 | struct FlipFlopModule { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 162 | init: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FlipFlopModule` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize` is never used [INFO] [stdout] --> src/day21.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn visualize(elements: &HashSet<(usize, usize)>, map: &Vec>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_map` is never used [INFO] [stdout] --> src/day21.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn format_map(lines: Vec<&str>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize_proj` is never used [INFO] [stdout] --> src/day22.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn visualize_proj(blocks: &Vec<[RangeInclusive; 3]>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/day20.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | fn relay(&mut self, from: &String, signal: u8) -> Option<(u8, Vec)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/day20.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | fn relay(&mut self, from: &String, signal: u8) -> Option<(u8, Vec)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day21.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | for index in 0..steps { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile_x` [INFO] [stdout] --> src/day21.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | .filter(|&(x, y, tile_x, tile_y)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile_y` [INFO] [stdout] --> src/day21.rs:134:34 [INFO] [stdout] | [INFO] [stdout] 134 | .filter(|&(x, y, tile_x, tile_y)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `init` is never read [INFO] [stdout] --> src/day20.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 158 | struct FlipFlopModule { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 162 | init: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FlipFlopModule` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize` is never used [INFO] [stdout] --> src/day21.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn visualize(elements: &HashSet<(usize, usize)>, map: &Vec>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_map` is never used [INFO] [stdout] --> src/day21.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn format_map(lines: Vec<&str>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize_proj` is never used [INFO] [stdout] --> src/day22.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn visualize_proj(blocks: &Vec<[RangeInclusive; 3]>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.41s [INFO] running `Command { std: "docker" "inspect" "0deade866b08cc3b8f8b6d954e9b801533d389b4a13b04bddaf1fcbdc1a1b0c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0deade866b08cc3b8f8b6d954e9b801533d389b4a13b04bddaf1fcbdc1a1b0c1", kill_on_drop: false }` [INFO] [stdout] 0deade866b08cc3b8f8b6d954e9b801533d389b4a13b04bddaf1fcbdc1a1b0c1