[INFO] cloning repository https://github.com/arduano/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arduano/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farduano%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farduano%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fa49fad9fa6a9b2e8599f3c24fba55c9bd93e4d [INFO] building arduano/advent-of-code against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farduano%2Fadvent-of-code" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arduano/advent-of-code on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arduano/advent-of-code [INFO] finished tweaking git repo https://github.com/arduano/advent-of-code [INFO] tweaked toml for git repo https://github.com/arduano/advent-of-code written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/arduano/advent-of-code 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d7344ed495a8eb931f2e14bd26bca4dc69bb85fb29f2bcb221ce3008d61fa9e [INFO] running `Command { std: "docker" "start" "-a" "2d7344ed495a8eb931f2e14bd26bca4dc69bb85fb29f2bcb221ce3008d61fa9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d7344ed495a8eb931f2e14bd26bca4dc69bb85fb29f2bcb221ce3008d61fa9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d7344ed495a8eb931f2e14bd26bca4dc69bb85fb29f2bcb221ce3008d61fa9e", kill_on_drop: false }` [INFO] [stdout] 2d7344ed495a8eb931f2e14bd26bca4dc69bb85fb29f2bcb221ce3008d61fa9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b17e7e76539a63d17b1bc7a58a32c3732a05acb4c4dc936131b3ce69d3d699ba [INFO] running `Command { std: "docker" "start" "-a" "b17e7e76539a63d17b1bc7a58a32c3732a05acb4c4dc936131b3ce69d3d699ba", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stderr] Compiling day23-2023 v0.1.0 (/opt/rustwide/workdir/2023/day23) [INFO] [stderr] Compiling day11-2017 v0.1.0 (/opt/rustwide/workdir/2017/day11) [INFO] [stderr] Compiling day3-2023 v0.1.0 (/opt/rustwide/workdir/2023/day3) [INFO] [stderr] Compiling day25-2023 v0.1.0 (/opt/rustwide/workdir/2023/day25) [INFO] [stderr] Compiling day10-2017 v0.1.0 (/opt/rustwide/workdir/2017/day10) [INFO] [stderr] Compiling day12-2017 v0.1.0 (/opt/rustwide/workdir/2017/day12) [INFO] [stderr] Compiling day19-2023 v0.1.0 (/opt/rustwide/workdir/2023/day19) [INFO] [stderr] Compiling day21-2023 v0.1.0 (/opt/rustwide/workdir/2023/day21) [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/2017/day11/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> 2017/day11/src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &str = day_input!(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `day_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/2023/day3/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> 2023/day3/src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &str = day_input!(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `day_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/2017/day12/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> 2017/day12/src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &str = day_input!(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `day_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/2017/day10/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> 2017/day10/src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &str = day_input!(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `day_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/2023/day23/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> 2023/day23/src/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | const INPUT: &str = day_input!(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `day_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/2023/day25/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> 2023/day25/src/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | const INPUT: &str = day_input!(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `day_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/2023/day19/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> 2023/day19/src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | const INPUT: &str = day_input!(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `day_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Binary` [INFO] [stdout] --> 2023/day25/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | fmt::Binary, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day12-2017` (bin "day12-2017") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `day11-2017` (bin "day11-2017") due to 1 previous error [INFO] [stderr] error: could not compile `day10-2017` (bin "day10-2017") due to 1 previous error [INFO] [stdout] error: couldn't read `/opt/rustwide/workdir/2023/day21/input.txt`: No such file or directory (os error 2) [INFO] [stdout] --> 2023/day21/src/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | const INPUT: &str = day_input!(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `day_input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day3-2023` (bin "day3-2023") due to 1 previous error [INFO] [stderr] error: could not compile `day23-2023` (bin "day23-2023") due to 1 previous error [INFO] [stdout] warning: unused variable: `astar` [INFO] [stdout] --> 2023/day21/src/main.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let astar = if astar == u32::MAX { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_astar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day19-2023` (bin "day19-2023") due to 1 previous error [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> 2023/day25/src/main.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 179 | while let Some((node_id, val)) = queue.pop_back() { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `val` calls a custom destructor [INFO] [stdout] | `val` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | let next = f(node_id, &node.data, val.clone()); [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `next` calls a custom destructor [INFO] [stdout] | `next` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day21-2023` (bin "day21-2023") due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `day25-2023` (bin "day25-2023") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b17e7e76539a63d17b1bc7a58a32c3732a05acb4c4dc936131b3ce69d3d699ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b17e7e76539a63d17b1bc7a58a32c3732a05acb4c4dc936131b3ce69d3d699ba", kill_on_drop: false }` [INFO] [stdout] b17e7e76539a63d17b1bc7a58a32c3732a05acb4c4dc936131b3ce69d3d699ba