[INFO] cloning repository https://github.com/brian-gavin/advent-of-code-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brian-gavin/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian-gavin%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrian-gavin%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a17ea14b82aab23f4d3e8ccd549416351790251 [INFO] checking brian-gavin/advent-of-code-2023/1a17ea14b82aab23f4d3e8ccd549416351790251 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%2Fbrian-gavin%2Fadvent-of-code-2023" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brian-gavin/advent-of-code-2023 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/brian-gavin/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/brian-gavin/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/brian-gavin/advent-of-code-2023 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/brian-gavin/advent-of-code-2023 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f765a0dc29e4050540a146c3666600773f3443c3df3ea3b134de30e85c6bc613 [INFO] running `Command { std: "docker" "start" "-a" "f765a0dc29e4050540a146c3666600773f3443c3df3ea3b134de30e85c6bc613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f765a0dc29e4050540a146c3666600773f3443c3df3ea3b134de30e85c6bc613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f765a0dc29e4050540a146c3666600773f3443c3df3ea3b134de30e85c6bc613", kill_on_drop: false }` [INFO] [stdout] f765a0dc29e4050540a146c3666600773f3443c3df3ea3b134de30e85c6bc613 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 35f1467167f0a06fd58b59bd02bf5687a871a3f7497317cd50070cfd7097549a [INFO] running `Command { std: "docker" "start" "-a" "35f1467167f0a06fd58b59bd02bf5687a871a3f7497317cd50070cfd7097549a", kill_on_drop: false }` [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 num-bigint v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [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/eleven.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn solve(input: crate::Input, empty_weight: u64) -> u64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let (universe, galaxies) = build_universe(input, empty_weight); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let galaxy_src_targets = galaxy_src_targets(&galaxies); [INFO] [stdout] 70 | / galaxy_src_targets [INFO] [stdout] 71 | | .into_iter() [INFO] [stdout] 72 | | .map(|(start, targets)| { [INFO] [stdout] 73 | | let paths = dijkstra(&universe, start, None, |e| *e.weight()); [INFO] [stdout] ... | [INFO] [stdout] 77 | | .sum::() [INFO] [stdout] 78 | | }) [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/eleven.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 137 | fn parse_input(input: crate::Input) -> Vec<(Node, Space)> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | / input [INFO] [stdout] 139 | | .enumerate() [INFO] [stdout] 140 | | .flat_map(|(row, l)| { [INFO] [stdout] 141 | | l.char_indices() [INFO] [stdout] 142 | | .map(|(col, c)| (Node { row, col }, c.into())) [INFO] [stdout] 143 | | .collect::>() [INFO] [stdout] 144 | | }) [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/four.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn solve1(input: crate::Input) -> u64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | / parse_cards(input) [INFO] [stdout] 17 | | .map(|card| card.matching()) [INFO] [stdout] 18 | | .filter_map(|matching| matching.gt(&0).then(|| 1 << (matching - 1))) [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/nine.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | fn solve(input: crate::Input, nv: NextValue) -> i64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | parse_input(input).map(|v| predict_next_value(v, nv)).sum() [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/nine.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn extrapolate(vs: impl Iterator, nv: NextValue) -> i64 { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | [0].into_iter().chain(vs).reduce(|a, b| op(b, a)).unwrap() [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/one.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve1(input: crate::Input) -> u64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | / input [INFO] [stdout] 5 | | .map(|line| { [INFO] [stdout] 6 | | let digits = line [INFO] [stdout] 7 | | .chars() [INFO] [stdout] 8 | | .filter_map(|c| c.to_digit(10).map(|d| d as u64)); [INFO] [stdout] 9 | | combine_digits(digits) [INFO] [stdout] 10 | | }) [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/one.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn solve2(input: crate::Input) -> u64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | / input [INFO] [stdout] 22 | | .map(|line| { [INFO] [stdout] 23 | | let digits = parse_line(&line); [INFO] [stdout] 24 | | combine_digits(digits) [INFO] [stdout] 25 | | }) [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/seven.rs:72:40 [INFO] [stdout] | [INFO] [stdout] 70 | fn of(cards: Vec, bid: u64) -> Hand { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Hand { [INFO] [stdout] 72 | strength: C::hand_strength(cards.clone()), [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/seven.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 87 | fn solve(input: crate::Input) -> u64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let mut hands = parse_input::(input) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | / hands [INFO] [stdout] 93 | | .into_iter() [INFO] [stdout] 94 | | .enumerate() [INFO] [stdout] 95 | | .map(|(rank, hand)| (rank as u64 + 1) * hand.bid) [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/six.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve1(input: crate::Input) -> u64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | solve(parse_input(input)) [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/six.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve2(input: crate::Input) -> u64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | solve(parse_input2(input)) [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/six.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | fn solve(input: impl Iterator) -> u64 { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | / input [INFO] [stdout] 13 | | .map(|(race_t, record_d)| { [INFO] [stdout] 14 | | (0..=race_t) [INFO] [stdout] 15 | | .filter(move |charge_t| { [INFO] [stdout] ... | [INFO] [stdout] 21 | | .count() as u64 [INFO] [stdout] 22 | | }) [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/ten.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn parse_input(input: Input) -> Vec<(Node, Pipe)> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | / input [INFO] [stdout] 156 | | .enumerate() [INFO] [stdout] 157 | | .flat_map(|(row, l)| { [INFO] [stdout] 158 | | l.bytes() [INFO] [stdout] ... | [INFO] [stdout] 170 | | .collect::>() [INFO] [stdout] 171 | | }) [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/twelve.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve1(input: Input) -> usize { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | solve(parse_input(input)) [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/twelve.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn solve2(input: Input) -> usize { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | solve( [INFO] [stdout] 24 | / parse_input(input) [INFO] [stdout] 25 | | .into_iter() [INFO] [stdout] 26 | | .map(|t| combinatorial_explosion_bait(t)), [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/two.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn solve1(input: crate::Input) -> usize { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | / input [INFO] [stdout] 21 | | .filter_map(|line| { [INFO] [stdout] 22 | | let (n, mut game) = parse_line(&line); [INFO] [stdout] 23 | | game.all(|set| set.blue <= BAG.blue && set.green <= BAG.green && set.red <= BAG.red) [INFO] [stdout] 24 | | .then_some(n) [INFO] [stdout] 25 | | }) [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/two.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn solve2(input: crate::Input) -> u32 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | / input [INFO] [stdout] 64 | | .map(|line| { [INFO] [stdout] 65 | | let (_, sets) = parse_line(&line); [INFO] [stdout] 66 | | sets.fold(Set::default(), |fewest_bag, set| Set { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }) [INFO] [stdout] 72 | | .map(|set| set.power()) [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 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (lib) due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/eleven.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn solve(input: crate::Input, empty_weight: u64) -> u64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let (universe, galaxies) = build_universe(input, empty_weight); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let galaxy_src_targets = galaxy_src_targets(&galaxies); [INFO] [stdout] 70 | / galaxy_src_targets [INFO] [stdout] 71 | | .into_iter() [INFO] [stdout] 72 | | .map(|(start, targets)| { [INFO] [stdout] 73 | | let paths = dijkstra(&universe, start, None, |e| *e.weight()); [INFO] [stdout] ... | [INFO] [stdout] 77 | | .sum::() [INFO] [stdout] 78 | | }) [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/eleven.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 137 | fn parse_input(input: crate::Input) -> Vec<(Node, Space)> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | / input [INFO] [stdout] 139 | | .enumerate() [INFO] [stdout] 140 | | .flat_map(|(row, l)| { [INFO] [stdout] 141 | | l.char_indices() [INFO] [stdout] 142 | | .map(|(col, c)| (Node { row, col }, c.into())) [INFO] [stdout] 143 | | .collect::>() [INFO] [stdout] 144 | | }) [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/four.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn solve1(input: crate::Input) -> u64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | / parse_cards(input) [INFO] [stdout] 17 | | .map(|card| card.matching()) [INFO] [stdout] 18 | | .filter_map(|matching| matching.gt(&0).then(|| 1 << (matching - 1))) [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/nine.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | fn solve(input: crate::Input, nv: NextValue) -> i64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | parse_input(input).map(|v| predict_next_value(v, nv)).sum() [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/nine.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn extrapolate(vs: impl Iterator, nv: NextValue) -> i64 { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | [0].into_iter().chain(vs).reduce(|a, b| op(b, a)).unwrap() [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/one.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve1(input: crate::Input) -> u64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | / input [INFO] [stdout] 5 | | .map(|line| { [INFO] [stdout] 6 | | let digits = line [INFO] [stdout] 7 | | .chars() [INFO] [stdout] 8 | | .filter_map(|c| c.to_digit(10).map(|d| d as u64)); [INFO] [stdout] 9 | | combine_digits(digits) [INFO] [stdout] 10 | | }) [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/one.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn solve2(input: crate::Input) -> u64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | / input [INFO] [stdout] 22 | | .map(|line| { [INFO] [stdout] 23 | | let digits = parse_line(&line); [INFO] [stdout] 24 | | combine_digits(digits) [INFO] [stdout] 25 | | }) [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/seven.rs:72:40 [INFO] [stdout] | [INFO] [stdout] 70 | fn of(cards: Vec, bid: u64) -> Hand { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Hand { [INFO] [stdout] 72 | strength: C::hand_strength(cards.clone()), [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/seven.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 87 | fn solve(input: crate::Input) -> u64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let mut hands = parse_input::(input) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | / hands [INFO] [stdout] 93 | | .into_iter() [INFO] [stdout] 94 | | .enumerate() [INFO] [stdout] 95 | | .map(|(rank, hand)| (rank as u64 + 1) * hand.bid) [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/six.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve1(input: crate::Input) -> u64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | solve(parse_input(input)) [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/six.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve2(input: crate::Input) -> u64 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | solve(parse_input2(input)) [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/six.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | fn solve(input: impl Iterator) -> u64 { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | / input [INFO] [stdout] 13 | | .map(|(race_t, record_d)| { [INFO] [stdout] 14 | | (0..=race_t) [INFO] [stdout] 15 | | .filter(move |charge_t| { [INFO] [stdout] ... | [INFO] [stdout] 21 | | .count() as u64 [INFO] [stdout] 22 | | }) [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/ten.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 154 | fn parse_input(input: Input) -> Vec<(Node, Pipe)> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | / input [INFO] [stdout] 156 | | .enumerate() [INFO] [stdout] 157 | | .flat_map(|(row, l)| { [INFO] [stdout] 158 | | l.bytes() [INFO] [stdout] ... | [INFO] [stdout] 170 | | .collect::>() [INFO] [stdout] 171 | | }) [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/twelve.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve1(input: Input) -> usize { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | solve(parse_input(input)) [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/twelve.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn solve2(input: Input) -> usize { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | solve( [INFO] [stdout] 24 | / parse_input(input) [INFO] [stdout] 25 | | .into_iter() [INFO] [stdout] 26 | | .map(|t| combinatorial_explosion_bait(t)), [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/two.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn solve1(input: crate::Input) -> usize { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | / input [INFO] [stdout] 21 | | .filter_map(|line| { [INFO] [stdout] 22 | | let (n, mut game) = parse_line(&line); [INFO] [stdout] 23 | | game.all(|set| set.blue <= BAG.blue && set.green <= BAG.green && set.red <= BAG.red) [INFO] [stdout] 24 | | .then_some(n) [INFO] [stdout] 25 | | }) [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/two.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn solve2(input: crate::Input) -> u32 { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | / input [INFO] [stdout] 64 | | .map(|line| { [INFO] [stdout] 65 | | let (_, sets) = parse_line(&line); [INFO] [stdout] 66 | | sets.fold(Set::default(), |fewest_bag, set| Set { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }) [INFO] [stdout] 72 | | .map(|set| set.power()) [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 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (lib test) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "35f1467167f0a06fd58b59bd02bf5687a871a3f7497317cd50070cfd7097549a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35f1467167f0a06fd58b59bd02bf5687a871a3f7497317cd50070cfd7097549a", kill_on_drop: false }` [INFO] [stdout] 35f1467167f0a06fd58b59bd02bf5687a871a3f7497317cd50070cfd7097549a