[INFO] cloning repository https://github.com/jedidiahC/advent-of-code-2024
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jedidiahC/advent-of-code-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjedidiahC%2Fadvent-of-code-2024", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjedidiahC%2Fadvent-of-code-2024'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3bd2a2a8f61fad73f196d6f02212be6d0613e8ba
[INFO] testing jedidiahC/advent-of-code-2024 against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjedidiahC%2Fadvent-of-code-2024" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jedidiahC/advent-of-code-2024
[INFO] finished tweaking git repo https://github.com/jedidiahC/advent-of-code-2024
[INFO] tweaked toml for git repo https://github.com/jedidiahC/advent-of-code-2024 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jedidiahC/advent-of-code-2024 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jedidiahC/advent-of-code-2024 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" "+1.95.0" "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-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b4810abdd04090eb9c3de8048c7707751cece5e53484038ef95c06047722b4ab
[INFO] running `Command { std: "docker" "start" "-a" "b4810abdd04090eb9c3de8048c7707751cece5e53484038ef95c06047722b4ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b4810abdd04090eb9c3de8048c7707751cece5e53484038ef95c06047722b4ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4810abdd04090eb9c3de8048c7707751cece5e53484038ef95c06047722b4ab", kill_on_drop: false }`
[INFO] [stdout] b4810abdd04090eb9c3de8048c7707751cece5e53484038ef95c06047722b4ab
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4eaf7a5f4bb2931ca1ea961e2adac8981fa1ea7c8802b179a8d0733eee4eb804
[INFO] running `Command { std: "docker" "start" "-a" "4eaf7a5f4bb2931ca1ea961e2adac8981fa1ea7c8802b179a8d0733eee4eb804", kill_on_drop: false }`
[INFO] [stderr]    Compiling advent-of-code-2024 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/bin/1.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let result = solve_part_one(input_file)
[INFO] [stdout]    |                                            ^ help: add `;` here
[INFO] [stdout] 15 | }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: format argument must be a string literal
[INFO] [stdout]  --> src/bin/1.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 |         println!(lines);
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a string literal to format with
[INFO] [stdout]   |
[INFO] [stdout] 9 |         println!("{}", lines);
[INFO] [stdout]   |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]  --> src/bin/1.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn solve_part_one(reader: BufRead) -> Result<usize> {
[INFO] [stdout]   |                               ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use a new generic type parameter, constrained by `BufRead`
[INFO] [stdout]   |
[INFO] [stdout] 7 -     fn solve_part_one(reader: BufRead) -> Result<usize> {
[INFO] [stdout] 7 +     fn solve_part_one<T: BufRead>(reader: T) -> Result<usize> {
[INFO] [stdout]   |
[INFO] [stdout] help: you can also use an opaque type, but users won't be able to specify the type parameter when calling the `fn`, having to rely exclusively on type inference
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn solve_part_one(reader: impl BufRead) -> Result<usize> {
[INFO] [stdout]   |                               ++++
[INFO] [stdout] help: alternatively, use a trait object to accept any type that implements `BufRead`, accessing its methods at runtime using dynamic dispatch
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn solve_part_one(reader: &dyn BufRead) -> Result<usize> {
[INFO] [stdout]   |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/bin/1.rs:7:43
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn solve_part_one(reader: BufRead) -> Result<usize> {
[INFO] [stdout]   |                                           ^^^^^^ ----- supplied 1 generic argument
[INFO] [stdout]   |                                           |
[INFO] [stdout]   |                                           expected 2 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn solve_part_one(reader: BufRead) -> Result<usize, E> {
[INFO] [stdout]   |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/bin/1.rs:13:59
[INFO] [stdout]    |
[INFO] [stdout]  5 | fn main() {
[INFO] [stdout]    | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     let input_file = BufReader::new(File::open(INPUT_FILE)?);
[INFO] [stdout]    |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  5 ~ fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  6 |
[INFO] [stdout] ...
[INFO] [stdout] 14 |     let result = solve_part_one(input_file)
[INFO] [stdout] 15 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `solve_part_one` in this scope
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     solve_part_one()
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0782.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "1") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "advent-of-code-2024") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "4eaf7a5f4bb2931ca1ea961e2adac8981fa1ea7c8802b179a8d0733eee4eb804", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4eaf7a5f4bb2931ca1ea961e2adac8981fa1ea7c8802b179a8d0733eee4eb804", kill_on_drop: false }`
[INFO] [stdout] 4eaf7a5f4bb2931ca1ea961e2adac8981fa1ea7c8802b179a8d0733eee4eb804
