[INFO] cloning repository https://github.com/mindstorm38/adventofcode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mindstorm38/adventofcode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindstorm38%2Fadventofcode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindstorm38%2Fadventofcode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5faaf101e85d5e08b8e6a786ce5429194670020 [INFO] checking mindstorm38/adventofcode2020 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindstorm38%2Fadventofcode2020" "/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/mindstorm38/adventofcode2020 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/mindstorm38/adventofcode2020 [INFO] finished tweaking git repo https://github.com/mindstorm38/adventofcode2020 [INFO] tweaked toml for git repo https://github.com/mindstorm38/adventofcode2020 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mindstorm38/adventofcode2020 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] 1ce6dd847e826a3f2af761e5a615bbaab1a994c7b0826f1c2cd432a50f0b3428 [INFO] running `Command { std: "docker" "start" "-a" "1ce6dd847e826a3f2af761e5a615bbaab1a994c7b0826f1c2cd432a50f0b3428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ce6dd847e826a3f2af761e5a615bbaab1a994c7b0826f1c2cd432a50f0b3428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ce6dd847e826a3f2af761e5a615bbaab1a994c7b0826f1c2cd432a50f0b3428", kill_on_drop: false }` [INFO] [stdout] 1ce6dd847e826a3f2af761e5a615bbaab1a994c7b0826f1c2cd432a50f0b3428 [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] 126bba0afdcd250d48eddfcef741f23e6f3748313aa0815e839704d9b622bbc4 [INFO] running `Command { std: "docker" "start" "-a" "126bba0afdcd250d48eddfcef741f23e6f3748313aa0815e839704d9b622bbc4", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking adventofcode2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/day5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_seats` is never used [INFO] [stdout] --> src/day5.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_seats(inp: impl Iterator) -> Vec<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/day5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_seats` is never used [INFO] [stdout] --> src/day5.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_seats(inp: impl Iterator) -> Vec<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NumberStat` is never constructed [INFO] [stdout] --> src/day15.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct NumberStat { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pointer` is never used [INFO] [stdout] --> src/interpret.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Interpreter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_pointer(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pointer` is never used [INFO] [stdout] --> src/interpret.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Interpreter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_pointer(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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: struct `NumberStat` is never constructed [INFO] [stdout] --> src/day15.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct NumberStat { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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 1.60s [INFO] running `Command { std: "docker" "inspect" "126bba0afdcd250d48eddfcef741f23e6f3748313aa0815e839704d9b622bbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "126bba0afdcd250d48eddfcef741f23e6f3748313aa0815e839704d9b622bbc4", kill_on_drop: false }` [INFO] [stdout] 126bba0afdcd250d48eddfcef741f23e6f3748313aa0815e839704d9b622bbc4 [INFO] checking mindstorm38/adventofcode2020 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%2Fmindstorm38%2Fadventofcode2020" "/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/mindstorm38/adventofcode2020 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/mindstorm38/adventofcode2020 [INFO] finished tweaking git repo https://github.com/mindstorm38/adventofcode2020 [INFO] tweaked toml for git repo https://github.com/mindstorm38/adventofcode2020 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mindstorm38/adventofcode2020 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] a3a1f9f52142b7384021e4573527dbce97f875c327b015cefdd6bfe4a996f190 [INFO] running `Command { std: "docker" "start" "-a" "a3a1f9f52142b7384021e4573527dbce97f875c327b015cefdd6bfe4a996f190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3a1f9f52142b7384021e4573527dbce97f875c327b015cefdd6bfe4a996f190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3a1f9f52142b7384021e4573527dbce97f875c327b015cefdd6bfe4a996f190", kill_on_drop: false }` [INFO] [stdout] a3a1f9f52142b7384021e4573527dbce97f875c327b015cefdd6bfe4a996f190 [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] 7b5f80119ca089fb9aadaf8b308ccc1904df95ae08da4377d138d9776578cf5a [INFO] running `Command { std: "docker" "start" "-a" "7b5f80119ca089fb9aadaf8b308ccc1904df95ae08da4377d138d9776578cf5a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking adventofcode2020 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/day2.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn part1(inp: impl Iterator) -> usize { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | / inp.filter(|(min, max, car, pw)| { [INFO] [stdout] 15 | | let char_count = pw.chars().filter(|&c| c == *car).count(); [INFO] [stdout] 16 | | (*min..=*max).contains(&char_count) [INFO] [stdout] 17 | | }).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] = 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/day2.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | fn part2(inp: impl Iterator) -> usize { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | / inp.filter(|(min, max, car, pw)| { [INFO] [stdout] 22 | | let a = pw.chars().nth(*min - 1).unwrap() == *car; [INFO] [stdout] 23 | | let b = pw.chars().nth(*max - 1).unwrap() == *car; [INFO] [stdout] 24 | | a ^ b [INFO] [stdout] 25 | | }).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: aborting due to 2 previous errors [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/day2.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn part1(inp: impl Iterator) -> usize { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | / inp.filter(|(min, max, car, pw)| { [INFO] [stdout] 15 | | let char_count = pw.chars().filter(|&c| c == *car).count(); [INFO] [stdout] 16 | | (*min..=*max).contains(&char_count) [INFO] [stdout] 17 | | }).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] = 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/day2.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | fn part2(inp: impl Iterator) -> usize { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | / inp.filter(|(min, max, car, pw)| { [INFO] [stdout] 22 | | let a = pw.chars().nth(*min - 1).unwrap() == *car; [INFO] [stdout] 23 | | let b = pw.chars().nth(*max - 1).unwrap() == *car; [INFO] [stdout] 24 | | a ^ b [INFO] [stdout] 25 | | }).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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2020` (bin "day2") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `get_pointer` is never used [INFO] [stdout] --> src/interpret.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Interpreter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_pointer(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2020` (bin "day2" test) due to 3 previous errors [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/interpret.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn parse(inp: impl Iterator) -> Vec { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | / inp.map(|line| { [INFO] [stdout] 24 | | use Instruction::*; [INFO] [stdout] 25 | | let (code, operand) = line.split_at(3); [INFO] [stdout] 26 | | let operand = &operand[1..]; [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | }).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/day4.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn count_valid_passports(inp: impl Iterator) -> usize { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | / inp.filter(|passport| { [INFO] [stdout] 16 | | passport.split(' ').filter(|&kv| MANDATORY_FIELDS.contains(&&kv[..kv.find(':').unwrap()])).count() == MANDATORY_FIELDS.len() [INFO] [stdout] 17 | | }).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] = 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/day4.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 20 | fn constraint_range + FromStr + Display>(range: RangeInclusive) -> Box bool> { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Box::new(move |val| match val.parse::() { [INFO] [stdout] | ______________^ [INFO] [stdout] 22 | | Ok(i) => range.contains(&i), [INFO] [stdout] 23 | | _ => false [INFO] [stdout] 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/day4.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 20 | fn constraint_range + FromStr + Display>(range: RangeInclusive) -> Box bool> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Box::new(move |val| match val.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/day4.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | "hcl" => Some(Box::new(|val| Regex::new(r"^#[0-9a-f]{6}$").unwrap().is_match(val))), [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/day4.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | "ecl" => Some(Box::new(|val| Regex::new(r"^(amb|blu|brn|gry|grn|hzl|oth)$").unwrap().is_match(val))), [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/day4.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | "pid" => Some(Box::new(|val| Regex::new(r"^[0-9]{9}$").unwrap().is_match(val))), [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 1 previous error; 1 warning emitted [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/day4.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | fn count_valid_passports_2(inp: impl Iterator) -> usize { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | / inp.filter(|passport| { [INFO] [stdout] 52 | | passport.split(' ').filter(|&kv| { [INFO] [stdout] 53 | | let sep = kv.find(':').unwrap(); [INFO] [stdout] 54 | | match get_constraint(&kv[..sep]) { [INFO] [stdout] ... | [INFO] [stdout] 58 | | }).count() == MANDATORY_FIELDS.len() [INFO] [stdout] 59 | | }).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: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2020` (bin "day8" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `adventofcode2020` (bin "day4" test) due to 8 previous errors [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/day14.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse(inp: impl Iterator) -> Vec { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | / inp.map(|line| { [INFO] [stdout] 15 | | use Instruction::*; [INFO] [stdout] 16 | | if &line[..7] == "mask = " { [INFO] [stdout] 17 | | let mask = &line[7..]; [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | }).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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2020` (bin "day14") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "7b5f80119ca089fb9aadaf8b308ccc1904df95ae08da4377d138d9776578cf5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b5f80119ca089fb9aadaf8b308ccc1904df95ae08da4377d138d9776578cf5a", kill_on_drop: false }` [INFO] [stdout] 7b5f80119ca089fb9aadaf8b308ccc1904df95ae08da4377d138d9776578cf5a