[INFO] cloning repository https://github.com/sesim-nov/advent_2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sesim-nov/advent_2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsesim-nov%2Fadvent_2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsesim-nov%2Fadvent_2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22f9ab3fdadf2da44643a0f96b896fa7270a23c9 [INFO] checking sesim-nov/advent_2022 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsesim-nov%2Fadvent_2022" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sesim-nov/advent_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/sesim-nov/advent_2022 [INFO] finished tweaking git repo https://github.com/sesim-nov/advent_2022 [INFO] tweaked toml for git repo https://github.com/sesim-nov/advent_2022 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sesim-nov/advent_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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7154353ad893f7e7a9022cf884471b4859bb51458400dc6195de16b0ec2f0f76 [INFO] running `Command { std: "docker" "start" "-a" "7154353ad893f7e7a9022cf884471b4859bb51458400dc6195de16b0ec2f0f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7154353ad893f7e7a9022cf884471b4859bb51458400dc6195de16b0ec2f0f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7154353ad893f7e7a9022cf884471b4859bb51458400dc6195de16b0ec2f0f76", kill_on_drop: false }` [INFO] [stdout] 7154353ad893f7e7a9022cf884471b4859bb51458400dc6195de16b0ec2f0f76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] de248593e1269a1a02e6868477495096d82d934331e4d3b9fbd7e71281de6c25 [INFO] running `Command { std: "docker" "start" "-a" "de248593e1269a1a02e6868477495096d82d934331e4d3b9fbd7e71281de6c25", kill_on_drop: false }` [INFO] [stderr] Checking advent_2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_04.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let part_1 = part_01(path.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_02.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let part_1 = part_01(path.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_02.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let part_1 = part_01(path.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_03.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let part_1 = part_01(path.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_03.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let part_1 = part_01(path.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_04.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let part_1 = part_01(path.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "de248593e1269a1a02e6868477495096d82d934331e4d3b9fbd7e71281de6c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de248593e1269a1a02e6868477495096d82d934331e4d3b9fbd7e71281de6c25", kill_on_drop: false }` [INFO] [stdout] de248593e1269a1a02e6868477495096d82d934331e4d3b9fbd7e71281de6c25 [INFO] checking sesim-nov/advent_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%2Fsesim-nov%2Fadvent_2022" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sesim-nov/advent_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/sesim-nov/advent_2022 [INFO] finished tweaking git repo https://github.com/sesim-nov/advent_2022 [INFO] tweaked toml for git repo https://github.com/sesim-nov/advent_2022 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sesim-nov/advent_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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] cfb04d15e810df5dbca8e2105970b72f853ab7b7aec75a25fec7b0059084ca52 [INFO] running `Command { std: "docker" "start" "-a" "cfb04d15e810df5dbca8e2105970b72f853ab7b7aec75a25fec7b0059084ca52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfb04d15e810df5dbca8e2105970b72f853ab7b7aec75a25fec7b0059084ca52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfb04d15e810df5dbca8e2105970b72f853ab7b7aec75a25fec7b0059084ca52", kill_on_drop: false }` [INFO] [stdout] cfb04d15e810df5dbca8e2105970b72f853ab7b7aec75a25fec7b0059084ca52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a845abc75a316f1b7895807c22e79ab5def6a68c7ae23b6215c68849dcc208a0 [INFO] running `Command { std: "docker" "start" "-a" "a845abc75a316f1b7895807c22e79ab5def6a68c7ae23b6215c68849dcc208a0", kill_on_drop: false }` [INFO] [stderr] Checking advent_2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day_02.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | let lines = read_file::get_lines(path); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | / lines [INFO] [stdout] 12 | | .map(|line| { [INFO] [stdout] 13 | | let s = line.unwrap(); [INFO] [stdout] 14 | | let mut c = s.chars(); [INFO] [stdout] ... | [INFO] [stdout] 18 | | p1_play_game(player, opponent) [INFO] [stdout] 19 | | }) [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.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | let lines = read_file::get_lines(path); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | / lines [INFO] [stdout] 45 | | .map(|line| { [INFO] [stdout] 46 | | let s = line.unwrap(); [INFO] [stdout] 47 | | let mut c = s.chars(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | p2_play_game(result, opponent) [INFO] [stdout] 52 | | }) [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.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | let lines = read_file::get_lines(path); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | / lines [INFO] [stdout] 9 | | .map(|line| { [INFO] [stdout] 10 | | let sack = Rucksack::from(line.unwrap()); [INFO] [stdout] 11 | | score_char(sack.get_common()[0]) [INFO] [stdout] 12 | | }) [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/rucksack.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn intersect_all(a: Vec) -> char { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let hashes: Vec> = a.iter().map(|x| x.get_all_contents()).collect(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | / hashes [INFO] [stdout] 37 | | .into_iter() [INFO] [stdout] 38 | | .reduce(|acc, e| acc.intersection(&e).copied().collect()) [INFO] [stdout] 39 | | .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_04.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | let lines = read_file::get_lines(path); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | / lines [INFO] [stdout] 10 | | .map(|line| { [INFO] [stdout] 11 | | let ranges: Vec = line [INFO] [stdout] 12 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 16 | | (ranges[0].contains(&ranges[1]) || ranges[1].contains(&ranges[0])) as usize [INFO] [stdout] 17 | | }) [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_04.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | let lines = read_file::get_lines(path); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | / lines [INFO] [stdout] 24 | | .map(|line| { [INFO] [stdout] 25 | | let ranges: Vec = line [INFO] [stdout] 26 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 30 | | ranges[0].overlaps(&ranges[1]) as usize [INFO] [stdout] 31 | | }) [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/read_file.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 18 | let mut bufreader = get_bufreader(path); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let mut buf = String::new(); [INFO] [stdout] 20 | match bufreader.read_to_string(&mut buf) { [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_2022` (lib) 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_02.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | let lines = read_file::get_lines(path); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | / lines [INFO] [stdout] 12 | | .map(|line| { [INFO] [stdout] 13 | | let s = line.unwrap(); [INFO] [stdout] 14 | | let mut c = s.chars(); [INFO] [stdout] ... | [INFO] [stdout] 18 | | p1_play_game(player, opponent) [INFO] [stdout] 19 | | }) [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.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | let lines = read_file::get_lines(path); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | / lines [INFO] [stdout] 45 | | .map(|line| { [INFO] [stdout] 46 | | let s = line.unwrap(); [INFO] [stdout] 47 | | let mut c = s.chars(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | p2_play_game(result, opponent) [INFO] [stdout] 52 | | }) [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.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | let lines = read_file::get_lines(path); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | / lines [INFO] [stdout] 9 | | .map(|line| { [INFO] [stdout] 10 | | let sack = Rucksack::from(line.unwrap()); [INFO] [stdout] 11 | | score_char(sack.get_common()[0]) [INFO] [stdout] 12 | | }) [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/rucksack.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn intersect_all(a: Vec) -> char { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let hashes: Vec> = a.iter().map(|x| x.get_all_contents()).collect(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | / hashes [INFO] [stdout] 37 | | .into_iter() [INFO] [stdout] 38 | | .reduce(|acc, e| acc.intersection(&e).copied().collect()) [INFO] [stdout] 39 | | .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_04.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | let lines = read_file::get_lines(path); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | / lines [INFO] [stdout] 10 | | .map(|line| { [INFO] [stdout] 11 | | let ranges: Vec = line [INFO] [stdout] 12 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 16 | | (ranges[0].contains(&ranges[1]) || ranges[1].contains(&ranges[0])) as usize [INFO] [stdout] 17 | | }) [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_04.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | let lines = read_file::get_lines(path); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | / lines [INFO] [stdout] 24 | | .map(|line| { [INFO] [stdout] 25 | | let ranges: Vec = line [INFO] [stdout] 26 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 30 | | ranges[0].overlaps(&ranges[1]) as usize [INFO] [stdout] 31 | | }) [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/read_file.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 18 | let mut bufreader = get_bufreader(path); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let mut buf = String::new(); [INFO] [stdout] 20 | match bufreader.read_to_string(&mut buf) { [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_2022` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "a845abc75a316f1b7895807c22e79ab5def6a68c7ae23b6215c68849dcc208a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a845abc75a316f1b7895807c22e79ab5def6a68c7ae23b6215c68849dcc208a0", kill_on_drop: false }` [INFO] [stdout] a845abc75a316f1b7895807c22e79ab5def6a68c7ae23b6215c68849dcc208a0