[INFO] cloning repository https://github.com/jchristy3/RustAdventOfCode2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jchristy3/RustAdventOfCode2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchristy3%2FRustAdventOfCode2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchristy3%2FRustAdventOfCode2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fb03a7b4da431799cd3a18d5d69b5e6134317c3 [INFO] checking jchristy3/RustAdventOfCode2023 against master#e23ae72ac7a393961886ea62df065ebb6def7d51 for pr-126571 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchristy3%2FRustAdventOfCode2023" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jchristy3/RustAdventOfCode2023 on toolchain e23ae72ac7a393961886ea62df065ebb6def7d51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jchristy3/RustAdventOfCode2023 [INFO] finished tweaking git repo https://github.com/jchristy3/RustAdventOfCode2023 [INFO] tweaked toml for git repo https://github.com/jchristy3/RustAdventOfCode2023 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jchristy3/RustAdventOfCode2023 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" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking jchristy3/RustAdventOfCode2023 against try#397f8958d101b259f6baaf92d107d770c95c3ce0 for pr-126571 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchristy3%2FRustAdventOfCode2023" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jchristy3/RustAdventOfCode2023 on toolchain 397f8958d101b259f6baaf92d107d770c95c3ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jchristy3/RustAdventOfCode2023 [INFO] finished tweaking git repo https://github.com/jchristy3/RustAdventOfCode2023 [INFO] tweaked toml for git repo https://github.com/jchristy3/RustAdventOfCode2023 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jchristy3/RustAdventOfCode2023 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" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5dbe091641bfa02f288517d9bb956f93697644d24c04fb3d1c274dd219071cf [INFO] running `Command { std: "docker" "start" "-a" "c5dbe091641bfa02f288517d9bb956f93697644d24c04fb3d1c274dd219071cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5dbe091641bfa02f288517d9bb956f93697644d24c04fb3d1c274dd219071cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5dbe091641bfa02f288517d9bb956f93697644d24c04fb3d1c274dd219071cf", kill_on_drop: false }` [INFO] [stdout] c5dbe091641bfa02f288517d9bb956f93697644d24c04fb3d1c274dd219071cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+397f8958d101b259f6baaf92d107d770c95c3ce0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f16a0a6d716f193adf706e58e35621dc9892a425d8da27ea6d07860e842d61c3 [INFO] running `Command { std: "docker" "start" "-a" "f16a0a6d716f193adf706e58e35621dc9892a425d8da27ea6d07860e842d61c3", kill_on_drop: false }` [INFO] [stderr] Checking AdventOfCode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `calibration_string` is never read [INFO] [stdout] --> src/main.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let mut calibration_string = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part_num` [INFO] [stdout] --> src/main.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_possible_game_sum(input: &str, part_num: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_part_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `calibration_string` is never read [INFO] [stdout] --> src/main.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let mut calibration_string = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part_num` [INFO] [stdout] --> src/main.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_possible_game_sum(input: &str, part_num: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_part_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `expected_sum` [INFO] [stdout] --> src/main.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 58 | let mut expected_sum: HashMap<&str, &i32> = HashMap::new(); [INFO] [stdout] | ---------------- move occurs because `expected_sum` has type `HashMap<&str, &i32>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 64 | for line in input.lines() { [INFO] [stdout] | ------------------------- inside of this loop [INFO] [stdout] ... [INFO] [stdout] 86 | for (key, value) in expected_sum { [INFO] [stdout] | ^^^^^^^^^^^^ `expected_sum` moved due to this implicit call to `.into_iter()`, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `expected_sum` [INFO] [stdout] --> /rustc/397f8958d101b259f6baaf92d107d770c95c3ce0/library/core/src/iter/traits/collect.rs:344:18 [INFO] [stdout] help: consider iterating over a slice of the `HashMap<&str, &i32>`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 86 | for (key, value) in &expected_sum { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `expected_sum` [INFO] [stdout] --> src/main.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 58 | let mut expected_sum: HashMap<&str, &i32> = HashMap::new(); [INFO] [stdout] | ---------------- move occurs because `expected_sum` has type `HashMap<&str, &i32>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 64 | for line in input.lines() { [INFO] [stdout] | ------------------------- inside of this loop [INFO] [stdout] ... [INFO] [stdout] 86 | for (key, value) in expected_sum { [INFO] [stdout] | ^^^^^^^^^^^^ `expected_sum` moved due to this implicit call to `.into_iter()`, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `expected_sum` [INFO] [stdout] --> /rustc/397f8958d101b259f6baaf92d107d770c95c3ce0/library/core/src/iter/traits/collect.rs:344:18 [INFO] [stdout] help: consider iterating over a slice of the `HashMap<&str, &i32>`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 86 | for (key, value) in &expected_sum { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `AdventOfCode` (bin "AdventOfCode") due to 2 previous errors; 2 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `AdventOfCode` (bin "AdventOfCode" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f16a0a6d716f193adf706e58e35621dc9892a425d8da27ea6d07860e842d61c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f16a0a6d716f193adf706e58e35621dc9892a425d8da27ea6d07860e842d61c3", kill_on_drop: false }` [INFO] [stdout] f16a0a6d716f193adf706e58e35621dc9892a425d8da27ea6d07860e842d61c3