[INFO] cloning repository https://github.com/Choc13/aoc2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Choc13/aoc2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChoc13%2Faoc2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChoc13%2Faoc2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7095e04360a838002b906af520a0f76021856495 [INFO] checking Choc13/aoc2023/7095e04360a838002b906af520a0f76021856495 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%2FChoc13%2Faoc2023" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Choc13/aoc2023 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/Choc13/aoc2023 [INFO] finished tweaking git repo https://github.com/Choc13/aoc2023 [INFO] tweaked toml for git repo https://github.com/Choc13/aoc2023 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Choc13/aoc2023 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] [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7bbe2e9e4a9cc887459d0e9f49a8d1b96b71d64574d4d82bc5c5c1dc946035b0 [INFO] running `Command { std: "docker" "start" "-a" "7bbe2e9e4a9cc887459d0e9f49a8d1b96b71d64574d4d82bc5c5c1dc946035b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bbe2e9e4a9cc887459d0e9f49a8d1b96b71d64574d4d82bc5c5c1dc946035b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bbe2e9e4a9cc887459d0e9f49a8d1b96b71d64574d4d82bc5c5c1dc946035b0", kill_on_drop: false }` [INFO] [stdout] 7bbe2e9e4a9cc887459d0e9f49a8d1b96b71d64574d4d82bc5c5c1dc946035b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 93d6dbd59e9c319e25505f6c10fc1a2d888add8855355ddf18de333fe486b4cf [INFO] running `Command { std: "docker" "start" "-a" "93d6dbd59e9c319e25505f6c10fc1a2d888add8855355ddf18de333fe486b4cf", 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] Checking day1a v0.1.0 (/opt/rustwide/workdir/day1a) [INFO] [stderr] Checking day4 v0.1.0 (/opt/rustwide/workdir/day4) [INFO] [stderr] Checking day9 v0.1.0 (/opt/rustwide/workdir/day9) [INFO] [stderr] Checking day5 v0.1.0 (/opt/rustwide/workdir/day5) [INFO] [stderr] Checking day8 v0.1.0 (/opt/rustwide/workdir/day8) [INFO] [stderr] Checking day6 v0.1.0 (/opt/rustwide/workdir/day6) [INFO] [stdout] warning: unused import: `std::ops::Div` [INFO] [stdout] --> day6/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Div; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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] --> day1a/src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 8 | .map(|l| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | / l.map(|l| { [INFO] [stdout] 10 | | let digits = l.chars().filter_map(|c| c.to_digit(10)).collect::>(); [INFO] [stdout] 11 | | let first = digits.first().unwrap(); [INFO] [stdout] 12 | | let last = digits.last().unwrap(); [INFO] [stdout] 13 | | (10 * first) + last [INFO] [stdout] 14 | | }) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `answer_a` is never used [INFO] [stdout] --> day8/src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn answer_a(reader: BufReader) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] --> day8/src/main.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 26 | fn unfold(state: S, f: F) -> impl Iterator [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] 30 | Unfolder(f, Some(state)) [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] --> day8/src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 90 | is_exit: F, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | ) -> impl Iterator + 'a { [INFO] [stdout] 92 | / self.states(start_label) [INFO] [stdout] 93 | | .enumerate() [INFO] [stdout] 94 | | .filter(move |(_, s)| is_exit(s)) [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] --> day8/src/main.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 99 | fn parse_map<'a, T: std::io::Read>(reader: BufReader) -> Map { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | let mut lines = reader.lines().map(|l| l.unwrap()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | lines.filter(|l| !l.is_empty()).map(parse_node).collect(), [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] --> day8/src/main.rs:143:6 [INFO] [stdout] | [INFO] [stdout] 141 | fn answer_a(reader: BufReader) -> u64 { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | let map = parse_map(reader); [INFO] [stdout] 143 | *map.steps_to_exit("AAA", |s| s.label == "ZZZ") [INFO] [stdout] | ______^ [INFO] [stdout] 144 | | .take(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: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day8` (bin "day8") due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `day1a` (bin "day1a") due to 2 previous errors [INFO] [stdout] warning: unused import: `std::ops::Div` [INFO] [stdout] --> day6/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Div; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `predict_prev` is never used [INFO] [stdout] --> day9/src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl MeasurementHistory { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn predict_prev(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `answer_b` is never used [INFO] [stdout] --> day9/src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn answer_b(reader: BufReader) -> i64 { [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] --> day9/src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_measurements<'a, T: std::io::Read>(reader: BufReader) -> Vec { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | / reader [INFO] [stdout] 35 | | .lines() [INFO] [stdout] 36 | | .map(|l| l.unwrap()) [INFO] [stdout] 37 | | .map(|line| { [INFO] [stdout] ... | [INFO] [stdout] 42 | | ) [INFO] [stdout] 43 | | }) [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day9` (bin "day9") due to 2 previous errors; 2 warnings emitted [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] --> day1a/src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 8 | .map(|l| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | / l.map(|l| { [INFO] [stdout] 10 | | let digits = l.chars().filter_map(|c| c.to_digit(10)).collect::>(); [INFO] [stdout] 11 | | let first = digits.first().unwrap(); [INFO] [stdout] 12 | | let last = digits.last().unwrap(); [INFO] [stdout] 13 | | (10 * first) + last [INFO] [stdout] 14 | | }) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `score` is never used [INFO] [stdout] --> day4/src/main.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Card { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn score(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day1a` (bin "day1a" test) due to 2 previous errors [INFO] [stdout] warning: function `answer_a` is never used [INFO] [stdout] --> day4/src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn answer_a(reader: BufReader) -> u64 { [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] --> day4/src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_cards(reader: BufReader) -> impl Iterator { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | / reader [INFO] [stdout] 29 | | .lines() [INFO] [stdout] 30 | | .map(|l| l.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] = 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] --> day4/src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | fn answer_a(reader: BufReader) -> u64 { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | parse_cards(reader).map(|c| c.score()).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] --> day4/src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn answer_b(reader: BufReader) -> u64 { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | parse_cards(reader) [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 3 previous errors; 2 warnings emitted [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] --> day4/src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_cards(reader: BufReader) -> impl Iterator { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | / reader [INFO] [stdout] 29 | | .lines() [INFO] [stdout] 30 | | .map(|l| l.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] = 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] --> day4/src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | fn answer_a(reader: BufReader) -> u64 { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | parse_cards(reader).map(|c| c.score()).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] --> day4/src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn answer_b(reader: BufReader) -> u64 { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | parse_cards(reader) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day4` (bin "day4") due to 4 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `day4` (bin "day4" test) due to 4 previous errors [INFO] [stdout] warning: function `parse_races` is never used [INFO] [stdout] --> day6/src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn parse_races<'a, T: std::io::Read>(reader: BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `answer_a` is never used [INFO] [stdout] --> day6/src/main.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn answer_a(reader: BufReader) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lookup_seed_location` and `closest_seed_location` are never used [INFO] [stdout] --> day5/src/main.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 212 | impl Almanac { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 223 | fn lookup_seed_location(&self, seed: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn closest_seed_location(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `answer_a` is never used [INFO] [stdout] --> day5/src/main.rs:297:4 [INFO] [stdout] | [INFO] [stdout] 297 | fn answer_a(reader: BufReader) -> u64 { [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] --> day5/src/main.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 27 | fn unfold(state: S, f: F) -> impl Iterator [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 | Unfolder(f, Some(state)) [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] --> day5/src/main.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_maps(lines: impl Iterator) -> Vec { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | / lines [INFO] [stdout] 251 | | .filter(|l| !l.contains("map:")) [INFO] [stdout] 252 | | .skip_while(|l| l.is_empty()) [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 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day5` (bin "day5") due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "93d6dbd59e9c319e25505f6c10fc1a2d888add8855355ddf18de333fe486b4cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93d6dbd59e9c319e25505f6c10fc1a2d888add8855355ddf18de333fe486b4cf", kill_on_drop: false }` [INFO] [stdout] 93d6dbd59e9c319e25505f6c10fc1a2d888add8855355ddf18de333fe486b4cf