[INFO] cloning repository https://github.com/art049/AoC23 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/art049/AoC23" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fart049%2FAoC23", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fart049%2FAoC23'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a4b9ffc655700b7bb816c382ae9640f74354ccd [INFO] checking art049/AoC23/9a4b9ffc655700b7bb816c382ae9640f74354ccd against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fart049%2FAoC23" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/art049/AoC23 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/art049/AoC23 [INFO] finished tweaking git repo https://github.com/art049/AoC23 [INFO] tweaked toml for git repo https://github.com/art049/AoC23 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/art049/AoC23 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44d468f2d9b05a61a7f7b8fa36c556f864168fb663b56dffd8999eeda6298fae [INFO] running `Command { std: "docker" "start" "-a" "44d468f2d9b05a61a7f7b8fa36c556f864168fb663b56dffd8999eeda6298fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44d468f2d9b05a61a7f7b8fa36c556f864168fb663b56dffd8999eeda6298fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44d468f2d9b05a61a7f7b8fa36c556f864168fb663b56dffd8999eeda6298fae", kill_on_drop: false }` [INFO] [stdout] 44d468f2d9b05a61a7f7b8fa36c556f864168fb663b56dffd8999eeda6298fae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f20da635c5c41fb070303982302a4a45e15f60ba3f7387c659605d4b700eec16 [INFO] running `Command { std: "docker" "start" "-a" "f20da635c5c41fb070303982302a4a45e15f60ba3f7387c659605d4b700eec16", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling portable-atomic v1.5.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling structmeta-derive v0.2.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling int-enum-impl v0.5.0 [INFO] [stderr] Checking int-enum v0.5.0 [INFO] [stderr] Compiling structmeta v0.2.0 [INFO] [stderr] Compiling parse-display-derive v0.8.2 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking parse-display v0.8.2 [INFO] [stderr] Checking aoc23 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day1.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut lines: Vec<&str> = input.lines().collect(); [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: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut current_nodes = nodes.values().filter(|n| n.id[2] == 'A').collect_vec(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day1.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day10.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day2.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day3.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/day4.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Card { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 6 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day4.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day5.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day6.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day7.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day8.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day9.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn main() { [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/day2.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | let games = parse_games(lines); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | / games [INFO] [stdout] 65 | | .into_iter() [INFO] [stdout] 66 | | .filter(|game| { [INFO] [stdout] 67 | | game.sets.iter().all(|set| { [INFO] [stdout] ... | [INFO] [stdout] 72 | | }) [INFO] [stdout] 73 | | }) [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/day1.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut lines: Vec<&str> = input.lines().collect(); [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] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc23` (lib) due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day8.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut current_nodes = nodes.values().filter(|n| n.id[2] == 'A').collect_vec(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day1.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day10.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day2.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day3.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/day4.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Card { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 6 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day4.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day5.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day6.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day7.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day8.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/day9.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn main() { [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/day2.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | let games = parse_games(lines); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | / games [INFO] [stdout] 65 | | .into_iter() [INFO] [stdout] 66 | | .filter(|game| { [INFO] [stdout] 67 | | game.sets.iter().all(|set| { [INFO] [stdout] ... | [INFO] [stdout] 72 | | }) [INFO] [stdout] 73 | | }) [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; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc23` (lib test) due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f20da635c5c41fb070303982302a4a45e15f60ba3f7387c659605d4b700eec16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f20da635c5c41fb070303982302a4a45e15f60ba3f7387c659605d4b700eec16", kill_on_drop: false }` [INFO] [stdout] f20da635c5c41fb070303982302a4a45e15f60ba3f7387c659605d4b700eec16