[INFO] cloning repository https://github.com/bfilejecki/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/bfilejecki/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbfilejecki%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbfilejecki%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c99966ce9f0b41646ba8be2b83383f87e8d09f3 [INFO] checking bfilejecki/advent-of-code-2023/9c99966ce9f0b41646ba8be2b83383f87e8d09f3 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbfilejecki%2Fadvent-of-code-2023" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bfilejecki/advent-of-code-2023 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bfilejecki/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/bfilejecki/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/bfilejecki/advent-of-code-2023 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bfilejecki/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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56cc68e265d1e95b61eaa14d8d942cbb02ca3f3b6e1f599191589dd27a76775b [INFO] running `Command { std: "docker" "start" "-a" "56cc68e265d1e95b61eaa14d8d942cbb02ca3f3b6e1f599191589dd27a76775b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56cc68e265d1e95b61eaa14d8d942cbb02ca3f3b6e1f599191589dd27a76775b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56cc68e265d1e95b61eaa14d8d942cbb02ca3f3b6e1f599191589dd27a76775b", kill_on_drop: false }` [INFO] [stdout] 56cc68e265d1e95b61eaa14d8d942cbb02ca3f3b6e1f599191589dd27a76775b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ab8e9053c10738c58b88ceb3cf7096e18e948aff7740c7a9095929c3ecfce8a [INFO] running `Command { std: "docker" "start" "-a" "5ab8e9053c10738c58b88ceb3cf7096e18e948aff7740c7a9095929c3ecfce8a", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking day-04 v0.1.0 (/opt/rustwide/workdir/day-04) [INFO] [stderr] Checking day-06 v0.1.0 (/opt/rustwide/workdir/day-06) [INFO] [stderr] Checking day-07 v0.1.0 (/opt/rustwide/workdir/day-07) [INFO] [stderr] Checking day-05 v0.1.0 (/opt/rustwide/workdir/day-05) [INFO] [stderr] Checking day-03 v0.1.0 (/opt/rustwide/workdir/day-03) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day-05/src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 25 | let loc = find_location_from_seed( [INFO] [stdout] | ----------------------- arguments to this function are incorrect [INFO] [stdout] 26 | seed, [INFO] [stdout] | ^^^^ expected `u64`, found `&u64` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> day-05/src/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn find_location_from_seed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | seed: u64, [INFO] [stdout] | --------- [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 26 | *seed, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day-05/src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 25 | let loc = find_location_from_seed( [INFO] [stdout] | ----------------------- arguments to this function are incorrect [INFO] [stdout] 26 | seed, [INFO] [stdout] | ^^^^ expected `u64`, found `&u64` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> day-05/src/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn find_location_from_seed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | seed: u64, [INFO] [stdout] | --------- [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 26 | *seed, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `bid` in initializer of `Hand` [INFO] [stdout] --> day-07/src/main.rs:478:23 [INFO] [stdout] | [INFO] [stdout] 478 | let res_5 = (&Hand { [INFO] [stdout] | ^^^^ missing `bid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `bid` in initializer of `Hand` [INFO] [stdout] --> day-07/src/main.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | let res_4 = (&Hand { [INFO] [stdout] | ^^^^ missing `bid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `bid` in initializer of `Hand` [INFO] [stdout] --> day-07/src/main.rs:486:23 [INFO] [stdout] | [INFO] [stdout] 486 | let res_3 = (&Hand { [INFO] [stdout] | ^^^^ missing `bid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `bid` in initializer of `Hand` [INFO] [stdout] --> day-07/src/main.rs:490:24 [INFO] [stdout] | [INFO] [stdout] 490 | let res_22 = (&Hand { cards: two_pairs }).hand_type(); [INFO] [stdout] | ^^^^ missing `bid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `bid` in initializer of `Hand` [INFO] [stdout] --> day-07/src/main.rs:491:23 [INFO] [stdout] | [INFO] [stdout] 491 | let res_2 = (&Hand { cards: pair }).hand_type(); [INFO] [stdout] | ^^^^ missing `bid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `bid` in initializer of `Hand` [INFO] [stdout] --> day-07/src/main.rs:492:26 [INFO] [stdout] | [INFO] [stdout] 492 | let res_full = (&Hand { cards: full_house }).hand_type(); [INFO] [stdout] | ^^^^ missing `bid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `bid` in initializer of `Hand` [INFO] [stdout] --> day-07/src/main.rs:493:26 [INFO] [stdout] | [INFO] [stdout] 493 | let res_high = (&Hand { cards: high_card }).hand_type(); [INFO] [stdout] | ^^^^ missing `bid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day-05` (bin "day-05") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day-05` (bin "day-05" test) due to 1 previous error [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day-07/src/main.rs:479:20 [INFO] [stdout] | [INFO] [stdout] 479 | cards: five_of_a_kind, [INFO] [stdout] | ^^^^^^^^^^^^^^- help: try using a conversion method: `.to_vec()` [INFO] [stdout] | | [INFO] [stdout] | expected `Vec`, found `[Card; 5]` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found array `[Card; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day-07/src/main.rs:483:20 [INFO] [stdout] | [INFO] [stdout] 483 | cards: four_of_a_kind, [INFO] [stdout] | ^^^^^^^^^^^^^^- help: try using a conversion method: `.to_vec()` [INFO] [stdout] | | [INFO] [stdout] | expected `Vec`, found `[Card; 5]` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found array `[Card; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day-07/src/main.rs:487:20 [INFO] [stdout] | [INFO] [stdout] 487 | cards: three_of_a_kind, [INFO] [stdout] | ^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_vec()` [INFO] [stdout] | | [INFO] [stdout] | expected `Vec`, found `[Card; 5]` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found array `[Card; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day-07/src/main.rs:490:38 [INFO] [stdout] | [INFO] [stdout] 490 | let res_22 = (&Hand { cards: two_pairs }).hand_type(); [INFO] [stdout] | ^^^^^^^^^- help: try using a conversion method: `.to_vec()` [INFO] [stdout] | | [INFO] [stdout] | expected `Vec`, found `[Card; 5]` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found array `[Card; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day-07/src/main.rs:491:37 [INFO] [stdout] | [INFO] [stdout] 491 | let res_2 = (&Hand { cards: pair }).hand_type(); [INFO] [stdout] | ^^^^- help: try using a conversion method: `.to_vec()` [INFO] [stdout] | | [INFO] [stdout] | expected `Vec`, found `[Card; 5]` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found array `[Card; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day-07/src/main.rs:492:40 [INFO] [stdout] | [INFO] [stdout] 492 | let res_full = (&Hand { cards: full_house }).hand_type(); [INFO] [stdout] | ^^^^^^^^^^- help: try using a conversion method: `.to_vec()` [INFO] [stdout] | | [INFO] [stdout] | expected `Vec`, found `[Card; 5]` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found array `[Card; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day-07/src/main.rs:493:40 [INFO] [stdout] | [INFO] [stdout] 493 | let res_high = (&Hand { cards: high_card }).hand_type(); [INFO] [stdout] | ^^^^^^^^^- help: try using a conversion method: `.to_vec()` [INFO] [stdout] | | [INFO] [stdout] | expected `Vec`, found `[Card; 5]` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found array `[Card; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day-07` (bin "day-07" test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "5ab8e9053c10738c58b88ceb3cf7096e18e948aff7740c7a9095929c3ecfce8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ab8e9053c10738c58b88ceb3cf7096e18e948aff7740c7a9095929c3ecfce8a", kill_on_drop: false }` [INFO] [stdout] 5ab8e9053c10738c58b88ceb3cf7096e18e948aff7740c7a9095929c3ecfce8a