[INFO] cloning repository https://github.com/ealionel/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/ealionel/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fealionel%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fealionel%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f84b6ece83eda870da22c1b14905be9ce1b6618 [INFO] checking ealionel/advent-of-code-2023/0f84b6ece83eda870da22c1b14905be9ce1b6618 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fealionel%2Fadvent-of-code-2023" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ealionel/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/ealionel/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/ealionel/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/ealionel/advent-of-code-2023 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ealionel/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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d4702a94bcdb103134a7a23b474a3dd4b38a86b76b5bd702fd5f5843f176bc8e [INFO] running `Command { std: "docker" "start" "-a" "d4702a94bcdb103134a7a23b474a3dd4b38a86b76b5bd702fd5f5843f176bc8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4702a94bcdb103134a7a23b474a3dd4b38a86b76b5bd702fd5f5843f176bc8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4702a94bcdb103134a7a23b474a3dd4b38a86b76b5bd702fd5f5843f176bc8e", kill_on_drop: false }` [INFO] [stdout] d4702a94bcdb103134a7a23b474a3dd4b38a86b76b5bd702fd5f5843f176bc8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3553e4a91e0c5355c0a4da482ac698ea1274b6bc2aedbe0017dced9aabf2d321 [INFO] running `Command { std: "docker" "start" "-a" "3553e4a91e0c5355c0a4da482ac698ea1274b6bc2aedbe0017dced9aabf2d321", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stderr] Checking day09 v0.1.0 (/opt/rustwide/workdir/day09) [INFO] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/day01) [INFO] [stderr] Checking day07 v0.1.0 (/opt/rustwide/workdir/day07) [INFO] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stderr] Checking day06 v0.1.0 (/opt/rustwide/workdir/day06) [INFO] [stderr] Checking day04 v0.1.0 (/opt/rustwide/workdir/day04) [INFO] [stderr] Checking day02 v0.1.0 (/opt/rustwide/workdir/day02) [INFO] [stderr] Checking day08 v0.1.0 (/opt/rustwide/workdir/day08) [INFO] [stderr] Checking crossbeam-epoch v0.9.15 [INFO] [stderr] Checking day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> day03/src/main.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | assert_eq!(visit_line(&grid, 0), 12); [INFO] [stdout] | ^^^^^^^^^^---------- argument #3 of type `&mut HashMap>` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> day03/src/main.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn visit_line(grid: &Grid, line_index: u32, store: &mut HashMap>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ ----------- --------------- ------------------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 201 | assert_eq!(visit_line(&grid, 0, /* &mut HashMap> */), 12); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> day03/src/main.rs:202:20 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(visit_line(&grid, 1), 2); [INFO] [stdout] | ^^^^^^^^^^---------- argument #3 of type `&mut HashMap>` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> day03/src/main.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn visit_line(grid: &Grid, line_index: u32, store: &mut HashMap>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ ----------- --------------- ------------------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(visit_line(&grid, 1, /* &mut HashMap> */), 2); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> day03/src/main.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | assert_eq!(visit_line(&grid, 2), 21); [INFO] [stdout] | ^^^^^^^^^^---------- argument #3 of type `&mut HashMap>` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> day03/src/main.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn visit_line(grid: &Grid, line_index: u32, store: &mut HashMap>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ ----------- --------------- ------------------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 203 | assert_eq!(visit_line(&grid, 2, /* &mut HashMap> */), 21); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> day03/src/main.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | assert_eq!(visit_line(&grid, 3), 14); [INFO] [stdout] | ^^^^^^^^^^---------- argument #3 of type `&mut HashMap>` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> day03/src/main.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn visit_line(grid: &Grid, line_index: u32, store: &mut HashMap>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ ----------- --------------- ------------------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 204 | assert_eq!(visit_line(&grid, 3, /* &mut HashMap> */), 14); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> day03/src/main.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(visit_line(&grid, 4), 13); [INFO] [stdout] | ^^^^^^^^^^---------- argument #3 of type `&mut HashMap>` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> day03/src/main.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn visit_line(grid: &Grid, line_index: u32, store: &mut HashMap>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ ----------- --------------- ------------------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(visit_line(&grid, 4, /* &mut HashMap> */), 13); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day03` (bin "day03" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day10/src/main.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | if cell_char = 'S' {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `bool`, found `()` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to compare for equality [INFO] [stdout] | [INFO] [stdout] 217 | if cell_char == 'S' {} [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day10/src/main.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | if cell_char = 'S' {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `bool`, found `()` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to compare for equality [INFO] [stdout] | [INFO] [stdout] 217 | if cell_char == 'S' {} [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*direction` which is behind a shared reference [INFO] [stdout] --> day10/src/main.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | match *direction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | direction if direction == HashSet::from([Direction::North, Direction::South]) => '|', [INFO] [stdout] | --------- data moved here [INFO] [stdout] 43 | direction if direction == HashSet::from([Direction::West, Direction::East]) => '-', [INFO] [stdout] | --------- ...and here [INFO] [stdout] 44 | direction if direction == HashSet::from([Direction::North, Direction::East]) => 'L', [INFO] [stdout] | --------- ...and here [INFO] [stdout] 45 | direction if direction == HashSet::from([Direction::North, Direction::West]) => 'J', [INFO] [stdout] | --------- ...and here [INFO] [stdout] 46 | direction if direction == HashSet::from([Direction::South, Direction::West]) => '7', [INFO] [stdout] | --------- ...and here [INFO] [stdout] 47 | direction if direction == HashSet::from([Direction::South, Direction::East]) => 'F', [INFO] [stdout] | --------- ...and here [INFO] [stdout] | [INFO] [stdout] = note: move occurs because these variables have types that don't implement the `Copy` trait [INFO] [stdout] help: consider removing the dereference here [INFO] [stdout] | [INFO] [stdout] 41 - match *direction { [INFO] [stdout] 41 + match direction { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*direction` which is behind a shared reference [INFO] [stdout] --> day10/src/main.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | match *direction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | direction if direction == HashSet::from([Direction::North, Direction::South]) => '|', [INFO] [stdout] | --------- data moved here [INFO] [stdout] 43 | direction if direction == HashSet::from([Direction::West, Direction::East]) => '-', [INFO] [stdout] | --------- ...and here [INFO] [stdout] 44 | direction if direction == HashSet::from([Direction::North, Direction::East]) => 'L', [INFO] [stdout] | --------- ...and here [INFO] [stdout] 45 | direction if direction == HashSet::from([Direction::North, Direction::West]) => 'J', [INFO] [stdout] | --------- ...and here [INFO] [stdout] 46 | direction if direction == HashSet::from([Direction::South, Direction::West]) => '7', [INFO] [stdout] | --------- ...and here [INFO] [stdout] 47 | direction if direction == HashSet::from([Direction::South, Direction::East]) => 'F', [INFO] [stdout] | --------- ...and here [INFO] [stdout] | [INFO] [stdout] = note: move occurs because these variables have types that don't implement the `Copy` trait [INFO] [stdout] help: consider removing the dereference here [INFO] [stdout] | [INFO] [stdout] 41 - match *direction { [INFO] [stdout] 41 + match direction { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day10` (bin "day10") due to 2 previous errors [INFO] [stderr] error: could not compile `day10` (bin "day10" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3553e4a91e0c5355c0a4da482ac698ea1274b6bc2aedbe0017dced9aabf2d321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3553e4a91e0c5355c0a4da482ac698ea1274b6bc2aedbe0017dced9aabf2d321", kill_on_drop: false }` [INFO] [stdout] 3553e4a91e0c5355c0a4da482ac698ea1274b6bc2aedbe0017dced9aabf2d321