[INFO] cloning repository https://github.com/jinbijin/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/jinbijin/advent-of-code-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinbijin%2Fadvent-of-code-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinbijin%2Fadvent-of-code-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f7c87dc2f92db793f54bc78a64941f9bf3df0ac [INFO] checking jinbijin/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%2Fjinbijin%2Fadvent-of-code-2022" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jinbijin/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/jinbijin/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/jinbijin/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/jinbijin/advent-of-code-2022 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jinbijin/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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9f18eb2861fe33755b29e7a4db97b9edb58708811bae83f9eb57cf1a08c16a41 [INFO] running `Command { std: "docker" "start" "-a" "9f18eb2861fe33755b29e7a4db97b9edb58708811bae83f9eb57cf1a08c16a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f18eb2861fe33755b29e7a4db97b9edb58708811bae83f9eb57cf1a08c16a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f18eb2861fe33755b29e7a4db97b9edb58708811bae83f9eb57cf1a08c16a41", kill_on_drop: false }` [INFO] [stdout] 9f18eb2861fe33755b29e7a4db97b9edb58708811bae83f9eb57cf1a08c16a41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 51fd4b7ee9444680fe5e829a90697bc986e26d1794fb6499cbfdce5eb1d32a78 [INFO] running `Command { std: "docker" "start" "-a" "51fd4b7ee9444680fe5e829a90697bc986e26d1794fb6499cbfdce5eb1d32a78", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-code-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/common/interval.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | EndBeforeStart { start: T, end: T }, [INFO] [stdout] | -------------- ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildIntervalError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse/chars.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ByChars(pub Vec); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse/sections.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | Continue(char), [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ContentSectionCharIterationResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 | Continue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/puzzles/no_space_left_on_device/file_tree.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct File { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | pub size: usize, [INFO] [stdout] 8 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opponent_choice` is never read [INFO] [stdout] --> src/puzzles/rock_paper_scissors/rps_match.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RpsMatch { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | pub opponent_choice: RpsType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `required` is never read [INFO] [stdout] --> src/puzzles/rock_paper_scissors/strategy.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | Empty { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] 112 | required: True, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseRpsStrategyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/common/interval.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | EndBeforeStart { start: T, end: T }, [INFO] [stdout] | -------------- ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildIntervalError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse/chars.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ByChars(pub Vec); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse/sections.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | Continue(char), [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ContentSectionCharIterationResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 | Continue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/puzzles/no_space_left_on_device/file_tree.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct File { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | pub size: usize, [INFO] [stdout] 8 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opponent_choice` is never read [INFO] [stdout] --> src/puzzles/rock_paper_scissors/rps_match.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RpsMatch { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | pub opponent_choice: RpsType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `required` is never read [INFO] [stdout] --> src/puzzles/rock_paper_scissors/strategy.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | Empty { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] 112 | required: True, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseRpsStrategyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "51fd4b7ee9444680fe5e829a90697bc986e26d1794fb6499cbfdce5eb1d32a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51fd4b7ee9444680fe5e829a90697bc986e26d1794fb6499cbfdce5eb1d32a78", kill_on_drop: false }` [INFO] [stdout] 51fd4b7ee9444680fe5e829a90697bc986e26d1794fb6499cbfdce5eb1d32a78 [INFO] checking jinbijin/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%2Fjinbijin%2Fadvent-of-code-2022" "/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/jinbijin/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/jinbijin/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/jinbijin/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/jinbijin/advent-of-code-2022 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jinbijin/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-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5c5e848fe652b4531875e22af0e1915965ab1216dcb64edf54dcccd1888cb64 [INFO] running `Command { std: "docker" "start" "-a" "c5c5e848fe652b4531875e22af0e1915965ab1216dcb64edf54dcccd1888cb64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5c5e848fe652b4531875e22af0e1915965ab1216dcb64edf54dcccd1888cb64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c5e848fe652b4531875e22af0e1915965ab1216dcb64edf54dcccd1888cb64", kill_on_drop: false }` [INFO] [stdout] c5c5e848fe652b4531875e22af0e1915965ab1216dcb64edf54dcccd1888cb64 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 935d46c0d9e7d5725db3f3d1916ee1b25f81b42e20fbcef899060ff0bfd44d41 [INFO] running `Command { std: "docker" "start" "-a" "935d46c0d9e7d5725db3f3d1916ee1b25f81b42e20fbcef899060ff0bfd44d41", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-code-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/common/interval.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | EndBeforeStart { start: T, end: T }, [INFO] [stdout] | -------------- ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildIntervalError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse/chars.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ByChars(pub Vec); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse/sections.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | Continue(char), [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ContentSectionCharIterationResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 | Continue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/puzzles/no_space_left_on_device/file_tree.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct File { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | pub size: usize, [INFO] [stdout] 8 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opponent_choice` is never read [INFO] [stdout] --> src/puzzles/rock_paper_scissors/rps_match.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RpsMatch { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | pub opponent_choice: RpsType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `required` is never read [INFO] [stdout] --> src/puzzles/rock_paper_scissors/strategy.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | Empty { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] 112 | required: True, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseRpsStrategyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/common/collection/max_items.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 13 | fn max_items(iter: I, count: usize) -> Vec [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | let mut top_items: BTreeSet = BTreeSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | top_items.into_iter().rev().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] = 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/common/three_d/position3.rs:158:28 [INFO] [stdout] | [INFO] [stdout] 158 | y: kind_1.action()(self.position.y), [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/common/three_d/position3.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | z: kind_2.action()(self.position.z), [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/common/three_d/position3.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | x: kind_1.action()(self.position.x), [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/common/three_d/position3.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | z: kind_2.action()(self.position.z), [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/common/three_d/position3.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | x: kind_1.action()(self.position.x), [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/common/three_d/position3.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | y: kind_2.action()(self.position.y), [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/parse/grid.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 91 | let mut contents: Vec = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | Ok(Grid { [INFO] [stdout] | ____________^ [INFO] [stdout] 111 | | width, [INFO] [stdout] 112 | | height, [INFO] [stdout] 113 | | contents, [INFO] [stdout] 114 | | }) [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/parse/sections.rs:262:53 [INFO] [stdout] | [INFO] [stdout] 262 | .map(|section| (section.starts_at_line, section.contents.parse::())) [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/puzzles/blizzard_basin/basin_state.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 62 | let mut expedition: HashSet> = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let mut wall: HashSet> = HashSet::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Ok(BasinState { [INFO] [stdout] | ____________^ [INFO] [stdout] 101 | | width, [INFO] [stdout] 102 | | height, [INFO] [stdout] 103 | | expedition, [INFO] [stdout] ... | [INFO] [stdout] 106 | | trip_count: 0, [INFO] [stdout] 107 | | }) [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/puzzles/monkey_in_the_middle/monkey.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 205 | let operation = match lines.next() { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | Ok(MonkeyWithName { [INFO] [stdout] | ____________^ [INFO] [stdout] 242 | | name: monkey_key, [INFO] [stdout] 243 | | monkey: Monkey { [INFO] [stdout] 244 | | items, [INFO] [stdout] ... | [INFO] [stdout] 250 | | }, [INFO] [stdout] 251 | | }) [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] [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/puzzles/monkey_in_the_middle/monkey.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 312 | let BySections(monkeys_with_name) = s.parse::>()?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 313 | let mut monkey_keys: Vec = Vec::new(); [INFO] [stdout] 314 | let mut monkeys: HashMap = HashMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 321 | Ok(MonkeyCollection { [INFO] [stdout] | ____________^ [INFO] [stdout] 322 | | monkey_keys, [INFO] [stdout] 323 | | monkeys, [INFO] [stdout] 324 | | }) [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] [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/puzzles/monkey_in_the_middle/operation.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 136 | let lhs = self.lhs.as_fn(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | let op = self.op.as_fn(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | let rhs = self.rhs.as_fn(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | Box::new(move |x| op(lhs(x), rhs(x))) [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/puzzles/not_enough_minerals.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | .map(|b| b.id * b.factory().run(24)) [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/puzzles/not_enough_minerals.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | .map(|b| b.factory().run(32)) [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/puzzles/regolith_reservoir/cave_in.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn fill_with_sand(mut self) -> usize { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | / self.sand_ranges [INFO] [stdout] 66 | | .into_iter() [INFO] [stdout] 67 | | .map(|interval| interval.count()) [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/puzzles/rope_bridge/rope_motion.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn new(iter: T) -> RopePositionCollector { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | tail_positions: HashSet::new(), [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/puzzles/unstable_diffusion/elf_distribution.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 37 | let elves = s [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(ElfDistribution(elves)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 18 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2022` (lib) due to 19 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/common/interval.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | EndBeforeStart { start: T, end: T }, [INFO] [stdout] | -------------- ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildIntervalError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse/chars.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ByChars(pub Vec); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse/sections.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | Continue(char), [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ContentSectionCharIterationResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 | Continue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/puzzles/no_space_left_on_device/file_tree.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct File { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | pub size: usize, [INFO] [stdout] 8 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opponent_choice` is never read [INFO] [stdout] --> src/puzzles/rock_paper_scissors/rps_match.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RpsMatch { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | pub opponent_choice: RpsType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `required` is never read [INFO] [stdout] --> src/puzzles/rock_paper_scissors/strategy.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | Empty { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] 112 | required: True, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseRpsStrategyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/common/collection/max_items.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 13 | fn max_items(iter: I, count: usize) -> Vec [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | let mut top_items: BTreeSet = BTreeSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | top_items.into_iter().rev().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] = 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/common/three_d/position3.rs:158:28 [INFO] [stdout] | [INFO] [stdout] 158 | y: kind_1.action()(self.position.y), [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/common/three_d/position3.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | z: kind_2.action()(self.position.z), [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/common/three_d/position3.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | x: kind_1.action()(self.position.x), [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/common/three_d/position3.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | z: kind_2.action()(self.position.z), [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/common/three_d/position3.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | x: kind_1.action()(self.position.x), [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/common/three_d/position3.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | y: kind_2.action()(self.position.y), [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/parse/grid.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 91 | let mut contents: Vec = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | Ok(Grid { [INFO] [stdout] | ____________^ [INFO] [stdout] 111 | | width, [INFO] [stdout] 112 | | height, [INFO] [stdout] 113 | | contents, [INFO] [stdout] 114 | | }) [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/parse/sections.rs:262:53 [INFO] [stdout] | [INFO] [stdout] 262 | .map(|section| (section.starts_at_line, section.contents.parse::())) [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/puzzles/blizzard_basin/basin_state.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 62 | let mut expedition: HashSet> = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let mut wall: HashSet> = HashSet::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Ok(BasinState { [INFO] [stdout] | ____________^ [INFO] [stdout] 101 | | width, [INFO] [stdout] 102 | | height, [INFO] [stdout] 103 | | expedition, [INFO] [stdout] ... | [INFO] [stdout] 106 | | trip_count: 0, [INFO] [stdout] 107 | | }) [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/puzzles/monkey_in_the_middle/monkey.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 205 | let operation = match lines.next() { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | Ok(MonkeyWithName { [INFO] [stdout] | ____________^ [INFO] [stdout] 242 | | name: monkey_key, [INFO] [stdout] 243 | | monkey: Monkey { [INFO] [stdout] 244 | | items, [INFO] [stdout] ... | [INFO] [stdout] 250 | | }, [INFO] [stdout] 251 | | }) [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] [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/puzzles/monkey_in_the_middle/monkey.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 312 | let BySections(monkeys_with_name) = s.parse::>()?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 313 | let mut monkey_keys: Vec = Vec::new(); [INFO] [stdout] 314 | let mut monkeys: HashMap = HashMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 321 | Ok(MonkeyCollection { [INFO] [stdout] | ____________^ [INFO] [stdout] 322 | | monkey_keys, [INFO] [stdout] 323 | | monkeys, [INFO] [stdout] 324 | | }) [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] [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/puzzles/monkey_in_the_middle/operation.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 136 | let lhs = self.lhs.as_fn(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | let op = self.op.as_fn(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | let rhs = self.rhs.as_fn(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | Box::new(move |x| op(lhs(x), rhs(x))) [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/puzzles/not_enough_minerals.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | .map(|b| b.id * b.factory().run(24)) [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/puzzles/not_enough_minerals.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | .map(|b| b.factory().run(32)) [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/puzzles/regolith_reservoir/cave_in.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn fill_with_sand(mut self) -> usize { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | / self.sand_ranges [INFO] [stdout] 66 | | .into_iter() [INFO] [stdout] 67 | | .map(|interval| interval.count()) [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/puzzles/rope_bridge/rope_motion.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn new(iter: T) -> RopePositionCollector { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | tail_positions: HashSet::new(), [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/puzzles/unstable_diffusion/elf_distribution.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 37 | let elves = s [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(ElfDistribution(elves)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 18 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2022` (lib test) due to 19 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "935d46c0d9e7d5725db3f3d1916ee1b25f81b42e20fbcef899060ff0bfd44d41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "935d46c0d9e7d5725db3f3d1916ee1b25f81b42e20fbcef899060ff0bfd44d41", kill_on_drop: false }` [INFO] [stdout] 935d46c0d9e7d5725db3f3d1916ee1b25f81b42e20fbcef899060ff0bfd44d41