[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#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fealionel%2Fadvent-of-code-2023" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ealionel/advent-of-code-2023 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-6-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51566001f04fc88e147fa1ff2f22a1e2937811466da5ec217e9453a2028f3c2e [INFO] running `Command { std: "docker" "start" "-a" "51566001f04fc88e147fa1ff2f22a1e2937811466da5ec217e9453a2028f3c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51566001f04fc88e147fa1ff2f22a1e2937811466da5ec217e9453a2028f3c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51566001f04fc88e147fa1ff2f22a1e2937811466da5ec217e9453a2028f3c2e", kill_on_drop: false }` [INFO] [stdout] 51566001f04fc88e147fa1ff2f22a1e2937811466da5ec217e9453a2028f3c2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bd548cf7335fa2162eab40eb9ece32172be74dd6fc4f2232c41d5e9be18cf87 [INFO] running `Command { std: "docker" "start" "-a" "0bd548cf7335fa2162eab40eb9ece32172be74dd6fc4f2232c41d5e9be18cf87", 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] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> day12/src/main.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::current` [INFO] [stdout] --> day10/src/main.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, collections::HashSet, fs, thread::current}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stdout] warning: 1 warning emitted [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] [stderr] Checking day07 v0.1.0 (/opt/rustwide/workdir/day07) [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] warning: unused variable: `new_char` [INFO] [stdout] --> day10/src/main.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let new_char: char = allowed_directions_to_char(&allowed_directions); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_char` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [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] 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] [stderr] error: could not compile `day10` (bin "day10") due to 3 previous errors; 2 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] warning: unused variable: `cell` [INFO] [stdout] --> day03/src/main.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | for (cell, numbers) in store { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [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 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0bd548cf7335fa2162eab40eb9ece32172be74dd6fc4f2232c41d5e9be18cf87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bd548cf7335fa2162eab40eb9ece32172be74dd6fc4f2232c41d5e9be18cf87", kill_on_drop: false }` [INFO] [stdout] 0bd548cf7335fa2162eab40eb9ece32172be74dd6fc4f2232c41d5e9be18cf87