[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#6db1a6a7ebb2ad243051f3ff949f987dd70cde2b+rustflags=-Dreturn-local-variable-ptr for pr-134218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinth%2Fadvent-of-code-2023" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martinth/advent-of-code-2023 on toolchain 6db1a6a7ebb2ad243051f3ff949f987dd70cde2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking martinth/advent-of-code-2023 against try#6db1a6a7ebb2ad243051f3ff949f987dd70cde2b+rustflags=-Dreturn-local-variable-ptr for pr-134218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinth%2Fadvent-of-code-2023" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martinth/advent-of-code-2023 on toolchain 6db1a6a7ebb2ad243051f3ff949f987dd70cde2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-ordinalize v4.2.1 [INFO] [stderr] Downloaded is_debug v1.0.1 [INFO] [stderr] Downloaded simple-log v1.6.0 [INFO] [stderr] Downloaded aoc-parse v0.2.17 [INFO] [stderr] Downloaded enum-ordinalize-derive v4.2.8 [INFO] [stderr] Downloaded log4rs v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e85ff60b50c162621d0a593507d4a590641bfd548a871114072245c2b0ae61d [INFO] running `Command { std: "docker" "start" "-a" "2e85ff60b50c162621d0a593507d4a590641bfd548a871114072245c2b0ae61d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e85ff60b50c162621d0a593507d4a590641bfd548a871114072245c2b0ae61d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e85ff60b50c162621d0a593507d4a590641bfd548a871114072245c2b0ae61d", kill_on_drop: false }` [INFO] [stdout] 2e85ff60b50c162621d0a593507d4a590641bfd548a871114072245c2b0ae61d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dreturn-local-variable-ptr" "-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" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2dc95bc24d2582bcf2567e0776bc0c5d1ca3970c15387999b7a81fd8cd398a2 [INFO] running `Command { std: "docker" "start" "-a" "f2dc95bc24d2582bcf2567e0776bc0c5d1ca3970c15387999b7a81fd8cd398a2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling portable-atomic v1.5.1 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Checking unicode-width v0.1.11 [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 once_cell v1.18.0 [INFO] [stderr] Checking tuple_utils v0.4.0 [INFO] [stderr] Checking convert_case v0.5.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking indicatif v0.17.7 [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 log v0.4.20 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking serde-value v0.6.0 [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] 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] [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: 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f2dc95bc24d2582bcf2567e0776bc0c5d1ca3970c15387999b7a81fd8cd398a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2dc95bc24d2582bcf2567e0776bc0c5d1ca3970c15387999b7a81fd8cd398a2", kill_on_drop: false }` [INFO] [stdout] f2dc95bc24d2582bcf2567e0776bc0c5d1ca3970c15387999b7a81fd8cd398a2