[INFO] cloning repository https://github.com/JackMatusiewicz/AoC2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JackMatusiewicz/AoC2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackMatusiewicz%2FAoC2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackMatusiewicz%2FAoC2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 719151b95f1258f41dfa00028b476793465ae428 [INFO] checking JackMatusiewicz/AoC2022 against master#368e2fd458a22d0cc133d0c254f2612ee999744f for pr-128351 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackMatusiewicz%2FAoC2022" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JackMatusiewicz/AoC2022 on toolchain 368e2fd458a22d0cc133d0c254f2612ee999744f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JackMatusiewicz/AoC2022 [INFO] finished tweaking git repo https://github.com/JackMatusiewicz/AoC2022 [INFO] tweaked toml for git repo https://github.com/JackMatusiewicz/AoC2022 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JackMatusiewicz/AoC2022 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" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "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 [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 JackMatusiewicz/AoC2022 against try#09146510cdb33d15474a35fde290187a88b1cf35 for pr-128351 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackMatusiewicz%2FAoC2022" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JackMatusiewicz/AoC2022 on toolchain 09146510cdb33d15474a35fde290187a88b1cf35 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09146510cdb33d15474a35fde290187a88b1cf35" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JackMatusiewicz/AoC2022 [INFO] finished tweaking git repo https://github.com/JackMatusiewicz/AoC2022 [INFO] tweaked toml for git repo https://github.com/JackMatusiewicz/AoC2022 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JackMatusiewicz/AoC2022 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" "+09146510cdb33d15474a35fde290187a88b1cf35" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+09146510cdb33d15474a35fde290187a88b1cf35" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efcd819ea5da3334765896957e6f1d40892de6febe6041f87dbc5b5bab7c32ff [INFO] running `Command { std: "docker" "start" "-a" "efcd819ea5da3334765896957e6f1d40892de6febe6041f87dbc5b5bab7c32ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efcd819ea5da3334765896957e6f1d40892de6febe6041f87dbc5b5bab7c32ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efcd819ea5da3334765896957e6f1d40892de6febe6041f87dbc5b5bab7c32ff", kill_on_drop: false }` [INFO] [stdout] efcd819ea5da3334765896957e6f1d40892de6febe6041f87dbc5b5bab7c32ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+09146510cdb33d15474a35fde290187a88b1cf35" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 923b1351ab79f894c3116c90af770c1b4508f9095ed083bb6b17ed502aa886ce [INFO] running `Command { std: "docker" "start" "-a" "923b1351ab79f894c3116c90af770c1b4508f9095ed083bb6b17ed502aa886ce", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking advent22 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::core::advent_error::AdventError` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::core::advent_error::AdventError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::advent_error::AdventError` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::core::advent_error::AdventError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/day_eleven/solution.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn calculate_part_one(data: Vec) -> i64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/day_eleven/solution.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn calculate_part_two(data: Vec) -> i64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/day_eleven/solution.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn calculate_part_one(data: Vec) -> i64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/day_eleven/solution.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn calculate_part_two(data: Vec) -> i64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/day_nine/solution.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | for pos in path.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/day_nine/solution.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | for pos in path.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_one/solution.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut elves = convert_lines_to_elves(lines)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_one/solution.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut elves = convert_lines_to_elves(lines)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `start_number_index` is never read [INFO] [stdout] --> src/day_thirteen/list_element.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | start_number_index = -1; [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: `lines` [INFO] [stdout] --> src/main.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(lines) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `start_number_index` is never read [INFO] [stdout] --> src/day_thirteen/list_element.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | start_number_index = -1; [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: function `make_example_troop` is never used [INFO] [stdout] --> src/day_eleven/solution.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn make_example_troop() -> Troop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_path` is never used [INFO] [stdout] --> src/day_nine/solution.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn print_path(path: &Vec) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_lines_to_elves` is never used [INFO] [stdout] --> src/day_one/solution.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn convert_lines_to_elves(lines: Vec) -> Result, AdventError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_largest_stash` is never used [INFO] [stdout] --> src/day_one/solution.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn find_largest_stash(elves: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_part_one` is never used [INFO] [stdout] --> src/day_one/solution.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn calculate_part_one(path: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_largest_three` is never used [INFO] [stdout] --> src/day_one/solution.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn find_largest_three(elves: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_part_two` is never used [INFO] [stdout] --> src/day_one/solution.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn calculate_part_two(path: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/main.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(lines) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_example_troop` is never used [INFO] [stdout] --> src/day_eleven/solution.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn make_example_troop() -> Troop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_path` is never used [INFO] [stdout] --> src/day_nine/solution.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn print_path(path: &Vec) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_lines_to_elves` is never used [INFO] [stdout] --> src/day_one/solution.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn convert_lines_to_elves(lines: Vec) -> Result, AdventError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_largest_stash` is never used [INFO] [stdout] --> src/day_one/solution.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn find_largest_stash(elves: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_part_one` is never used [INFO] [stdout] --> src/day_one/solution.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn calculate_part_one(path: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_largest_three` is never used [INFO] [stdout] --> src/day_one/solution.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn find_largest_three(elves: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_part_two` is never used [INFO] [stdout] --> src/day_one/solution.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn calculate_part_two(path: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.75s [INFO] running `Command { std: "docker" "inspect" "923b1351ab79f894c3116c90af770c1b4508f9095ed083bb6b17ed502aa886ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "923b1351ab79f894c3116c90af770c1b4508f9095ed083bb6b17ed502aa886ce", kill_on_drop: false }` [INFO] [stdout] 923b1351ab79f894c3116c90af770c1b4508f9095ed083bb6b17ed502aa886ce