[INFO] cloning repository https://github.com/emmyleaf/advent-of-code-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emmyleaf/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femmyleaf%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femmyleaf%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bffcca80f9c36059958bea579f3e173ac36b2a6d [INFO] checking emmyleaf/advent-of-code-2023 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femmyleaf%2Fadvent-of-code-2023" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emmyleaf/advent-of-code-2023 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/emmyleaf/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/emmyleaf/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/emmyleaf/advent-of-code-2023 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/emmyleaf/advent-of-code-2023 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking emmyleaf/advent-of-code-2023 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femmyleaf%2Fadvent-of-code-2023" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emmyleaf/advent-of-code-2023 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/emmyleaf/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/emmyleaf/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/emmyleaf/advent-of-code-2023 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/emmyleaf/advent-of-code-2023 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a80c348e6c0b4c30d817f6b2b080ab3ae2896d9799062e128923bfd297e95b38 [INFO] running `Command { std: "docker" "start" "-a" "a80c348e6c0b4c30d817f6b2b080ab3ae2896d9799062e128923bfd297e95b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a80c348e6c0b4c30d817f6b2b080ab3ae2896d9799062e128923bfd297e95b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a80c348e6c0b4c30d817f6b2b080ab3ae2896d9799062e128923bfd297e95b38", kill_on_drop: false }` [INFO] [stdout] a80c348e6c0b4c30d817f6b2b080ab3ae2896d9799062e128923bfd297e95b38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3abac69d7c3510d22596cd77bcc811bd13b0006c43ae87d9fd5d22cdcf70197 [INFO] running `Command { std: "docker" "start" "-a" "e3abac69d7c3510d22596cd77bcc811bd13b0006c43ae87d9fd5d22cdcf70197", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking advent-of-code-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/days/day16.rs:111:39 [INFO] [stdout] | [INFO] [stdout] 111 | let final_state = follow_path_rec(state, (0, 0), Direction::East); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/days/day16.rs:111:39 [INFO] [stdout] | [INFO] [stdout] 111 | let final_state = follow_path_rec(state, (0, 0), Direction::East); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day16.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | energised: (), [INFO] [stdout] | ^^ expected `BitVec`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BitVec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day16.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | bounced_at: (), [INFO] [stdout] | ^^ expected `BitVec`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BitVec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable block in `if` or `while` expression [INFO] [stdout] --> src/days/day16.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | if todo!() { [INFO] [stdout] | ________________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] 48 | | let north = follow_path_rec(state.clone(), point, Direction::North); [INFO] [stdout] 49 | | let south = follow_path_rec(state, point, Direction::South); [INFO] [stdout] 50 | | north + south [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____________^ unreachable block in `if` or `while` expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day16.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 47 | / if todo!() { [INFO] [stdout] 48 | | let north = follow_path_rec(state.clone(), point, Direction::North); [INFO] [stdout] 49 | | let south = follow_path_rec(state, point, Direction::South); [INFO] [stdout] 50 | | north + south [INFO] [stdout] | | ^^^^^^^^^^^^^ expected `()`, found `State` [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 51 | }; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 50 | return north + south; [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable block in `if` or `while` expression [INFO] [stdout] --> src/days/day16.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | if todo!() { [INFO] [stdout] | ________________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] 62 | | let east = follow_path_rec(state.clone(), point, Direction::East); [INFO] [stdout] 63 | | let west = follow_path_rec(state, point, Direction::West); [INFO] [stdout] 64 | | east + west [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____________^ unreachable block in `if` or `while` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day16.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 61 | / if todo!() { [INFO] [stdout] 62 | | let east = follow_path_rec(state.clone(), point, Direction::East); [INFO] [stdout] 63 | | let west = follow_path_rec(state, point, Direction::West); [INFO] [stdout] 64 | | east + west [INFO] [stdout] | | ^^^^^^^^^^^ expected `()`, found `State` [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 65 | }; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 64 | return east + west; [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2023` (bin "advent-of-code-2023") due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day16.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | energised: (), [INFO] [stdout] | ^^ expected `BitVec`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BitVec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day16.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | bounced_at: (), [INFO] [stdout] | ^^ expected `BitVec`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BitVec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable block in `if` or `while` expression [INFO] [stdout] --> src/days/day16.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | if todo!() { [INFO] [stdout] | ________________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] 48 | | let north = follow_path_rec(state.clone(), point, Direction::North); [INFO] [stdout] 49 | | let south = follow_path_rec(state, point, Direction::South); [INFO] [stdout] 50 | | north + south [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____________^ unreachable block in `if` or `while` expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day16.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 47 | / if todo!() { [INFO] [stdout] 48 | | let north = follow_path_rec(state.clone(), point, Direction::North); [INFO] [stdout] 49 | | let south = follow_path_rec(state, point, Direction::South); [INFO] [stdout] 50 | | north + south [INFO] [stdout] | | ^^^^^^^^^^^^^ expected `()`, found `State` [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 51 | }; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 50 | return north + south; [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable block in `if` or `while` expression [INFO] [stdout] --> src/days/day16.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | if todo!() { [INFO] [stdout] | ________________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] 62 | | let east = follow_path_rec(state.clone(), point, Direction::East); [INFO] [stdout] 63 | | let west = follow_path_rec(state, point, Direction::West); [INFO] [stdout] 64 | | east + west [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____________^ unreachable block in `if` or `while` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day16.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 61 | / if todo!() { [INFO] [stdout] 62 | | let east = follow_path_rec(state.clone(), point, Direction::East); [INFO] [stdout] 63 | | let west = follow_path_rec(state, point, Direction::West); [INFO] [stdout] 64 | | east + west [INFO] [stdout] | | ^^^^^^^^^^^ expected `()`, found `State` [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 65 | }; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 64 | return east + west; [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2023` (bin "advent-of-code-2023" test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e3abac69d7c3510d22596cd77bcc811bd13b0006c43ae87d9fd5d22cdcf70197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3abac69d7c3510d22596cd77bcc811bd13b0006c43ae87d9fd5d22cdcf70197", kill_on_drop: false }` [INFO] [stdout] e3abac69d7c3510d22596cd77bcc811bd13b0006c43ae87d9fd5d22cdcf70197