[INFO] cloning repository https://github.com/martinth/advent-of-code-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/martinth/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinth%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinth%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1309518880f2c7dcdd8c96a5c844eb6b9e6ce2f7 [INFO] checking martinth/advent-of-code-2023 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinth%2Fadvent-of-code-2023" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/martinth/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/martinth/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/martinth/advent-of-code-2023 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/martinth/advent-of-code-2023 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/martinth/advent-of-code-2023 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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 [INFO] checking martinth/advent-of-code-2023 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinth%2Fadvent-of-code-2023" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/martinth/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/martinth/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/martinth/advent-of-code-2023 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/martinth/advent-of-code-2023 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/martinth/advent-of-code-2023 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.8.26 [INFO] [stderr] Downloaded is_debug v1.0.1 [INFO] [stderr] Downloaded log-mdc v0.1.0 [INFO] [stderr] Downloaded thread-id v3.3.0 [INFO] [stderr] Downloaded arc-swap v0.4.8 [INFO] [stderr] Downloaded tuple_utils v0.4.0 [INFO] [stderr] Downloaded convert_case v0.5.0 [INFO] [stderr] Downloaded serde-value v0.6.0 [INFO] [stderr] Downloaded enum-ordinalize v4.2.1 [INFO] [stderr] Downloaded log4rs v0.13.0 [INFO] [stderr] Downloaded console v0.15.7 [INFO] [stderr] Downloaded portable-atomic v1.5.1 [INFO] [stderr] Downloaded itertools v0.12.0 [INFO] [stderr] Downloaded indicatif v0.17.7 [INFO] [stderr] Downloaded aoc-parse v0.2.17 [INFO] [stderr] Downloaded enum-ordinalize-derive v4.2.8 [INFO] [stderr] Downloaded simple-log v1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d03708d6df74c7fdf21015e0715d77fe7ca5b5a3afd821c1e2a1942f3dae319f [INFO] running `Command { std: "docker" "start" "-a" "d03708d6df74c7fdf21015e0715d77fe7ca5b5a3afd821c1e2a1942f3dae319f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d03708d6df74c7fdf21015e0715d77fe7ca5b5a3afd821c1e2a1942f3dae319f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d03708d6df74c7fdf21015e0715d77fe7ca5b5a3afd821c1e2a1942f3dae319f", kill_on_drop: false }` [INFO] [stdout] d03708d6df74c7fdf21015e0715d77fe7ca5b5a3afd821c1e2a1942f3dae319f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ce642ce705c646cad2122f15d5d59814d19b1da0c54d6c5b9115cba48fa89d0 [INFO] running `Command { std: "docker" "start" "-a" "2ce642ce705c646cad2122f15d5d59814d19b1da0c54d6c5b9115cba48fa89d0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling portable-atomic v1.5.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking is_debug v1.0.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking tuple_utils v0.4.0 [INFO] [stderr] Checking convert_case v0.5.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling enum-ordinalize-derive v4.2.8 [INFO] [stderr] Checking enum-ordinalize v4.2.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking aoc-parse v0.2.17 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking serde_json v1.0.108 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking log4rs v0.13.0 [INFO] [stderr] Checking simple-log v1.6.0 [INFO] [stderr] Checking advent-of-code-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `name` and `map_cache` are never read [INFO] [stdout] --> src/day_05/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Mapping { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 47 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | pub ranges: Vec, [INFO] [stdout] 49 | pub map_cache: HashMap [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mapping` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `win_possible_interval` is never used [INFO] [stdout] --> src/day_06/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn win_possible_interval(min_distance: &u64, race_time: &u64) -> RangeInclusive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/day_03/main.rs:166:79 [INFO] [stdout] | [INFO] [stdout] 166 | Number::PartNumber("1".to_string()).adjacent(Point {x: 3, y: 3 }).len(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn Iterator: ExactSizeIterator` [INFO] [stdout] which is required by `Box>: ExactSizeIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/day_03/main.rs:170:81 [INFO] [stdout] | [INFO] [stdout] 170 | Number::PartNumber("123".to_string()).adjacent(Point {x: 3, y: 3 }).len(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn Iterator: ExactSizeIterator` [INFO] [stdout] which is required by `Box>: ExactSizeIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/day_03/main.rs:174:79 [INFO] [stdout] | [INFO] [stdout] 174 | Number::PartNumber("1".to_string()).adjacent(Point {x: 0, y: 0 }).len(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn Iterator: ExactSizeIterator` [INFO] [stdout] which is required by `Box>: ExactSizeIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/day_03/main.rs:178:81 [INFO] [stdout] | [INFO] [stdout] 178 | Number::PartNumber("467".to_string()).adjacent(Point {x: 0, y: 0 }).len(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn Iterator: ExactSizeIterator` [INFO] [stdout] which is required by `Box>: ExactSizeIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/day_03/main.rs:183:57 [INFO] [stdout] | [INFO] [stdout] 183 | Number::Emtpy.adjacent(Point {x: 3, y: 3 }).len(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn Iterator: ExactSizeIterator` [INFO] [stdout] which is required by `Box>: ExactSizeIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/day_03/main.rs:187:57 [INFO] [stdout] | [INFO] [stdout] 187 | Number::Emtpy.adjacent(Point {x: 0, y: 0 }).len(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn Iterator: ExactSizeIterator` [INFO] [stdout] which is required by `Box>: ExactSizeIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/day_05/main.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl Mapping { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 105 | pub fn map(self: &mut Self, input: u64) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `map_cache` are never read [INFO] [stdout] --> src/day_05/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Mapping { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 47 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | pub ranges: Vec, [INFO] [stdout] 49 | pub map_cache: HashMap [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mapping` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2023` (bin "day_03" test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `parse_hand` is never used [INFO] [stdout] --> src/day_07/main.rs:219:19 [INFO] [stdout] | [INFO] [stdout] 219 | pub(crate) fn parse_hand(hand: &str, with_joker: bool) -> Hand { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2ce642ce705c646cad2122f15d5d59814d19b1da0c54d6c5b9115cba48fa89d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ce642ce705c646cad2122f15d5d59814d19b1da0c54d6c5b9115cba48fa89d0", kill_on_drop: false }` [INFO] [stdout] 2ce642ce705c646cad2122f15d5d59814d19b1da0c54d6c5b9115cba48fa89d0