[INFO] cloning repository https://github.com/dphilipson/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/dphilipson/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdphilipson%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdphilipson%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89f29ad62dc9e0120c6431c376db19ee3f4eaec5 [INFO] checking dphilipson/advent-of-code-2023 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdphilipson%2Fadvent-of-code-2023" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dphilipson/advent-of-code-2023 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dphilipson/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/dphilipson/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/dphilipson/advent-of-code-2023 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dphilipson/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5595fffa684bf7e87e4153a6b5dca1b0d6a7f3dcda5a73c39b052659ca99e27 [INFO] running `Command { std: "docker" "start" "-a" "d5595fffa684bf7e87e4153a6b5dca1b0d6a7f3dcda5a73c39b052659ca99e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5595fffa684bf7e87e4153a6b5dca1b0d6a7f3dcda5a73c39b052659ca99e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5595fffa684bf7e87e4153a6b5dca1b0d6a7f3dcda5a73c39b052659ca99e27", kill_on_drop: false }` [INFO] [stdout] d5595fffa684bf7e87e4153a6b5dca1b0d6a7f3dcda5a73c39b052659ca99e27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe794b7706e8b4f825d7421d36ef1c840ede3e076a98f71d96ed7216a0e02c2f [INFO] running `Command { std: "docker" "start" "-a" "fe794b7706e8b4f825d7421d36ef1c840ede3e076a98f71d96ed7216a0e02c2f", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking advent-of-code-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.59s [INFO] running `Command { std: "docker" "inspect" "fe794b7706e8b4f825d7421d36ef1c840ede3e076a98f71d96ed7216a0e02c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe794b7706e8b4f825d7421d36ef1c840ede3e076a98f71d96ed7216a0e02c2f", kill_on_drop: false }` [INFO] [stdout] fe794b7706e8b4f825d7421d36ef1c840ede3e076a98f71d96ed7216a0e02c2f [INFO] checking dphilipson/advent-of-code-2023 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdphilipson%2Fadvent-of-code-2023" "/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/dphilipson/advent-of-code-2023 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dphilipson/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/dphilipson/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/dphilipson/advent-of-code-2023 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dphilipson/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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3babb54a784011ec3729f41cdd43726172dc5484760c92c969f5f1f8cba6665c [INFO] running `Command { std: "docker" "start" "-a" "3babb54a784011ec3729f41cdd43726172dc5484760c92c969f5f1f8cba6665c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3babb54a784011ec3729f41cdd43726172dc5484760c92c969f5f1f8cba6665c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3babb54a784011ec3729f41cdd43726172dc5484760c92c969f5f1f8cba6665c", kill_on_drop: false }` [INFO] [stdout] 3babb54a784011ec3729f41cdd43726172dc5484760c92c969f5f1f8cba6665c [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a2479e48e19c33c357eef4aae75c52023dc6d339a7319bdc62fe52b4459072d [INFO] running `Command { std: "docker" "start" "-a" "3a2479e48e19c33c357eef4aae75c52023dc6d339a7319bdc62fe52b4459072d", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking advent-of-code-2023 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/harness.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | let caps = re.captures(s).ok_or("Invalid test input format.")?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | Ok(TestInput { [INFO] [stdout] | ____________^ [INFO] [stdout] 119 | | part1_expected: caps.get(1).map(|m| m.as_str().parse()).transpose()?, [INFO] [stdout] 120 | | part2_expected: caps.get(2).map(|m| m.as_str().parse()).transpose()?, [INFO] [stdout] 121 | | text: caps.get(3).unwrap().as_str(), [INFO] [stdout] 122 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/util/re.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | RE.get_or_init(|| regex::Regex::new($re).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/harness.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | let re = regex!( [INFO] [stdout] | __________________- [INFO] [stdout] 112 | | r"(?s)^Part 1 expected: *([^\n]+)? [INFO] [stdout] 113 | | Part 2 expected: *([^\n]+)? [INFO] [stdout] 114 | | * [INFO] [stdout] 115 | | (.*)$" [INFO] [stdout] 116 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/harness/input.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | self.0.split(pattern).map(|s| s.parse().unwrap()).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] --> src/harness/input.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | .map(|s| s.parse().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/harness/input.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn per_line(&self, f: F) -> impl Iterator + 'a [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | self.0.lines().map(move |line| f(LineInput(line))) [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/harness/input.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn grouped_lines(&self, f: F) -> impl Iterator> + 'a [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | .map(move |group| group.lines().map(|line| f(LineInput(line))).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] --> src/harness/panics.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 14 | let old_hook = Arc::clone(&old_hook); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Box::new(move |info| { [INFO] [stdout] | __________________^ [INFO] [stdout] 16 | | if !is_todo(info.payload()) { [INFO] [stdout] 17 | | if let Some(hook) = &*old_hook.lock().unwrap() { [INFO] [stdout] 18 | | hook(info) [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | }) [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/util/grid.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn map<'a, U, F>(&'a self, f: F) -> Grid [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Grid(self.0.map(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/util/search/bfs.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 54 | |TempState { [INFO] [stdout] | ______________- [INFO] [stdout] 55 | | state, [INFO] [stdout] 56 | | distance, [INFO] [stdout] 57 | | prev_index, [INFO] [stdout] 58 | | }| SeenState { [INFO] [stdout] | |______________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | state: Rc::try_unwrap(state).map_err(|_| ()).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/util/search/dijkstra.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 90 | |TempSeenState { [INFO] [stdout] | ______________- [INFO] [stdout] 91 | | state, [INFO] [stdout] 92 | | distance, [INFO] [stdout] 93 | | prev_index, [INFO] [stdout] 94 | | }| SeenState { [INFO] [stdout] | |______________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | state: Rc::try_unwrap(state).map_err(|_| ()).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: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2023` (bin "advent-of-code-2023") due to 11 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/harness.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | let caps = re.captures(s).ok_or("Invalid test input format.")?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | Ok(TestInput { [INFO] [stdout] | ____________^ [INFO] [stdout] 119 | | part1_expected: caps.get(1).map(|m| m.as_str().parse()).transpose()?, [INFO] [stdout] 120 | | part2_expected: caps.get(2).map(|m| m.as_str().parse()).transpose()?, [INFO] [stdout] 121 | | text: caps.get(3).unwrap().as_str(), [INFO] [stdout] 122 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/util/re.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | RE.get_or_init(|| regex::Regex::new($re).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/harness.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | let re = regex!( [INFO] [stdout] | __________________- [INFO] [stdout] 112 | | r"(?s)^Part 1 expected: *([^\n]+)? [INFO] [stdout] 113 | | Part 2 expected: *([^\n]+)? [INFO] [stdout] 114 | | * [INFO] [stdout] 115 | | (.*)$" [INFO] [stdout] 116 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/harness/input.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | self.0.split(pattern).map(|s| s.parse().unwrap()).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] --> src/harness/input.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | .map(|s| s.parse().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/harness/input.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn per_line(&self, f: F) -> impl Iterator + 'a [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | self.0.lines().map(move |line| f(LineInput(line))) [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/harness/input.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn grouped_lines(&self, f: F) -> impl Iterator> + 'a [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | .map(move |group| group.lines().map(|line| f(LineInput(line))).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] --> src/harness/panics.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 14 | let old_hook = Arc::clone(&old_hook); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Box::new(move |info| { [INFO] [stdout] | __________________^ [INFO] [stdout] 16 | | if !is_todo(info.payload()) { [INFO] [stdout] 17 | | if let Some(hook) = &*old_hook.lock().unwrap() { [INFO] [stdout] 18 | | hook(info) [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | }) [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/util/grid.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn map<'a, U, F>(&'a self, f: F) -> Grid [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Grid(self.0.map(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/util/re.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | RE.get_or_init(|| regex::Regex::new($re).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | let re = regex!(r"^(.+) (.+) stole (\d+) cakes.$"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/util/search/bfs.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 54 | |TempState { [INFO] [stdout] | ______________- [INFO] [stdout] 55 | | state, [INFO] [stdout] 56 | | distance, [INFO] [stdout] 57 | | prev_index, [INFO] [stdout] 58 | | }| SeenState { [INFO] [stdout] | |______________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | state: Rc::try_unwrap(state).map_err(|_| ()).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/util/search/dijkstra.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 90 | |TempSeenState { [INFO] [stdout] | ______________- [INFO] [stdout] 91 | | state, [INFO] [stdout] 92 | | distance, [INFO] [stdout] 93 | | prev_index, [INFO] [stdout] 94 | | }| SeenState { [INFO] [stdout] | |______________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | state: Rc::try_unwrap(state).map_err(|_| ()).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: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2023` (bin "advent-of-code-2023" test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "3a2479e48e19c33c357eef4aae75c52023dc6d339a7319bdc62fe52b4459072d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a2479e48e19c33c357eef4aae75c52023dc6d339a7319bdc62fe52b4459072d", kill_on_drop: false }` [INFO] [stdout] 3a2479e48e19c33c357eef4aae75c52023dc6d339a7319bdc62fe52b4459072d