[INFO] cloning repository https://github.com/hwoongkang/adventofcode2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hwoongkang/adventofcode2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwoongkang%2Fadventofcode2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwoongkang%2Fadventofcode2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f56eeb73930202de2144b02bbf2199b7b8c32b5a [INFO] building hwoongkang/adventofcode2022 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%2Fhwoongkang%2Fadventofcode2022" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hwoongkang/adventofcode2022 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/hwoongkang/adventofcode2022 [INFO] finished tweaking git repo https://github.com/hwoongkang/adventofcode2022 [INFO] tweaked toml for git repo https://github.com/hwoongkang/adventofcode2022 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hwoongkang/adventofcode2022 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b47209458adbe2a587ed998def25ba7581f9d820f7c1a70a70d061f5dee59a7d [INFO] running `Command { std: "docker" "start" "-a" "b47209458adbe2a587ed998def25ba7581f9d820f7c1a70a70d061f5dee59a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b47209458adbe2a587ed998def25ba7581f9d820f7c1a70a70d061f5dee59a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b47209458adbe2a587ed998def25ba7581f9d820f7c1a70a70d061f5dee59a7d", kill_on_drop: false }` [INFO] [stdout] b47209458adbe2a587ed998def25ba7581f9d820f7c1a70a70d061f5dee59a7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 2d70f66ccdc7675e5367a3532ab4979e4ae8cfa117ed0c493e5a61f6b42ff845 [INFO] running `Command { std: "docker" "start" "-a" "2d70f66ccdc7675e5367a3532ab4979e4ae8cfa117ed0c493e5a61f6b42ff845", kill_on_drop: false }` [INFO] [stderr] Compiling adventofcode2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `day_2021_1::*` [INFO] [stdout] --> src/days.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use day_2021_1::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day_2021_25::*` [INFO] [stdout] --> src/days.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use day_2021_25::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day01::*` [INFO] [stdout] --> src/days.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use day01::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day02::*` [INFO] [stdout] --> src/days.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use day02::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day03::*` [INFO] [stdout] --> src/days.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use day03::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day04::*` [INFO] [stdout] --> src/days.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use day04::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day05::*` [INFO] [stdout] --> src/days.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use day05::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day06::*` [INFO] [stdout] --> src/days.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use day06::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day07::*` [INFO] [stdout] --> src/days.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use day07::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day08::*` [INFO] [stdout] --> src/days.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub use day08::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day09::*` [INFO] [stdout] --> src/days.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use day09::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day10::*` [INFO] [stdout] --> src/days.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub use day10::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day11::*` [INFO] [stdout] --> src/days.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub use day11::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day12::*` [INFO] [stdout] --> src/days.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub use day12::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day13::*` [INFO] [stdout] --> src/days.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub use day13::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day14::*` [INFO] [stdout] --> src/days.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub use day14::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day15::*` [INFO] [stdout] --> src/days.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use day15::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day16::*` [INFO] [stdout] --> src/days.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub use day16::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day17::*` [INFO] [stdout] --> src/days.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use day17::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day18::*` [INFO] [stdout] --> src/days.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub use day18::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day19::*` [INFO] [stdout] --> src/days.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub use day19::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day20::*` [INFO] [stdout] --> src/days.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub use day20::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day21::*` [INFO] [stdout] --> src/days.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub use day21::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day22::*` [INFO] [stdout] --> src/days.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub use day22::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day23::*` [INFO] [stdout] --> src/days.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub use day23::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `day24::*` [INFO] [stdout] --> src/days.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub use day24::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/days/day07.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 101 | let new_node = match cmd.0 { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `new_node` calls a custom destructor [INFO] [stdout] | `new_node` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | match &mut *self.head.upgrade().unwrap().borrow_mut() { [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] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | } [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: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/core/src/cell.rs:1804:1 [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/alloc/src/rc.rs:3426:1 [INFO] [stdout] note: `new_node` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/alloc/src/rc.rs:3426:1 [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] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/days/day07.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 121 | while let Some(node) = stack.pop() { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `node` calls a custom destructor [INFO] [stdout] | `node` will be dropped later as of Edition 2024 [INFO] [stdout] 122 | match &*node.borrow() { [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] ... [INFO] [stdout] 131 | } [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: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/core/src/cell.rs:1434:1 [INFO] [stdout] note: `node` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/alloc/src/rc.rs:3426:1 [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] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/days/day07.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 121 | while let Some(node) = stack.pop() { [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] | `node` calls a custom destructor [INFO] [stdout] | `node` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | } [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: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/alloc/src/rc.rs:3426:1 [INFO] [stdout] note: `node` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/alloc/src/rc.rs:3426:1 [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] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2022` (bin "adventofcode2022") due to 3 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2d70f66ccdc7675e5367a3532ab4979e4ae8cfa117ed0c493e5a61f6b42ff845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d70f66ccdc7675e5367a3532ab4979e4ae8cfa117ed0c493e5a61f6b42ff845", kill_on_drop: false }` [INFO] [stdout] 2d70f66ccdc7675e5367a3532ab4979e4ae8cfa117ed0c493e5a61f6b42ff845