[INFO] cloning repository https://github.com/dphilipson/advent-of-code-2022 [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-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdphilipson%2Fadvent-of-code-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdphilipson%2Fadvent-of-code-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 761c1dea6ca23660e0cf94c5d6c851fce9e7f318 [INFO] checking dphilipson/advent-of-code-2022 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-2022" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dphilipson/advent-of-code-2022 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-2022 [INFO] finished tweaking git repo https://github.com/dphilipson/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/dphilipson/advent-of-code-2022 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dphilipson/advent-of-code-2022 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 25c5dd8a0756c3f852b7ac9f3691c4b6dafba0fcce1d5bc59e7c0fc73e933847 [INFO] running `Command { std: "docker" "start" "-a" "25c5dd8a0756c3f852b7ac9f3691c4b6dafba0fcce1d5bc59e7c0fc73e933847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25c5dd8a0756c3f852b7ac9f3691c4b6dafba0fcce1d5bc59e7c0fc73e933847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25c5dd8a0756c3f852b7ac9f3691c4b6dafba0fcce1d5bc59e7c0fc73e933847", kill_on_drop: false }` [INFO] [stdout] 25c5dd8a0756c3f852b7ac9f3691c4b6dafba0fcce1d5bc59e7c0fc73e933847 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7185dc8a6950e081537d4b1f736d817da9d82655e43afc87f83c6795e8be0162 [INFO] running `Command { std: "docker" "start" "-a" "7185dc8a6950e081537d4b1f736d817da9d82655e43afc87f83c6795e8be0162", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling serde v1.0.150 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [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] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking rayon v1.6.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking advent-of-code-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.65s [INFO] running `Command { std: "docker" "inspect" "7185dc8a6950e081537d4b1f736d817da9d82655e43afc87f83c6795e8be0162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7185dc8a6950e081537d4b1f736d817da9d82655e43afc87f83c6795e8be0162", kill_on_drop: false }` [INFO] [stdout] 7185dc8a6950e081537d4b1f736d817da9d82655e43afc87f83c6795e8be0162 [INFO] checking dphilipson/advent-of-code-2022 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-2022" "/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/dphilipson/advent-of-code-2022 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-2022 [INFO] finished tweaking git repo https://github.com/dphilipson/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/dphilipson/advent-of-code-2022 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dphilipson/advent-of-code-2022 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-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc38c54d8bcfa1a3060824b6c315e66d656c0c549e397d7da5abf5f9bc285611 [INFO] running `Command { std: "docker" "start" "-a" "bc38c54d8bcfa1a3060824b6c315e66d656c0c549e397d7da5abf5f9bc285611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc38c54d8bcfa1a3060824b6c315e66d656c0c549e397d7da5abf5f9bc285611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc38c54d8bcfa1a3060824b6c315e66d656c0c549e397d7da5abf5f9bc285611", kill_on_drop: false }` [INFO] [stdout] bc38c54d8bcfa1a3060824b6c315e66d656c0c549e397d7da5abf5f9bc285611 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce900d01abfec26df2ebfbf603f7dbe0d0730ca72449c5de0c702a65b8849c3b [INFO] running `Command { std: "docker" "start" "-a" "ce900d01abfec26df2ebfbf603f7dbe0d0730ca72449c5de0c702a65b8849c3b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde v1.0.150 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [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] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking rayon v1.6.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking advent-of-code-2022 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-2022` (bin "advent-of-code-2022") 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-2022` (bin "advent-of-code-2022" test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "ce900d01abfec26df2ebfbf603f7dbe0d0730ca72449c5de0c702a65b8849c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce900d01abfec26df2ebfbf603f7dbe0d0730ca72449c5de0c702a65b8849c3b", kill_on_drop: false }` [INFO] [stdout] ce900d01abfec26df2ebfbf603f7dbe0d0730ca72449c5de0c702a65b8849c3b