[INFO] cloning repository https://github.com/flockean/adventofcode2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flockean/adventofcode2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflockean%2Fadventofcode2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflockean%2Fadventofcode2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6e59f72602167455a505e302c045aca4698d446 [INFO] checking flockean/adventofcode2024 against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflockean%2Fadventofcode2024" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/flockean/adventofcode2024 [INFO] finished tweaking git repo https://github.com/flockean/adventofcode2024 [INFO] tweaked toml for git repo https://github.com/flockean/adventofcode2024 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/flockean/adventofcode2024 on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/flockean/adventofcode2024 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 309a910a24199f061a352e3943931bc5290b61d7f14c3d3618eb34fb3d50aad8 [INFO] running `Command { std: "docker" "start" "-a" "309a910a24199f061a352e3943931bc5290b61d7f14c3d3618eb34fb3d50aad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "309a910a24199f061a352e3943931bc5290b61d7f14c3d3618eb34fb3d50aad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "309a910a24199f061a352e3943931bc5290b61d7f14c3d3618eb34fb3d50aad8", kill_on_drop: false }` [INFO] [stdout] 309a910a24199f061a352e3943931bc5290b61d7f14c3d3618eb34fb3d50aad8 [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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11dc928f3520954a01be480517bd268f85c6dd3a4365c9512e9410da18d171d6 [INFO] running `Command { std: "docker" "start" "-a" "11dc928f3520954a01be480517bd268f85c6dd3a4365c9512e9410da18d171d6", kill_on_drop: false }` [INFO] [stderr] Checking adventofcode2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `day1` in this scope [INFO] [stdout] --> src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | println!("In file {day1}"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io` and `string` [INFO] [stdout] --> src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, io, string}; [INFO] [stdout] | ^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `day1` in this scope [INFO] [stdout] --> src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | println!("In file {day1}"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io` and `string` [INFO] [stdout] --> src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, io, string}; [INFO] [stdout] | ^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_data(filepath: String) { [INFO] [stdout] | - help: try adding a return type: `-> String` [INFO] [stdout] ... [INFO] [stdout] 13 | return contents [INFO] [stdout] | ^^^^^^^^ expected `()`, found `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_data(filepath: String) { [INFO] [stdout] | - help: try adding a return type: `-> String` [INFO] [stdout] ... [INFO] [stdout] 13 | return contents [INFO] [stdout] | ^^^^^^^^ expected `()`, found `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2024` (bin "adventofcode2024") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2024` (bin "adventofcode2024" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "11dc928f3520954a01be480517bd268f85c6dd3a4365c9512e9410da18d171d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11dc928f3520954a01be480517bd268f85c6dd3a4365c9512e9410da18d171d6", kill_on_drop: false }` [INFO] [stdout] 11dc928f3520954a01be480517bd268f85c6dd3a4365c9512e9410da18d171d6