[INFO] cloning repository https://github.com/livinlefevreloca/aoc2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/livinlefevreloca/aoc2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flivinlefevreloca%2Faoc2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flivinlefevreloca%2Faoc2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5752c281d1016d7715f381e18ad9f3498ec34b1 [INFO] checking livinlefevreloca/aoc2023 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flivinlefevreloca%2Faoc2023" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/livinlefevreloca/aoc2023 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/livinlefevreloca/aoc2023 [INFO] finished tweaking git repo https://github.com/livinlefevreloca/aoc2023 [INFO] tweaked toml for git repo https://github.com/livinlefevreloca/aoc2023 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/livinlefevreloca/aoc2023 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: toolchain [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded colored v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38e723de1edb4306c57fcde8d4ce91e202339103a31ab7c76bed089d5130843f [INFO] running `Command { std: "docker" "start" "-a" "38e723de1edb4306c57fcde8d4ce91e202339103a31ab7c76bed089d5130843f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38e723de1edb4306c57fcde8d4ce91e202339103a31ab7c76bed089d5130843f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38e723de1edb4306c57fcde8d4ce91e202339103a31ab7c76bed089d5130843f", kill_on_drop: false }` [INFO] [stdout] 38e723de1edb4306c57fcde8d4ce91e202339103a31ab7c76bed089d5130843f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a7e48fb2f5ea84b10e6a8d94ecb696b828fdc183726c5ed6d9f5f72405c922e [INFO] running `Command { std: "docker" "start" "-a" "2a7e48fb2f5ea84b10e6a8d94ecb696b828fdc183726c5ed6d9f5f72405c922e", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: toolchain [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking aoc2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/days/day12.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/days/day12.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{VecDeque, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spawn` [INFO] [stdout] --> src/days/day12.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread::{spawn, sleep, self}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/days/day14.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/days/day15.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{VecDeque, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/days/day12.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/days/day12.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{VecDeque, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spawn` [INFO] [stdout] --> src/days/day12.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread::{spawn, sleep, self}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/days/day14.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/days/day15.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{VecDeque, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/days/day12.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/days/day12.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/days/day16.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 266 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 267 | let parsed = Day16::parse(path)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/days/day16.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 266 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 267 | let parsed = Day16::parse(path)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/days/day16.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | a => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/days/day16.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | for i in 0..total { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/days/day16.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | fn problem1(path: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/days/day16.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | a => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/days/day16.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | for i in 0..total { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/days/day16.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | fn problem1(path: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_all_combinations` is never used [INFO] [stdout] --> src/days/day12.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Day12 { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | fn get_all_combinations(row: &str, spec: &[i32]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/days/day16.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl Beam { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 101 | [INFO] [stdout] 102 | fn next(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dest_contains` and `get_src` are never used [INFO] [stdout] --> src/days/day5.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl RangeMap { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | fn dest_contains(&self, n: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_src(&self, n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_src` is never used [INFO] [stdout] --> src/days/day5.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 132 | impl MapList { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | fn get_src(&self, n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `p2_brute` is never used [INFO] [stdout] --> src/days/day5.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 191 | impl Day5 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | fn p2_brute(seeds: Vec, maps: Vec) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_all_combinations` is never used [INFO] [stdout] --> src/days/day12.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Day12 { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | fn get_all_combinations(row: &str, spec: &[i32]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/days/day16.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl Beam { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 101 | [INFO] [stdout] 102 | fn next(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dest_contains` and `get_src` are never used [INFO] [stdout] --> src/days/day5.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl RangeMap { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | fn dest_contains(&self, n: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_src(&self, n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_src` is never used [INFO] [stdout] --> src/days/day5.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 132 | impl MapList { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | fn get_src(&self, n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `p2_brute` is never used [INFO] [stdout] --> src/days/day5.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 191 | impl Day5 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | fn p2_brute(seeds: Vec, maps: Vec) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "2a7e48fb2f5ea84b10e6a8d94ecb696b828fdc183726c5ed6d9f5f72405c922e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a7e48fb2f5ea84b10e6a8d94ecb696b828fdc183726c5ed6d9f5f72405c922e", kill_on_drop: false }` [INFO] [stdout] 2a7e48fb2f5ea84b10e6a8d94ecb696b828fdc183726c5ed6d9f5f72405c922e [INFO] checking livinlefevreloca/aoc2023 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flivinlefevreloca%2Faoc2023" "/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/livinlefevreloca/aoc2023 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/livinlefevreloca/aoc2023 [INFO] finished tweaking git repo https://github.com/livinlefevreloca/aoc2023 [INFO] tweaked toml for git repo https://github.com/livinlefevreloca/aoc2023 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/livinlefevreloca/aoc2023 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: toolchain [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da461685d511dccdebe6ff17ea3a6f2bfe86b55b2acd98b3ef89c65eed9cc94f [INFO] running `Command { std: "docker" "start" "-a" "da461685d511dccdebe6ff17ea3a6f2bfe86b55b2acd98b3ef89c65eed9cc94f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da461685d511dccdebe6ff17ea3a6f2bfe86b55b2acd98b3ef89c65eed9cc94f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da461685d511dccdebe6ff17ea3a6f2bfe86b55b2acd98b3ef89c65eed9cc94f", kill_on_drop: false }` [INFO] [stdout] da461685d511dccdebe6ff17ea3a6f2bfe86b55b2acd98b3ef89c65eed9cc94f [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0c30111a265ee354b07439b6cc4bad44f91cfba32e5b65ad3ec504f388a005d [INFO] running `Command { std: "docker" "start" "-a" "a0c30111a265ee354b07439b6cc4bad44f91cfba32e5b65ad3ec504f388a005d", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: toolchain [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking aoc2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/days/day12.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/days/day12.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{VecDeque, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spawn` [INFO] [stdout] --> src/days/day12.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread::{spawn, sleep, self}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/days/day14.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/days/day15.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{VecDeque, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/days/day12.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/days/day12.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{VecDeque, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spawn` [INFO] [stdout] --> src/days/day12.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread::{spawn, sleep, self}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/days/day14.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/days/day15.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{VecDeque, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/days/day12.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/days/day12.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/days/day16.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 266 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 267 | let parsed = Day16::parse(path)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/days/day16.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 266 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 267 | let parsed = Day16::parse(path)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/days/day16.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | a => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/days/day16.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | a => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/days/day16.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | for i in 0..total { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/days/day16.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | for i in 0..total { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/days/day16.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | fn problem1(path: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/days/day16.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | fn problem1(path: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_all_combinations` is never used [INFO] [stdout] --> src/days/day12.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Day12 { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | fn get_all_combinations(row: &str, spec: &[i32]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/days/day16.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl Beam { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 101 | [INFO] [stdout] 102 | fn next(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dest_contains` and `get_src` are never used [INFO] [stdout] --> src/days/day5.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl RangeMap { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | fn dest_contains(&self, n: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_src(&self, n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_src` is never used [INFO] [stdout] --> src/days/day5.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 132 | impl MapList { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | fn get_src(&self, n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `p2_brute` is never used [INFO] [stdout] --> src/days/day5.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 191 | impl Day5 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | fn p2_brute(seeds: Vec, maps: Vec) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_all_combinations` is never used [INFO] [stdout] --> src/days/day12.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Day12 { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | fn get_all_combinations(row: &str, spec: &[i32]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/days/day16.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl Beam { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 101 | [INFO] [stdout] 102 | fn next(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dest_contains` and `get_src` are never used [INFO] [stdout] --> src/days/day5.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl RangeMap { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | fn dest_contains(&self, n: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_src(&self, n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_src` is never used [INFO] [stdout] --> src/days/day5.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 132 | impl MapList { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | fn get_src(&self, n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `p2_brute` is never used [INFO] [stdout] --> src/days/day5.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 191 | impl Day5 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | fn p2_brute(seeds: Vec, maps: Vec) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/days/day16.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 254 | let file = File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | Ok(BufReader::new(file).lines().map(|l| { [INFO] [stdout] | ____________^ [INFO] [stdout] 256 | | l.unwrap().chars().collect::>() [INFO] [stdout] 257 | | }).collect()) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/days/day16.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 254 | let file = File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | Ok(BufReader::new(file).lines().map(|l| { [INFO] [stdout] | ____________^ [INFO] [stdout] 256 | | l.unwrap().chars().collect::>() [INFO] [stdout] 257 | | }).collect()) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2023` (bin "aoc2023") due to 2 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc2023` (bin "aoc2023" test) due to 2 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a0c30111a265ee354b07439b6cc4bad44f91cfba32e5b65ad3ec504f388a005d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0c30111a265ee354b07439b6cc4bad44f91cfba32e5b65ad3ec504f388a005d", kill_on_drop: false }` [INFO] [stdout] a0c30111a265ee354b07439b6cc4bad44f91cfba32e5b65ad3ec504f388a005d