[INFO] cloning repository https://github.com/CptBread/aoc-21 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CptBread/aoc-21" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCptBread%2Faoc-21", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCptBread%2Faoc-21'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23b1d8b5eee855e3a46c2e5e6cd4f995b85f0b6f [INFO] checking CptBread/aoc-21/23b1d8b5eee855e3a46c2e5e6cd4f995b85f0b6f 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%2FCptBread%2Faoc-21" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CptBread/aoc-21 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] started tweaking git repo https://github.com/CptBread/aoc-21 [INFO] finished tweaking git repo https://github.com/CptBread/aoc-21 [INFO] tweaked toml for git repo https://github.com/CptBread/aoc-21 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CptBread/aoc-21 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 19bec6afd0fa24301910acde4d6472a86c56e702cbb2b66b1c8e25818b4c54b4 [INFO] running `Command { std: "docker" "start" "-a" "19bec6afd0fa24301910acde4d6472a86c56e702cbb2b66b1c8e25818b4c54b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19bec6afd0fa24301910acde4d6472a86c56e702cbb2b66b1c8e25818b4c54b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19bec6afd0fa24301910acde4d6472a86c56e702cbb2b66b1c8e25818b4c54b4", kill_on_drop: false }` [INFO] [stdout] 19bec6afd0fa24301910acde4d6472a86c56e702cbb2b66b1c8e25818b4c54b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 48a26bca062864b54fcb2444c71b5585cb074e36ab7087b49f04fd070b0d4f02 [INFO] running `Command { std: "docker" "start" "-a" "48a26bca062864b54fcb2444c71b5585cb074e36ab7087b49f04fd070b0d4f02", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking retain_mut v0.1.5 [INFO] [stderr] Checking intbits v0.2.0 [INFO] [stderr] Checking sorted_bread_box v0.1.0 (https://github.com/CptBread/sorted_bread_box#90a42c75) [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling vek v0.15.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking aoc-21 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/day15.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, HashMap, BinaryHeap}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/day15.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, HashMap, BinaryHeap}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `retain_mut::RetainMut` [INFO] [stdout] --> src/day4.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use retain_mut::RetainMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `retain_mut::RetainMut` [INFO] [stdout] --> src/day4.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use retain_mut::RetainMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/day12.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | struct Node(bool, Vec, String); [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_path` is never used [INFO] [stdout] --> src/day12.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn print_path(path: &Vec, nodes: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_cur` is never used [INFO] [stdout] --> src/day16.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 15 | impl BitReader { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn clear_cur(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_node` is never used [INFO] [stdout] --> src/day18.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | impl Data { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | fn unwrap_node(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Back` is never constructed [INFO] [stdout] --> src/day18.rs:118:2 [INFO] [stdout] | [INFO] [stdout] 116 | enum WalkCommand { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 117 | Walk, // Continue [INFO] [stdout] 118 | Back, // Do not go further down [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/day15.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 8 | fn rev_entry(k: K, v: V) -> RevEntry { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | SortedEntry(Reverse(k), v) [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/utils.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn load_read(read: R, f: F) -> Self [INFO] [stdout] | ------- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Self::load_reader(&mut BufReader::new(read), f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/utils.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn load_file(path: &str, f: F) -> Self [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let file = File::open(path).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Self::load_reader(&mut BufReader::new(&file), f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/utils.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get>(&self, pos: Vec2

) -> Option<&T> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | self.data.get(self.pos_to_idx(Pos::new(pos.x.try_into().ok()?, pos.y.try_into().ok()?))?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/utils.rs:196:66 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get>(&self, pos: Vec2

) -> Option<&T> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | self.data.get(self.pos_to_idx(Pos::new(pos.x.try_into().ok()?, pos.y.try_into().ok()?))?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-21` (bin "aoc-21" test) due to 6 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/day12.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | struct Node(bool, Vec, String); [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_path` is never used [INFO] [stdout] --> src/day12.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn print_path(path: &Vec, nodes: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_cur` is never used [INFO] [stdout] --> src/day16.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 15 | impl BitReader { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn clear_cur(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_node` is never used [INFO] [stdout] --> src/day18.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | impl Data { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | fn unwrap_node(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Back` is never constructed [INFO] [stdout] --> src/day18.rs:118:2 [INFO] [stdout] | [INFO] [stdout] 116 | enum WalkCommand { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 117 | Walk, // Continue [INFO] [stdout] 118 | Back, // Do not go further down [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/day15.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 8 | fn rev_entry(k: K, v: V) -> RevEntry { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | SortedEntry(Reverse(k), v) [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/utils.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn load_read(read: R, f: F) -> Self [INFO] [stdout] | ------- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Self::load_reader(&mut BufReader::new(read), f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/utils.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn load_file(path: &str, f: F) -> Self [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let file = File::open(path).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Self::load_reader(&mut BufReader::new(&file), f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/utils.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get>(&self, pos: Vec2

) -> Option<&T> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | self.data.get(self.pos_to_idx(Pos::new(pos.x.try_into().ok()?, pos.y.try_into().ok()?))?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/utils.rs:196:66 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get>(&self, pos: Vec2

) -> Option<&T> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | self.data.get(self.pos_to_idx(Pos::new(pos.x.try_into().ok()?, pos.y.try_into().ok()?))?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-21` (bin "aoc-21") due to 6 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48a26bca062864b54fcb2444c71b5585cb074e36ab7087b49f04fd070b0d4f02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a26bca062864b54fcb2444c71b5585cb074e36ab7087b49f04fd070b0d4f02", kill_on_drop: false }` [INFO] [stdout] 48a26bca062864b54fcb2444c71b5585cb074e36ab7087b49f04fd070b0d4f02