[INFO] cloning repository https://github.com/griffrawk/aoc2023_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/griffrawk/aoc2023_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgriffrawk%2Faoc2023_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgriffrawk%2Faoc2023_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27315d91b1a89ec9fd34000cb7018bd94c85c306 [INFO] checking griffrawk/aoc2023_rust against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgriffrawk%2Faoc2023_rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/griffrawk/aoc2023_rust on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/griffrawk/aoc2023_rust [INFO] finished tweaking git repo https://github.com/griffrawk/aoc2023_rust [INFO] tweaked toml for git repo https://github.com/griffrawk/aoc2023_rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/griffrawk/aoc2023_rust 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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 [INFO] checking griffrawk/aoc2023_rust against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgriffrawk%2Faoc2023_rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/griffrawk/aoc2023_rust on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/griffrawk/aoc2023_rust [INFO] finished tweaking git repo https://github.com/griffrawk/aoc2023_rust [INFO] tweaked toml for git repo https://github.com/griffrawk/aoc2023_rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/griffrawk/aoc2023_rust 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bc0a8c0698f0f504bb96ae5a3289b686c0c39ae839c8e940775cc6ae14f6d0d [INFO] running `Command { std: "docker" "start" "-a" "1bc0a8c0698f0f504bb96ae5a3289b686c0c39ae839c8e940775cc6ae14f6d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bc0a8c0698f0f504bb96ae5a3289b686c0c39ae839c8e940775cc6ae14f6d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bc0a8c0698f0f504bb96ae5a3289b686c0c39ae839c8e940775cc6ae14f6d0d", kill_on_drop: false }` [INFO] [stdout] 1bc0a8c0698f0f504bb96ae5a3289b686c0c39ae839c8e940775cc6ae14f6d0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2782a5673e060ed33c1c433e492327d189e8d6de34a275cb2c8de50ec604980 [INFO] running `Command { std: "docker" "start" "-a" "a2782a5673e060ed33c1c433e492327d189e8d6de34a275cb2c8de50ec604980", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking glam v0.29.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking aoc2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/day_02/day02_test.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/day_02/day02_nom.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(8, part_one(include_str!("day02_test.txt"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/day_02/day02_test.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/day_02/day02_nom.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | assert_eq!(2286, part_two(include_str!("day02_test.txt"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/day_02/day02_data.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/day_02/day02_nom.rs:159:35 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(2105, part_one(include_str!("day02_data.txt"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/day_02/day02_data.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/day_02/day02_nom.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(72422, part_two(include_str!("day02_data.txt"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/day_03/day03_test.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/day_03/day03.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | let result = part_one(include_str!("day03_test.txt")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/day_03/day03_data.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/day_03/day03.rs:125:31 [INFO] [stdout] | [INFO] [stdout] 125 | let result = part_one(include_str!("day03_data.txt")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/day_03/day03_test.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/day_03/day03.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | let result = part_two(include_str!("day03_test.txt")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/day_03/day03_data.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/day_03/day03.rs:137:31 [INFO] [stdout] | [INFO] [stdout] 137 | let result = part_two(include_str!("day03_data.txt")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputIter` [INFO] [stdout] --> src/day_02/day02_nom.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | IResult, InputIter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputIter` [INFO] [stdout] --> src/day_02/day02_nom.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | IResult, InputIter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Span` is never used [INFO] [stdout] --> src/day_02/day02_nom.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | type Span<'a> = LocatedSpan<&'a str>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cube` is never constructed [INFO] [stdout] --> src/day_02/day02_nom.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct Cube<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/day_02/day02_nom.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Game<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `valid_for_cube_set` and `minimum_cube_set` are never used [INFO] [stdout] --> src/day_02/day02_nom.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> Game<'a> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 45 | // check this game's cubes amounts are valid against the rules in map, return Some(id) if true [INFO] [stdout] 46 | fn valid_for_cube_set(&self, map: &BTreeMap<&str, u32>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn minimum_cube_set(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cube` is never used [INFO] [stdout] --> src/day_02/day02_nom.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn cube(input: Span) -> IResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round` is never used [INFO] [stdout] --> src/day_02/day02_nom.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn round(input: Span) -> IResult> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `game` is never used [INFO] [stdout] --> src/day_02/day02_nom.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn game(input: Span) -> IResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_games` is never used [INFO] [stdout] --> src/day_02/day02_nom.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn parse_games(input: Span) -> IResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day_02/day02_nom.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn part_one(data: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day_02/day02_nom.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn part_two(data: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Span` is never used [INFO] [stdout] --> src/day_03/day03.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | type Span<'a> = LocatedSpan<&'a str>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SpanIVec2` is never used [INFO] [stdout] --> src/day_03/day03.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type SpanIVec2<'a> = LocatedSpan<&'a str, IVec2>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day_03/day03.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn part_one(data: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day_03/day03.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn part_two(data: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/day_03/day03.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | enum Value<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_xy` is never used [INFO] [stdout] --> src/day_03/day03.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn with_xy(span: Span) -> SpanIVec2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/day_03/day03.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn parse(input: Span) -> IResult> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2023` (lib test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a2782a5673e060ed33c1c433e492327d189e8d6de34a275cb2c8de50ec604980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2782a5673e060ed33c1c433e492327d189e8d6de34a275cb2c8de50ec604980", kill_on_drop: false }` [INFO] [stdout] a2782a5673e060ed33c1c433e492327d189e8d6de34a275cb2c8de50ec604980