[INFO] cloning repository https://github.com/allengueco/aoc-rust-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/allengueco/aoc-rust-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallengueco%2Faoc-rust-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallengueco%2Faoc-rust-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f12c1a5f977ebfda72cc581144f7d511188a38dd [INFO] checking allengueco/aoc-rust-2024 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%2Fallengueco%2Faoc-rust-2024" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/allengueco/aoc-rust-2024 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] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/allengueco/aoc-rust-2024 [INFO] finished tweaking git repo https://github.com/allengueco/aoc-rust-2024 [INFO] tweaked toml for git repo https://github.com/allengueco/aoc-rust-2024 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/allengueco/aoc-rust-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" "+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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5e5749c5dfb3653f00829b43621743a2a752b2749d3c77c5f6c9d8db6044514a [INFO] running `Command { std: "docker" "start" "-a" "5e5749c5dfb3653f00829b43621743a2a752b2749d3c77c5f6c9d8db6044514a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e5749c5dfb3653f00829b43621743a2a752b2749d3c77c5f6c9d8db6044514a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e5749c5dfb3653f00829b43621743a2a752b2749d3c77c5f6c9d8db6044514a", kill_on_drop: false }` [INFO] [stdout] 5e5749c5dfb3653f00829b43621743a2a752b2749d3c77c5f6c9d8db6044514a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] be05dcff53c6a578b6aa11e77e29d84438e1c3555f9bfdbfa61d2635f79746eb [INFO] running `Command { std: "docker" "start" "-a" "be05dcff53c6a578b6aa11e77e29d84438e1c3555f9bfdbfa61d2635f79746eb", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking tinyjson v2.5.1 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/06.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/06.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[Vec]` cannot be indexed by `isize` [INFO] [stdout] --> src/bin/04.rs:147:57 [INFO] [stdout] | [INFO] [stdout] 147 | if WORD.as_bytes()[index] as char == puzzle[n.i][n.j] { [INFO] [stdout] | ^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[Vec]>` is not implemented for `isize` [INFO] [stdout] but it is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `isize` [INFO] [stdout] = note: required for `[Vec]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/01.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/01.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/01.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/01.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/06.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/06.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/04.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | frontier.push((n.i, n.j)); [INFO] [stdout] | ^^^ expected `usize`, found `isize` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `isize` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 148 | frontier.push((n.i.try_into().unwrap(), n.j)); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/04.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 148 | frontier.push((n.i, n.j)); [INFO] [stdout] | ^^^ expected `usize`, found `isize` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `isize` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 148 | frontier.push((n.i, n.j.try_into().unwrap())); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/05.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/04.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "04" test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the type `[Vec]` cannot be indexed by `isize` [INFO] [stdout] --> src/bin/04.rs:147:57 [INFO] [stdout] | [INFO] [stdout] 147 | if WORD.as_bytes()[index] as char == puzzle[n.i][n.j] { [INFO] [stdout] | ^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[Vec]>` is not implemented for `isize` [INFO] [stdout] but it is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `isize` [INFO] [stdout] = note: required for `[Vec]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/04.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | frontier.push((n.i, n.j)); [INFO] [stdout] | ^^^ expected `usize`, found `isize` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `isize` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 148 | frontier.push((n.i.try_into().unwrap(), n.j)); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/04.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 148 | frontier.push((n.i, n.j)); [INFO] [stdout] | ^^^ expected `usize`, found `isize` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `isize` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 148 | frontier.push((n.i, n.j.try_into().unwrap())); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/04.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "04") due to 3 previous errors; 1 warning emitted [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/05.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "be05dcff53c6a578b6aa11e77e29d84438e1c3555f9bfdbfa61d2635f79746eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be05dcff53c6a578b6aa11e77e29d84438e1c3555f9bfdbfa61d2635f79746eb", kill_on_drop: false }` [INFO] [stdout] be05dcff53c6a578b6aa11e77e29d84438e1c3555f9bfdbfa61d2635f79746eb