[INFO] cloning repository https://github.com/roscale/advent-of-code-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roscale/advent-of-code-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froscale%2Fadvent-of-code-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froscale%2Fadvent-of-code-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2b0fc6e4f21e40fb862b943d6326a4b33044210 [INFO] checking roscale/advent-of-code-2024 against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froscale%2Fadvent-of-code-2024" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/roscale/advent-of-code-2024 [INFO] finished tweaking git repo https://github.com/roscale/advent-of-code-2024 [INFO] tweaked toml for git repo https://github.com/roscale/advent-of-code-2024 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/roscale/advent-of-code-2024 on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/roscale/advent-of-code-2024 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "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 roscale/advent-of-code-2024 against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froscale%2Fadvent-of-code-2024" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/roscale/advent-of-code-2024 [INFO] finished tweaking git repo https://github.com/roscale/advent-of-code-2024 [INFO] tweaked toml for git repo https://github.com/roscale/advent-of-code-2024 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/roscale/advent-of-code-2024 on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/roscale/advent-of-code-2024 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "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 roscale/advent-of-code-2024 against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froscale%2Fadvent-of-code-2024" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/roscale/advent-of-code-2024 [INFO] finished tweaking git repo https://github.com/roscale/advent-of-code-2024 [INFO] tweaked toml for git repo https://github.com/roscale/advent-of-code-2024 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/roscale/advent-of-code-2024 on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/roscale/advent-of-code-2024 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "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 roscale/advent-of-code-2024 against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froscale%2Fadvent-of-code-2024" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/roscale/advent-of-code-2024 [INFO] finished tweaking git repo https://github.com/roscale/advent-of-code-2024 [INFO] tweaked toml for git repo https://github.com/roscale/advent-of-code-2024 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/roscale/advent-of-code-2024 on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/roscale/advent-of-code-2024 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 279e43ce0f81e98afcd2256ebd052a17b9039d7b802e5809e06bfb023a88e1e1 [INFO] running `Command { std: "docker" "start" "-a" "279e43ce0f81e98afcd2256ebd052a17b9039d7b802e5809e06bfb023a88e1e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "279e43ce0f81e98afcd2256ebd052a17b9039d7b802e5809e06bfb023a88e1e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "279e43ce0f81e98afcd2256ebd052a17b9039d7b802e5809e06bfb023a88e1e1", kill_on_drop: false }` [INFO] [stdout] 279e43ce0f81e98afcd2256ebd052a17b9039d7b802e5809e06bfb023a88e1e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76ab662be3f69278ba882f5dceb73264021d67d75f5ae031b481e7c91d97533c [INFO] running `Command { std: "docker" "start" "-a" "76ab662be3f69278ba882f5dceb73264021d67d75f5ae031b481e7c91d97533c", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking advent-of-code-2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_10/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | fn grid_iter(&self) -> GridIterator; [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | fn grid_iter(&self) -> GridIterator<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_10/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | fn grid_iter(&self) -> GridIterator { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn grid_iter(&self) -> GridIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_4/main.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | fn grid_iter(&self) -> GridIterator; [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn grid_iter(&self) -> GridIterator<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_10/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | fn grid_iter(&self) -> GridIterator; [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | fn grid_iter(&self) -> GridIterator<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_4/main.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn grid_iter(&self) -> GridIterator { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn grid_iter(&self) -> GridIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_10/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | fn grid_iter(&self) -> GridIterator { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn grid_iter(&self) -> GridIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/bin/day_20/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | end: (isize, isize), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_20/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut shortcuts: HashSet<((isize, isize), (isize, isize))> = shortcuts_already_taken.clone(); [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: function `browse_previouses` is never used [INFO] [stdout] --> src/bin/day_20/main.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn browse_previouses( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_20/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | fn grid_iter(&self) -> GridIterator; [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | fn grid_iter(&self) -> GridIterator<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_20/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | fn grid_iter(&self) -> GridIterator { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn grid_iter(&self) -> GridIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_8/main.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | fn grid_iter(&self) -> GridIterator; [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 6 | fn grid_iter(&self) -> GridIterator<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_8/main.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | fn grid_iter(&self) -> GridIterator { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn grid_iter(&self) -> GridIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_8/main.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | fn grid_iter(&self) -> GridIterator; [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 6 | fn grid_iter(&self) -> GridIterator<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_8/main.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | fn grid_iter(&self) -> GridIterator { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn grid_iter(&self) -> GridIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `grid_iter` is never used [INFO] [stdout] --> src/bin/day_18/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | trait Grid { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 4 | fn at(&self, pos: (isize, isize)) -> Option; [INFO] [stdout] 5 | fn grid_iter(&self) -> GridIterator; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridIterator` is never constructed [INFO] [stdout] --> src/bin/day_18/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct GridIterator<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_18/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | fn grid_iter(&self) -> GridIterator; [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | fn grid_iter(&self) -> GridIterator<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_18/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | fn grid_iter(&self) -> GridIterator { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn grid_iter(&self) -> GridIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day_21/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut p = end; [INFO] [stdout] | --- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 87 | p = previous[&p]; [INFO] [stdout] | ^^^^^^^^^^^^ expected `(isize, isize)`, found `Vec<(isize, isize)>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(isize, isize)` [INFO] [stdout] found struct `Vec<(isize, isize)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/bin/day_20/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | end: (isize, isize), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_20/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut shortcuts: HashSet<((isize, isize), (isize, isize))> = shortcuts_already_taken.clone(); [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: function `browse_previouses` is never used [INFO] [stdout] --> src/bin/day_20/main.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn browse_previouses( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day_21/main.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 50 | fn dijkstra(grid: &Vec>, start: (isize, isize), end: (isize, isize)) -> Vec> { [INFO] [stdout] | ------------------------ expected `Vec>` because of return type [INFO] [stdout] ... [INFO] [stdout] 85 | path.push(p); [INFO] [stdout] | ---- - this argument has type `(isize, isize)`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `path` to have type `Vec<(isize, isize)>` [INFO] [stdout] ... [INFO] [stdout] 91 | path [INFO] [stdout] | ^^^^ expected `Vec>`, found `Vec<(isize, isize)>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec>` [INFO] [stdout] found struct `Vec<(isize, isize)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_20/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | fn grid_iter(&self) -> GridIterator; [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | fn grid_iter(&self) -> GridIterator<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/bin/day_21/main.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | let path = dijkstra(&keypad, start_pos, end_pos, directional_keypad); [INFO] [stdout] | ^^^^^^^^ ------------------ unexpected argument #4 of type `bool` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/bin/day_21/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn dijkstra(grid: &Vec>, start: (isize, isize), end: (isize, isize)) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 101 - let path = dijkstra(&keypad, start_pos, end_pos, directional_keypad); [INFO] [stdout] 101 + let path = dijkstra(&keypad, start_pos, end_pos); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&Vec<(isize, isize)>` [INFO] [stdout] --> src/bin/day_21/main.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | (to.0 - from.0, to.1 - from.1) [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_20/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | fn grid_iter(&self) -> GridIterator { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn grid_iter(&self) -> GridIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&Vec<(isize, isize)>` [INFO] [stdout] --> src/bin/day_21/main.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | (to.0 - from.0, to.1 - from.1) [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `1` on type `&Vec<(isize, isize)>` [INFO] [stdout] --> src/bin/day_21/main.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | (to.0 - from.0, to.1 - from.1) [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `1` on type `&Vec<(isize, isize)>` [INFO] [stdout] --> src/bin/day_21/main.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 103 | (to.0 - from.0, to.1 - from.1) [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day_21") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_15/main.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | fn grid_iter(&self) -> GridIterator; [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3 | fn grid_iter(&self) -> GridIterator<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_15/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | fn grid_iter(&self) -> GridIterator { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn grid_iter(&self) -> GridIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `grid_iter` is never used [INFO] [stdout] --> src/bin/day_18/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | trait Grid { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 4 | fn at(&self, pos: (isize, isize)) -> Option; [INFO] [stdout] 5 | fn grid_iter(&self) -> GridIterator; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridIterator` is never constructed [INFO] [stdout] --> src/bin/day_18/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct GridIterator<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_18/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | fn grid_iter(&self) -> GridIterator; [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | fn grid_iter(&self) -> GridIterator<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_18/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | fn grid_iter(&self) -> GridIterator { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn grid_iter(&self) -> GridIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day_21/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut p = end; [INFO] [stdout] | --- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 87 | p = previous[&p]; [INFO] [stdout] | ^^^^^^^^^^^^ expected `(isize, isize)`, found `Vec<(isize, isize)>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(isize, isize)` [INFO] [stdout] found struct `Vec<(isize, isize)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day_21/main.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 50 | fn dijkstra(grid: &Vec>, start: (isize, isize), end: (isize, isize)) -> Vec> { [INFO] [stdout] | ------------------------ expected `Vec>` because of return type [INFO] [stdout] ... [INFO] [stdout] 85 | path.push(p); [INFO] [stdout] | ---- - this argument has type `(isize, isize)`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `path` to have type `Vec<(isize, isize)>` [INFO] [stdout] ... [INFO] [stdout] 91 | path [INFO] [stdout] | ^^^^ expected `Vec>`, found `Vec<(isize, isize)>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec>` [INFO] [stdout] found struct `Vec<(isize, isize)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/bin/day_21/main.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | let path = dijkstra(&keypad, start_pos, end_pos, directional_keypad); [INFO] [stdout] | ^^^^^^^^ ------------------ unexpected argument #4 of type `bool` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/bin/day_21/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn dijkstra(grid: &Vec>, start: (isize, isize), end: (isize, isize)) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 101 - let path = dijkstra(&keypad, start_pos, end_pos, directional_keypad); [INFO] [stdout] 101 + let path = dijkstra(&keypad, start_pos, end_pos); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&Vec<(isize, isize)>` [INFO] [stdout] --> src/bin/day_21/main.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | (to.0 - from.0, to.1 - from.1) [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&Vec<(isize, isize)>` [INFO] [stdout] --> src/bin/day_21/main.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | (to.0 - from.0, to.1 - from.1) [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `1` on type `&Vec<(isize, isize)>` [INFO] [stdout] --> src/bin/day_21/main.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | (to.0 - from.0, to.1 - from.1) [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `1` on type `&Vec<(isize, isize)>` [INFO] [stdout] --> src/bin/day_21/main.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 103 | (to.0 - from.0, to.1 - from.1) [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day_21" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "76ab662be3f69278ba882f5dceb73264021d67d75f5ae031b481e7c91d97533c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76ab662be3f69278ba882f5dceb73264021d67d75f5ae031b481e7c91d97533c", kill_on_drop: false }` [INFO] [stdout] 76ab662be3f69278ba882f5dceb73264021d67d75f5ae031b481e7c91d97533c