[INFO] cloning repository https://github.com/louisch/advent_of_code_2021_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/louisch/advent_of_code_2021_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisch%2Fadvent_of_code_2021_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisch%2Fadvent_of_code_2021_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98464ff72195d0db0b8d8af2701a4a586695fdcf [INFO] checking louisch/advent_of_code_2021_rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisch%2Fadvent_of_code_2021_rs" "/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/louisch/advent_of_code_2021_rs 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/louisch/advent_of_code_2021_rs [INFO] finished tweaking git repo https://github.com/louisch/advent_of_code_2021_rs [INFO] tweaked toml for git repo https://github.com/louisch/advent_of_code_2021_rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/louisch/advent_of_code_2021_rs 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-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] 6b261b16dafcfc1a53306fe38a19815eef8468e824da5a8b52ae3b783692a604 [INFO] running `Command { std: "docker" "start" "-a" "6b261b16dafcfc1a53306fe38a19815eef8468e824da5a8b52ae3b783692a604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b261b16dafcfc1a53306fe38a19815eef8468e824da5a8b52ae3b783692a604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b261b16dafcfc1a53306fe38a19815eef8468e824da5a8b52ae3b783692a604", kill_on_drop: false }` [INFO] [stdout] 6b261b16dafcfc1a53306fe38a19815eef8468e824da5a8b52ae3b783692a604 [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] c9c06c7a428cf977a7dd5d0a7628e29e4e841aa33c6b1e94ef18b97cd735a05c [INFO] running `Command { std: "docker" "start" "-a" "c9c06c7a428cf977a7dd5d0a7628e29e4e841aa33c6b1e94ef18b97cd735a05c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Checking advent_of_code_2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0` and `2` are never read [INFO] [stdout] --> src/day_10.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | CorruptedChunk(usize, char, Option), [INFO] [stdout] | -------------- ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 5 | CorruptedChunk((), char, ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `2` are never read [INFO] [stdout] --> src/day_10.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | CorruptedChunk(usize, char, Option), [INFO] [stdout] | -------------- ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 5 | CorruptedChunk((), char, ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.13s [INFO] running `Command { std: "docker" "inspect" "c9c06c7a428cf977a7dd5d0a7628e29e4e841aa33c6b1e94ef18b97cd735a05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9c06c7a428cf977a7dd5d0a7628e29e4e841aa33c6b1e94ef18b97cd735a05c", kill_on_drop: false }` [INFO] [stdout] c9c06c7a428cf977a7dd5d0a7628e29e4e841aa33c6b1e94ef18b97cd735a05c [INFO] checking louisch/advent_of_code_2021_rs 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%2Flouisch%2Fadvent_of_code_2021_rs" "/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/louisch/advent_of_code_2021_rs 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/louisch/advent_of_code_2021_rs [INFO] finished tweaking git repo https://github.com/louisch/advent_of_code_2021_rs [INFO] tweaked toml for git repo https://github.com/louisch/advent_of_code_2021_rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/louisch/advent_of_code_2021_rs 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] cbfd6a90fd8c1b211730f698719ba105436fa34e334f230bdf3d47cb65470dc1 [INFO] running `Command { std: "docker" "start" "-a" "cbfd6a90fd8c1b211730f698719ba105436fa34e334f230bdf3d47cb65470dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbfd6a90fd8c1b211730f698719ba105436fa34e334f230bdf3d47cb65470dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbfd6a90fd8c1b211730f698719ba105436fa34e334f230bdf3d47cb65470dc1", kill_on_drop: false }` [INFO] [stdout] cbfd6a90fd8c1b211730f698719ba105436fa34e334f230bdf3d47cb65470dc1 [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] 8e4f360b08bf902079cd4440c92ad476147263f7f5bde70db3d9895c01537b77 [INFO] running `Command { std: "docker" "start" "-a" "8e4f360b08bf902079cd4440c92ad476147263f7f5bde70db3d9895c01537b77", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Checking advent_of_code_2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0` and `2` are never read [INFO] [stdout] --> src/day_10.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | CorruptedChunk(usize, char, Option), [INFO] [stdout] | -------------- ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 5 | CorruptedChunk((), char, ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day_4.rs:126:79 [INFO] [stdout] | [INFO] [stdout] 126 | winning_number_and_board.map(|(winning_number, b_index)| (winning_number, bingo_boards[b_index].clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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/day_4.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 136 | let mut bingo_boards = parse_bingo_boards(lines); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | Some((last_number, bingo_boards[0].clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day_5.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | .map(|input_line| VentLine::from_string(&input_line.trim().to_string()).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/day_10.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn assemble_table(arr1: [T; 4], arr2: [U; 4]) -> HashMap [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | where T: Eq + std::hash::Hash + Copy { [INFO] [stdout] 16 | arr1.iter().map(|p| *p).zip(arr2).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/day_16.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(version: &BitSlice, type_id: &BitSlice, subpackets: Vec>, value: Option) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Packet { version: BitVec::from_bitslice(version), type_id: BitVec::from_bitslice(type_id), subpackets: subpackets, value: value } [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/day_16.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(version: &BitSlice, type_id: &BitSlice, subpackets: Vec>, value: Option) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Packet { version: BitVec::from_bitslice(version), type_id: BitVec::from_bitslice(type_id), subpackets: subpackets, value: value } [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/day_16.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 149 | let mut remaining = BitVec::from_bitslice(remaining_after_type_id); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | let mut subpackets = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | Some((Packet::new(version, type_id, subpackets, literal_value), remaining)) [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 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2021` (bin "advent_of_code_2021") due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `0` and `2` are never read [INFO] [stdout] --> src/day_10.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | CorruptedChunk(usize, char, Option), [INFO] [stdout] | -------------- ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 5 | CorruptedChunk((), char, ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day_4.rs:126:79 [INFO] [stdout] | [INFO] [stdout] 126 | winning_number_and_board.map(|(winning_number, b_index)| (winning_number, bingo_boards[b_index].clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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/day_4.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 136 | let mut bingo_boards = parse_bingo_boards(lines); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | Some((last_number, bingo_boards[0].clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day_5.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | .map(|input_line| VentLine::from_string(&input_line.trim().to_string()).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/day_10.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn assemble_table(arr1: [T; 4], arr2: [U; 4]) -> HashMap [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | where T: Eq + std::hash::Hash + Copy { [INFO] [stdout] 16 | arr1.iter().map(|p| *p).zip(arr2).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/day_16.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(version: &BitSlice, type_id: &BitSlice, subpackets: Vec>, value: Option) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Packet { version: BitVec::from_bitslice(version), type_id: BitVec::from_bitslice(type_id), subpackets: subpackets, value: value } [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/day_16.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(version: &BitSlice, type_id: &BitSlice, subpackets: Vec>, value: Option) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Packet { version: BitVec::from_bitslice(version), type_id: BitVec::from_bitslice(type_id), subpackets: subpackets, value: value } [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/day_16.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 149 | let mut remaining = BitVec::from_bitslice(remaining_after_type_id); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | let mut subpackets = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | Some((Packet::new(version, type_id, subpackets, literal_value), remaining)) [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 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2021` (bin "advent_of_code_2021" test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8e4f360b08bf902079cd4440c92ad476147263f7f5bde70db3d9895c01537b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e4f360b08bf902079cd4440c92ad476147263f7f5bde70db3d9895c01537b77", kill_on_drop: false }` [INFO] [stdout] 8e4f360b08bf902079cd4440c92ad476147263f7f5bde70db3d9895c01537b77