[INFO] cloning repository https://github.com/rowanhill/aoc23 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rowanhill/aoc23" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frowanhill%2Faoc23", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frowanhill%2Faoc23'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9af7c574f1534c577fe613a41f27ab1bca1eee03 [INFO] checking rowanhill/aoc23 against master#ac385a5af6d9fa8399a0cec799833cd28324abf8 for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frowanhill%2Faoc23" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rowanhill/aoc23 on toolchain ac385a5af6d9fa8399a0cec799833cd28324abf8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rowanhill/aoc23 [INFO] finished tweaking git repo https://github.com/rowanhill/aoc23 [INFO] tweaked toml for git repo https://github.com/rowanhill/aoc23 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rowanhill/aoc23 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" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cd8d5f356a0cd40d5a203b3ead2a4b8e4f458aaf1c7cbe31ab0c9bda0d81312 [INFO] running `Command { std: "docker" "start" "-a" "0cd8d5f356a0cd40d5a203b3ead2a4b8e4f458aaf1c7cbe31ab0c9bda0d81312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cd8d5f356a0cd40d5a203b3ead2a4b8e4f458aaf1c7cbe31ab0c9bda0d81312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd8d5f356a0cd40d5a203b3ead2a4b8e4f458aaf1c7cbe31ab0c9bda0d81312", kill_on_drop: false }` [INFO] [stdout] 0cd8d5f356a0cd40d5a203b3ead2a4b8e4f458aaf1c7cbe31ab0c9bda0d81312 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 348dd5ec796f06e9bf0f0cfd8e8623d62d6bc31be27194bc2088308159845cc7 [INFO] running `Command { std: "docker" "start" "-a" "348dd5ec796f06e9bf0f0cfd8e8623d62d6bc31be27194bc2088308159845cc7", kill_on_drop: false }` [INFO] [stderr] Checking aoc23 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "348dd5ec796f06e9bf0f0cfd8e8623d62d6bc31be27194bc2088308159845cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "348dd5ec796f06e9bf0f0cfd8e8623d62d6bc31be27194bc2088308159845cc7", kill_on_drop: false }` [INFO] [stdout] 348dd5ec796f06e9bf0f0cfd8e8623d62d6bc31be27194bc2088308159845cc7 [INFO] checking rowanhill/aoc23 against try#9130c02509ce15f69dc5da6359bb9d140d41d4ac for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frowanhill%2Faoc23" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rowanhill/aoc23 on toolchain 9130c02509ce15f69dc5da6359bb9d140d41d4ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rowanhill/aoc23 [INFO] finished tweaking git repo https://github.com/rowanhill/aoc23 [INFO] tweaked toml for git repo https://github.com/rowanhill/aoc23 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rowanhill/aoc23 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" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 827cb32fea6d1296a2a633b83bbe51ec83703744399f650482f78709dd13f3c9 [INFO] running `Command { std: "docker" "start" "-a" "827cb32fea6d1296a2a633b83bbe51ec83703744399f650482f78709dd13f3c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "827cb32fea6d1296a2a633b83bbe51ec83703744399f650482f78709dd13f3c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "827cb32fea6d1296a2a633b83bbe51ec83703744399f650482f78709dd13f3c9", kill_on_drop: false }` [INFO] [stdout] 827cb32fea6d1296a2a633b83bbe51ec83703744399f650482f78709dd13f3c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 053a2b66ae96d210ddb3babcbcf94f7976150952ab888474c299f74db0117f89 [INFO] running `Command { std: "docker" "start" "-a" "053a2b66ae96d210ddb3babcbcf94f7976150952ab888474c299f74db0117f89", kill_on_drop: false }` [INFO] [stderr] Checking aoc23 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot determine resolution for the import [INFO] [stdout] --> src/bin/day14_common_tilt.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | use Cell::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Square` is not bound in all patterns [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------ variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Square` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::Cell::Square`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(crate::Cell::Square), _) => { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Round` is not bound in all patterns [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ pattern doesn't bind `Round` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::Cell::Round`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 68 | (Some(crate::Cell::Round), _) | (Some(Square), _) => { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Cell` is ambiguous [INFO] [stdout] --> src/bin/day14_common_tilt.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | use Cell::*; [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution [INFO] [stdout] note: `Cell` could refer to the enum defined here [INFO] [stdout] --> src/bin/day14_common_tilt.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / enum Cell { [INFO] [stdout] 5 | | Round, [INFO] [stdout] 6 | | Square, [INFO] [stdout] 7 | | Empty, [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: use `crate::Cell` to refer to this enum unambiguously [INFO] [stdout] note: `Cell` could also refer to a struct from prelude [INFO] [stdout] --> /rustc/9130c02509ce15f69dc5da6359bb9d140d41d4ac/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Empty` is named the same as one of the variants of the type `Cell` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | (Some(Empty), Some(Round)) => { [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Cell::Empty` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Round` is named the same as one of the variants of the type `Cell` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | (Some(Empty), Some(Round)) => { [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Cell::Round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Square` is named the same as one of the variants of the type `Cell` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | (_, Some(Square)) => { [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `Cell::Square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Empty` is named the same as one of the variants of the type `Cell` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | (_, Some(Empty)) => { [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Cell::Empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Round` is named the same as one of the variants of the type `Cell` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Cell::Round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Square` is named the same as one of the variants of the type `Cell` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `Cell::Square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/day14_common_tilt.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | (_, Some(Empty)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/day14_common_tilt.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | default => panic!("Unexpected state {:?}", default), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Square` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | (_, Some(Square)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Square` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Empty` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | (_, Some(Empty)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Round` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Square` is assigned to, but never used [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_Square` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `Round` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ^^^^^ cannot assign twice to immutable variable [INFO] [stdout] | [INFO] [stdout] help: consider making this binding mutable [INFO] [stdout] | [INFO] [stdout] 68 | (Some(mut Round), _) | (Some(Square), _) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: to modify the original value, take a borrow instead [INFO] [stdout] | [INFO] [stdout] 68 | (Some(ref mut Round), _) | (Some(Square), _) => { [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0384, E0408, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc23` (bin "day14_common_tilt" test) due to 12 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot determine resolution for the import [INFO] [stdout] --> src/bin/day14_common_tilt.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | use Cell::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Square` is not bound in all patterns [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------ variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Square` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::Cell::Square`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(crate::Cell::Square), _) => { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Round` is not bound in all patterns [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ pattern doesn't bind `Round` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::Cell::Round`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 68 | (Some(crate::Cell::Round), _) | (Some(Square), _) => { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Cell` is ambiguous [INFO] [stdout] --> src/bin/day14_common_tilt.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | use Cell::*; [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution [INFO] [stdout] note: `Cell` could refer to the enum defined here [INFO] [stdout] --> src/bin/day14_common_tilt.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / enum Cell { [INFO] [stdout] 5 | | Round, [INFO] [stdout] 6 | | Square, [INFO] [stdout] 7 | | Empty, [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: use `crate::Cell` to refer to this enum unambiguously [INFO] [stdout] note: `Cell` could also refer to a struct from prelude [INFO] [stdout] --> /rustc/9130c02509ce15f69dc5da6359bb9d140d41d4ac/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Empty` is named the same as one of the variants of the type `Cell` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | (Some(Empty), Some(Round)) => { [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Cell::Empty` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Round` is named the same as one of the variants of the type `Cell` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | (Some(Empty), Some(Round)) => { [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Cell::Round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Square` is named the same as one of the variants of the type `Cell` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | (_, Some(Square)) => { [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `Cell::Square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Empty` is named the same as one of the variants of the type `Cell` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | (_, Some(Empty)) => { [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Cell::Empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Round` is named the same as one of the variants of the type `Cell` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Cell::Round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Square` is named the same as one of the variants of the type `Cell` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `Cell::Square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/day14_common_tilt.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | (_, Some(Empty)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/day14_common_tilt.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | default => panic!("Unexpected state {:?}", default), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Square` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | (_, Some(Square)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Square` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Empty` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | (_, Some(Empty)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Round` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Square` is assigned to, but never used [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_Square` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `Round` [INFO] [stdout] --> src/bin/day14_common_tilt.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(Round), _) | (Some(Square), _) => { [INFO] [stdout] | ^^^^^ cannot assign twice to immutable variable [INFO] [stdout] | [INFO] [stdout] help: consider making this binding mutable [INFO] [stdout] | [INFO] [stdout] 68 | (Some(mut Round), _) | (Some(Square), _) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: to modify the original value, take a borrow instead [INFO] [stdout] | [INFO] [stdout] 68 | (Some(ref mut Round), _) | (Some(Square), _) => { [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0384, E0408, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc23` (bin "day14_common_tilt") due to 12 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "053a2b66ae96d210ddb3babcbcf94f7976150952ab888474c299f74db0117f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "053a2b66ae96d210ddb3babcbcf94f7976150952ab888474c299f74db0117f89", kill_on_drop: false }` [INFO] [stdout] 053a2b66ae96d210ddb3babcbcf94f7976150952ab888474c299f74db0117f89