[INFO] cloning repository https://github.com/rafald1/advent_of_code_2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rafald1/advent_of_code_2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafald1%2Fadvent_of_code_2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafald1%2Fadvent_of_code_2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0faaf3c048d117f68eeefff33aa3689c1e2f722d [INFO] checking rafald1/advent_of_code_2021 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafald1%2Fadvent_of_code_2021" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rafald1/advent_of_code_2021 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/rafald1/advent_of_code_2021 [INFO] finished tweaking git repo https://github.com/rafald1/advent_of_code_2021 [INFO] tweaked toml for git repo https://github.com/rafald1/advent_of_code_2021 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rafald1/advent_of_code_2021 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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9ac3f3d6578db5c1c85bb3d45beadc356df6e65c0f0363feaea765a2dac5b96c [INFO] running `Command { std: "docker" "start" "-a" "9ac3f3d6578db5c1c85bb3d45beadc356df6e65c0f0363feaea765a2dac5b96c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ac3f3d6578db5c1c85bb3d45beadc356df6e65c0f0363feaea765a2dac5b96c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ac3f3d6578db5c1c85bb3d45beadc356df6e65c0f0363feaea765a2dac5b96c", kill_on_drop: false }` [INFO] [stdout] 9ac3f3d6578db5c1c85bb3d45beadc356df6e65c0f0363feaea765a2dac5b96c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ae85a42fc1d118a9ac4a1ec09232ee7548b10728df821f4a94960f88ed15e52e [INFO] running `Command { std: "docker" "start" "-a" "ae85a42fc1d118a9ac4a1ec09232ee7548b10728df821f4a94960f88ed15e52e", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code_2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "ae85a42fc1d118a9ac4a1ec09232ee7548b10728df821f4a94960f88ed15e52e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae85a42fc1d118a9ac4a1ec09232ee7548b10728df821f4a94960f88ed15e52e", kill_on_drop: false }` [INFO] [stdout] ae85a42fc1d118a9ac4a1ec09232ee7548b10728df821f4a94960f88ed15e52e [INFO] checking rafald1/advent_of_code_2021 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%2Frafald1%2Fadvent_of_code_2021" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rafald1/advent_of_code_2021 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/rafald1/advent_of_code_2021 [INFO] finished tweaking git repo https://github.com/rafald1/advent_of_code_2021 [INFO] tweaked toml for git repo https://github.com/rafald1/advent_of_code_2021 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rafald1/advent_of_code_2021 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 84aa0cdbb6d47cbd1de207f5352efa0659792312b0bcf2a19a9591f1481b4e2c [INFO] running `Command { std: "docker" "start" "-a" "84aa0cdbb6d47cbd1de207f5352efa0659792312b0bcf2a19a9591f1481b4e2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84aa0cdbb6d47cbd1de207f5352efa0659792312b0bcf2a19a9591f1481b4e2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84aa0cdbb6d47cbd1de207f5352efa0659792312b0bcf2a19a9591f1481b4e2c", kill_on_drop: false }` [INFO] [stdout] 84aa0cdbb6d47cbd1de207f5352efa0659792312b0bcf2a19a9591f1481b4e2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f2d74e81179158548db671a19043dc3bb28409b035e7a00a817fe3e328011d8d [INFO] running `Command { std: "docker" "start" "-a" "f2d74e81179158548db671a19043dc3bb28409b035e7a00a817fe3e328011d8d", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code_2021 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/day_01_sonar_sweep/part_2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | let file = std::fs::File::open(path).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | / io::BufReader::new(file) [INFO] [stdout] 6 | | .lines() [INFO] [stdout] 7 | | .map(|line| line.unwrap().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] = 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_02_dive/part_2.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | let file = std::fs::File::open(path).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | / io::BufReader::new(file) [INFO] [stdout] 28 | | .lines() [INFO] [stdout] 29 | | .map(|line| line.unwrap().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/day_03_binary_diagnostic/part_1.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | let file = std::fs::File::open(path) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 7 | / io::BufReader::new(file) [INFO] [stdout] 8 | | .lines() [INFO] [stdout] 9 | | .map(|line| line.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_03_binary_diagnostic/part_2.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | let file = std::fs::File::open(path).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | [INFO] [stdout] 11 | / io::BufReader::new(file) [INFO] [stdout] 12 | | .lines() [INFO] [stdout] 13 | | .map(|line| line.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_05_hydrothermal_venture/part_1.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 45 | let file = std::fs::File::open(path) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | .expect("The input file should be placed in the input folder beforehand"); [INFO] [stdout] 47 | let reader = io::BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | [INFO] [stdout] 49 | / reader [INFO] [stdout] 50 | | .lines() [INFO] [stdout] 51 | | .map(|line| line.unwrap().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/day_05_hydrothermal_venture/part_2.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 41 | let file = std::fs::File::open(path) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | .expect("The input file should be placed in the input folder beforehand"); [INFO] [stdout] 43 | let reader = io::BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | [INFO] [stdout] 45 | / reader [INFO] [stdout] 46 | | .lines() [INFO] [stdout] 47 | | .map(|line| line.unwrap().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/day_13_transparent_origami/part_1.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | fn fold_once(paper: HashSet, instruction: Instruction) -> usize { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | / paper [INFO] [stdout] 37 | | .into_iter() [INFO] [stdout] 38 | | .map(|Point(x, y)| match instruction { [INFO] [stdout] 39 | | Instruction::Vertical(col) => Point(if x < col { x } else { 2 * col - x }, y), [INFO] [stdout] 40 | | Instruction::Horizontal(row) => Point(x, if y < row { y } else { 2 * row - y }), [INFO] [stdout] 41 | | }) [INFO] [stdout] 42 | | .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: aborting due to 7 previous errors [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 [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/day_01_sonar_sweep/part_2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | let file = std::fs::File::open(path).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | / io::BufReader::new(file) [INFO] [stdout] 6 | | .lines() [INFO] [stdout] 7 | | .map(|line| line.unwrap().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] = 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_02_dive/part_2.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | let file = std::fs::File::open(path).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | / io::BufReader::new(file) [INFO] [stdout] 28 | | .lines() [INFO] [stdout] 29 | | .map(|line| line.unwrap().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/day_03_binary_diagnostic/part_1.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | let file = std::fs::File::open(path) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 7 | / io::BufReader::new(file) [INFO] [stdout] 8 | | .lines() [INFO] [stdout] 9 | | .map(|line| line.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_03_binary_diagnostic/part_2.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | let file = std::fs::File::open(path).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | [INFO] [stdout] 11 | / io::BufReader::new(file) [INFO] [stdout] 12 | | .lines() [INFO] [stdout] 13 | | .map(|line| line.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_05_hydrothermal_venture/part_1.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 45 | let file = std::fs::File::open(path) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | .expect("The input file should be placed in the input folder beforehand"); [INFO] [stdout] 47 | let reader = io::BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | [INFO] [stdout] 49 | / reader [INFO] [stdout] 50 | | .lines() [INFO] [stdout] 51 | | .map(|line| line.unwrap().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/day_05_hydrothermal_venture/part_2.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 41 | let file = std::fs::File::open(path) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | .expect("The input file should be placed in the input folder beforehand"); [INFO] [stdout] 43 | let reader = io::BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | [INFO] [stdout] 45 | / reader [INFO] [stdout] 46 | | .lines() [INFO] [stdout] 47 | | .map(|line| line.unwrap().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/day_13_transparent_origami/part_1.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | fn fold_once(paper: HashSet, instruction: Instruction) -> usize { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | / paper [INFO] [stdout] 37 | | .into_iter() [INFO] [stdout] 38 | | .map(|Point(x, y)| match instruction { [INFO] [stdout] 39 | | Instruction::Vertical(col) => Point(if x < col { x } else { 2 * col - x }, y), [INFO] [stdout] 40 | | Instruction::Horizontal(row) => Point(x, if y < row { y } else { 2 * row - y }), [INFO] [stdout] 41 | | }) [INFO] [stdout] 42 | | .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: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2021` (bin "advent_of_code_2021") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "f2d74e81179158548db671a19043dc3bb28409b035e7a00a817fe3e328011d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d74e81179158548db671a19043dc3bb28409b035e7a00a817fe3e328011d8d", kill_on_drop: false }` [INFO] [stdout] f2d74e81179158548db671a19043dc3bb28409b035e7a00a817fe3e328011d8d