[INFO] cloning repository https://github.com/mplanchard/aoc_2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mplanchard/aoc_2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmplanchard%2Faoc_2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmplanchard%2Faoc_2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ac7268d230700a46cd60b338084f4210b54f96f [INFO] checking mplanchard/aoc_2020 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmplanchard%2Faoc_2020" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mplanchard/aoc_2020 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/mplanchard/aoc_2020 [INFO] finished tweaking git repo https://github.com/mplanchard/aoc_2020 [INFO] tweaked toml for git repo https://github.com/mplanchard/aoc_2020 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mplanchard/aoc_2020 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9bafbe61f3a3ea0b16304c49084bbcf175a4066aeb62a6a1fbfb144a7f212265 [INFO] running `Command { std: "docker" "start" "-a" "9bafbe61f3a3ea0b16304c49084bbcf175a4066aeb62a6a1fbfb144a7f212265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bafbe61f3a3ea0b16304c49084bbcf175a4066aeb62a6a1fbfb144a7f212265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bafbe61f3a3ea0b16304c49084bbcf175a4066aeb62a6a1fbfb144a7f212265", kill_on_drop: false }` [INFO] [stdout] 9bafbe61f3a3ea0b16304c49084bbcf175a4066aeb62a6a1fbfb144a7f212265 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 656d72afedf345afdd45a1921117427879dc0bc84d9ac9dcddd3f2e426171d8e [INFO] running `Command { std: "docker" "start" "-a" "656d72afedf345afdd45a1921117427879dc0bc84d9ac9dcddd3f2e426171d8e", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling anyhow v1.0.35 [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 aoc_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `number` and `unit` are never read [INFO] [stdout] --> src/day4.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct Height { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 43 | number: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | unit: HeightUnit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Height` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/day4.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | struct ValidPassport { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 89 | birth_year: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 90 | issue_year: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | expiration_year: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | height: Height, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 93 | hair_color: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 94 | eye_color: EyeColor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 95 | passport_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | country_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number` and `unit` are never read [INFO] [stdout] --> src/day4.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct Height { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 43 | number: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | unit: HeightUnit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Height` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/day4.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | struct ValidPassport { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 89 | birth_year: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 90 | issue_year: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | expiration_year: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | height: Height, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 93 | hair_color: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 94 | eye_color: EyeColor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 95 | passport_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | country_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "656d72afedf345afdd45a1921117427879dc0bc84d9ac9dcddd3f2e426171d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "656d72afedf345afdd45a1921117427879dc0bc84d9ac9dcddd3f2e426171d8e", kill_on_drop: false }` [INFO] [stdout] 656d72afedf345afdd45a1921117427879dc0bc84d9ac9dcddd3f2e426171d8e [INFO] checking mplanchard/aoc_2020 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%2Fmplanchard%2Faoc_2020" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mplanchard/aoc_2020 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/mplanchard/aoc_2020 [INFO] finished tweaking git repo https://github.com/mplanchard/aoc_2020 [INFO] tweaked toml for git repo https://github.com/mplanchard/aoc_2020 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mplanchard/aoc_2020 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 151dff56341fee8d3718131087da1c53ddae0a4b5c5f3ba4d60f940c8dc76557 [INFO] running `Command { std: "docker" "start" "-a" "151dff56341fee8d3718131087da1c53ddae0a4b5c5f3ba4d60f940c8dc76557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "151dff56341fee8d3718131087da1c53ddae0a4b5c5f3ba4d60f940c8dc76557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "151dff56341fee8d3718131087da1c53ddae0a4b5c5f3ba4d60f940c8dc76557", kill_on_drop: false }` [INFO] [stdout] 151dff56341fee8d3718131087da1c53ddae0a4b5c5f3ba4d60f940c8dc76557 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 81a8ed7de8aed1d41339a25ff440a3ffdca4fc3cfa42ee9b6ee122e4629ae55e [INFO] running `Command { std: "docker" "start" "-a" "81a8ed7de8aed1d41339a25ff440a3ffdca4fc3cfa42ee9b6ee122e4629ae55e", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling anyhow v1.0.35 [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 aoc_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `number` and `unit` are never read [INFO] [stdout] --> src/day4.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct Height { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 43 | number: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | unit: HeightUnit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Height` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/day4.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | struct ValidPassport { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 89 | birth_year: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 90 | issue_year: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | expiration_year: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | height: Height, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 93 | hair_color: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 94 | eye_color: EyeColor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 95 | passport_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | country_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day2.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 51 | fn try_from(value: PasswordRuleWrapper) -> Result { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let val = Some(value.0.as_ref().trim().split_whitespace()); [INFO] [stdout] 53 | / val [INFO] [stdout] 54 | | // ensure we've got two values [INFO] [stdout] 55 | | .and_then(|mut v| v.next().and_then(|range| Some((range, v.next()?)))) [INFO] [stdout] 56 | | // convert the second value to a char [INFO] [stdout] ... | [INFO] [stdout] 68 | | Ok(((start.parse::()?, end.parse::()? + 1), c)) [INFO] [stdout] 69 | | }) [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:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | .map(|i| Passport::try_from(i).and_then(ValidPassport::try_from)) [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/day6.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | let accumulator: Option> = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | / self.questions_answered_yes [INFO] [stdout] 29 | | .iter() [INFO] [stdout] 30 | | .fold(accumulator, |acc, set| match acc { [INFO] [stdout] 31 | | Some(last_set) => Some( [INFO] [stdout] ... | [INFO] [stdout] 39 | | // we assume there will be at least one answer from one person [INFO] [stdout] 40 | | .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] warning: fields `number` and `unit` are never read [INFO] [stdout] --> src/day4.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct Height { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 43 | number: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | unit: HeightUnit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Height` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/day4.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | struct ValidPassport { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 89 | birth_year: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 90 | issue_year: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | expiration_year: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | height: Height, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 93 | hair_color: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 94 | eye_color: EyeColor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 95 | passport_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | country_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidPassport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day2.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 51 | fn try_from(value: PasswordRuleWrapper) -> Result { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let val = Some(value.0.as_ref().trim().split_whitespace()); [INFO] [stdout] 53 | / val [INFO] [stdout] 54 | | // ensure we've got two values [INFO] [stdout] 55 | | .and_then(|mut v| v.next().and_then(|range| Some((range, v.next()?)))) [INFO] [stdout] 56 | | // convert the second value to a char [INFO] [stdout] ... | [INFO] [stdout] 68 | | Ok(((start.parse::()?, end.parse::()? + 1), c)) [INFO] [stdout] 69 | | }) [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:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | .map(|i| Passport::try_from(i).and_then(ValidPassport::try_from)) [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/day6.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | let accumulator: Option> = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | / self.questions_answered_yes [INFO] [stdout] 29 | | .iter() [INFO] [stdout] 30 | | .fold(accumulator, |acc, set| match acc { [INFO] [stdout] 31 | | Some(last_set) => Some( [INFO] [stdout] ... | [INFO] [stdout] 39 | | // we assume there will be at least one answer from one person [INFO] [stdout] 40 | | .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: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_2020` (bin "aoc_2020") due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc_2020` (bin "aoc_2020" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "81a8ed7de8aed1d41339a25ff440a3ffdca4fc3cfa42ee9b6ee122e4629ae55e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81a8ed7de8aed1d41339a25ff440a3ffdca4fc3cfa42ee9b6ee122e4629ae55e", kill_on_drop: false }` [INFO] [stdout] 81a8ed7de8aed1d41339a25ff440a3ffdca4fc3cfa42ee9b6ee122e4629ae55e