[INFO] cloning repository https://github.com/kstrohbeck/aoc-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kstrohbeck/aoc-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrohbeck%2Faoc-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrohbeck%2Faoc-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30940d65f60c3d781b0bde46e443339c7698b582 [INFO] checking kstrohbeck/aoc-2021 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrohbeck%2Faoc-2021" "/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/kstrohbeck/aoc-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/kstrohbeck/aoc-2021 [INFO] finished tweaking git repo https://github.com/kstrohbeck/aoc-2021 [INFO] tweaked toml for git repo https://github.com/kstrohbeck/aoc-2021 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kstrohbeck/aoc-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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rayon-core v1.9.1 [INFO] [stderr] Downloaded memoffset v0.6.4 [INFO] [stderr] Downloaded num-rational v0.4.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.1 [INFO] [stderr] Downloaded num-iter v0.1.42 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.5 [INFO] [stderr] Downloaded num v0.4.0 [INFO] [stderr] Downloaded num-complex v0.4.0 [INFO] [stderr] Downloaded itertools v0.10.1 [INFO] [stderr] Downloaded rayon v1.5.1 [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] cdb2bc5d28c5a982dbfa698c5aedb901264163417e08f6b5013bcb3d1573db0a [INFO] running `Command { std: "docker" "start" "-a" "cdb2bc5d28c5a982dbfa698c5aedb901264163417e08f6b5013bcb3d1573db0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdb2bc5d28c5a982dbfa698c5aedb901264163417e08f6b5013bcb3d1573db0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdb2bc5d28c5a982dbfa698c5aedb901264163417e08f6b5013bcb3d1573db0a", kill_on_drop: false }` [INFO] [stdout] cdb2bc5d28c5a982dbfa698c5aedb901264163417e08f6b5013bcb3d1573db0a [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] 4935ec1bf8d4ef047fbb0b655f8177df98c1536ae9d7122c22043b36d09e8fad [INFO] running `Command { std: "docker" "start" "-a" "4935ec1bf8d4ef047fbb0b655f8177df98c1536ae9d7122c22043b36d09e8fad", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking aoc-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/day_12.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/day_16.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | error::{Error, ErrorKind, ParseError}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::utils::Vec2d` [INFO] [stdout] --> src/day_19.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::utils::Vec2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> src/day_22.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt, ops}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/day_12.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/day_16.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | error::{Error, ErrorKind, ParseError}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::utils::Vec2d` [INFO] [stdout] --> src/day_19.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::utils::Vec2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> src/day_22.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt, ops}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eight` [INFO] [stdout] --> src/day_08.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let eight = eight.ok_or("no 8 given")?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_eight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eight` [INFO] [stdout] --> src/day_08.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let eight = eight.ok_or("no 8 given")?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_eight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_16.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | fn hex_string(mut input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_type` [INFO] [stdout] --> src/day_16.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | op_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `op_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_18.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | fn sum(mut iter: I) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | mut image, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | mut image, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_21.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_21.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_16.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | fn hex_string(mut input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_type` [INFO] [stdout] --> src/day_16.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | op_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `op_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FULL` is never used [INFO] [stdout] --> src/day_08.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 165 | impl Digit { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 166 | const EMPTY: Self = Self(0b00000000); [INFO] [stdout] 167 | const FULL: Self = Self(0b01111111); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rule_pairs` is never used [INFO] [stdout] --> src/day_14.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Rules { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 78 | fn rule_pairs(&self, pair: (char, char)) -> Option<((char, char), (char, char))> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day_15.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl State { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 72 | fn new(position: (usize, usize)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `literal` and `operator` are never used [INFO] [stdout] --> src/day_16.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Packet { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 47 | fn literal(version: u8, num: usize) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn operator(version: u8, op_type: OperatorType, subpackets: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/day_20.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Image { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_char` is never used [INFO] [stdout] --> src/day_20.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 218 | impl Pixel { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 219 | fn as_char(self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_adding` is never used [INFO] [stdout] --> src/day_22.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl Cube { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | fn try_adding(self, rhs: Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `non_overlapping` and `try_adding` are never used [INFO] [stdout] --> src/day_22.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 222 | impl Segment { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | fn non_overlapping(self, rhs: Self) -> SegmentNonOverlappingIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn try_adding(self, rhs: Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_18.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | mem::replace(self, Self::Literal(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = mem::replace(self, Self::Literal(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_21.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | std::mem::replace(a, new_a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = std::mem::replace(a, new_a); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_18.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | fn sum(mut iter: I) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | mut image, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | mut image, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_21.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_21.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FULL` is never used [INFO] [stdout] --> src/day_08.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 165 | impl Digit { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 166 | const EMPTY: Self = Self(0b00000000); [INFO] [stdout] 167 | const FULL: Self = Self(0b01111111); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rule_pairs` is never used [INFO] [stdout] --> src/day_14.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Rules { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 78 | fn rule_pairs(&self, pair: (char, char)) -> Option<((char, char), (char, char))> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day_15.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl State { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 72 | fn new(position: (usize, usize)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/day_20.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Image { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_char` is never used [INFO] [stdout] --> src/day_20.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 218 | impl Pixel { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 219 | fn as_char(self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_18.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | mem::replace(self, Self::Literal(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = mem::replace(self, Self::Literal(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_21.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | std::mem::replace(a, new_a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = std::mem::replace(a, new_a); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.56s [INFO] running `Command { std: "docker" "inspect" "4935ec1bf8d4ef047fbb0b655f8177df98c1536ae9d7122c22043b36d09e8fad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4935ec1bf8d4ef047fbb0b655f8177df98c1536ae9d7122c22043b36d09e8fad", kill_on_drop: false }` [INFO] [stdout] 4935ec1bf8d4ef047fbb0b655f8177df98c1536ae9d7122c22043b36d09e8fad [INFO] checking kstrohbeck/aoc-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%2Fkstrohbeck%2Faoc-2021" "/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/kstrohbeck/aoc-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/kstrohbeck/aoc-2021 [INFO] finished tweaking git repo https://github.com/kstrohbeck/aoc-2021 [INFO] tweaked toml for git repo https://github.com/kstrohbeck/aoc-2021 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kstrohbeck/aoc-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-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] 531200acb68ba2887f2ca8bf352082d0252d4d26f73f23833568f763675aec8f [INFO] running `Command { std: "docker" "start" "-a" "531200acb68ba2887f2ca8bf352082d0252d4d26f73f23833568f763675aec8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "531200acb68ba2887f2ca8bf352082d0252d4d26f73f23833568f763675aec8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "531200acb68ba2887f2ca8bf352082d0252d4d26f73f23833568f763675aec8f", kill_on_drop: false }` [INFO] [stdout] 531200acb68ba2887f2ca8bf352082d0252d4d26f73f23833568f763675aec8f [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] d7328b9109c207a0e6041737dde98da23557f651b1d88dae3e8ff6b83a74ae50 [INFO] running `Command { std: "docker" "start" "-a" "d7328b9109c207a0e6041737dde98da23557f651b1d88dae3e8ff6b83a74ae50", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking aoc-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/day_12.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/day_16.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | error::{Error, ErrorKind, ParseError}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::utils::Vec2d` [INFO] [stdout] --> src/day_19.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::utils::Vec2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> src/day_22.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt, ops}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/day_12.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/day_16.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | error::{Error, ErrorKind, ParseError}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::utils::Vec2d` [INFO] [stdout] --> src/day_19.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::utils::Vec2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> src/day_22.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt, ops}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eight` [INFO] [stdout] --> src/day_08.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let eight = eight.ok_or("no 8 given")?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_eight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eight` [INFO] [stdout] --> src/day_08.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let eight = eight.ok_or("no 8 given")?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_eight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_16.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | fn hex_string(mut input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_type` [INFO] [stdout] --> src/day_16.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | op_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `op_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_18.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | fn sum(mut iter: I) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | mut image, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | mut image, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_21.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_21.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_16.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | fn hex_string(mut input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_type` [INFO] [stdout] --> src/day_16.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | op_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `op_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FULL` is never used [INFO] [stdout] --> src/day_08.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 165 | impl Digit { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 166 | const EMPTY: Self = Self(0b00000000); [INFO] [stdout] 167 | const FULL: Self = Self(0b01111111); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rule_pairs` is never used [INFO] [stdout] --> src/day_14.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Rules { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 78 | fn rule_pairs(&self, pair: (char, char)) -> Option<((char, char), (char, char))> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day_15.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl State { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 72 | fn new(position: (usize, usize)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `literal` and `operator` are never used [INFO] [stdout] --> src/day_16.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Packet { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 47 | fn literal(version: u8, num: usize) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn operator(version: u8, op_type: OperatorType, subpackets: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/day_20.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Image { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_char` is never used [INFO] [stdout] --> src/day_20.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 218 | impl Pixel { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 219 | fn as_char(self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_adding` is never used [INFO] [stdout] --> src/day_22.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl Cube { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | fn try_adding(self, rhs: Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `non_overlapping` and `try_adding` are never used [INFO] [stdout] --> src/day_22.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 222 | impl Segment { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | fn non_overlapping(self, rhs: Self) -> SegmentNonOverlappingIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn try_adding(self, rhs: Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day_05.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 94 | let arrow = separated_pair(space0, tag("->"), space0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | [INFO] [stdout] 96 | / map(separated_pair(coord, arrow, coord), |(start, end)| Line { [INFO] [stdout] 97 | | start, [INFO] [stdout] 98 | | end, [INFO] [stdout] 99 | | })(input) [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_07.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 66 | fn fuel_sum(crabs: &[u64], pos: u64, dist_to_fuel: F) -> u64 [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | / crabs [INFO] [stdout] 79 | | .iter() [INFO] [stdout] 80 | | .map(|&crab| abs_min(crab, pos)) [INFO] [stdout] 81 | | .map(dist_to_fuel) [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_08.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 153 | let signals = sep_array_10(space1, digit); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | let sep = separated_pair(space0, char_('|'), space0); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | let output = sep_array_4(space1, digit); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | / map(separated_pair(signals, sep, output), |(signals, output)| { [INFO] [stdout] 157 | | Entry { signals, output } [INFO] [stdout] 158 | | })(input) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day_16.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 256 | move |slice: BitSlice| { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | let head = BitSlice { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 275 | let rest = BitSlice { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | Ok((rest, head)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day_16.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 292 | move |slice: BitSlice| { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | let mut acc = 0u8.into(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 331 | | BitSlice { [INFO] [stdout] 332 | | input: slice.input.slice(num_bytes..), [INFO] [stdout] 333 | | start_offset: new_offset, [INFO] [stdout] ... | [INFO] [stdout] 336 | | acc, [INFO] [stdout] 337 | | )) [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_18.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | .map(|(a, b)| (a.clone() + b.clone()).magnitude()) [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_18.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 38 | fn pair(left: SfNum, right: SfNum) -> Self { [INFO] [stdout] | ----------- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Self::Pair(Box::new(left), Box::new(right)) [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_18.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 38 | fn pair(left: SfNum, right: SfNum) -> Self { [INFO] [stdout] | ----------- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Self::Pair(Box::new(left), Box::new(right)) [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: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_18.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | mem::replace(self, Self::Literal(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = mem::replace(self, Self::Literal(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day_18.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 156 | fn sum(mut iter: I) -> Self [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | iter.reduce(|acc, n| acc + n).unwrap_or(Self::Literal(0)) [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: variable does not need to be mutable [INFO] [stdout] --> src/day_18.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | fn sum(mut iter: I) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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_18.rs:160:49 [INFO] [stdout] | [INFO] [stdout] 156 | fn sum(mut iter: I) -> Self [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | iter.reduce(|acc, n| acc + n).unwrap_or(Self::Literal(0)) [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_20.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 183 | let mut builder = ImageBuilder::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | Ok((input, builder.build())) [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: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_21.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | std::mem::replace(a, new_a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = std::mem::replace(a, new_a); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse(mut parser: F, input: I) -> O [INFO] [stdout] | ------------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | parser.parse(input).unwrap().1 [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/utils.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 28 | mut sep: G, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | mut parser: F, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | move |mut input| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let array = unsafe { array.as_ptr().cast::<[O; $num]>().read() }; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | Ok((input, array)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | / sep_arrays! { [INFO] [stdout] 65 | | sep_array_4, 4, [INFO] [stdout] 66 | | sep_array_5, 5, [INFO] [stdout] 67 | | sep_array_10, 10 [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `sep_arrays` (in Nightly builds, run with -Z macro-backtrace for more info) [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/utils.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn map(self, f: F) -> Vec2d [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | data: self.data.into_iter().map(f).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 14 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | mut image, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | mut image, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2021` (bin "aoc-2021") due to 15 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_21.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_21.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FULL` is never used [INFO] [stdout] --> src/day_08.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 165 | impl Digit { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 166 | const EMPTY: Self = Self(0b00000000); [INFO] [stdout] 167 | const FULL: Self = Self(0b01111111); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rule_pairs` is never used [INFO] [stdout] --> src/day_14.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Rules { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 78 | fn rule_pairs(&self, pair: (char, char)) -> Option<((char, char), (char, char))> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/day_15.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl State { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 72 | fn new(position: (usize, usize)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/day_20.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Image { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_char` is never used [INFO] [stdout] --> src/day_20.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 218 | impl Pixel { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 219 | fn as_char(self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day_05.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 94 | let arrow = separated_pair(space0, tag("->"), space0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | [INFO] [stdout] 96 | / map(separated_pair(coord, arrow, coord), |(start, end)| Line { [INFO] [stdout] 97 | | start, [INFO] [stdout] 98 | | end, [INFO] [stdout] 99 | | })(input) [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_07.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 66 | fn fuel_sum(crabs: &[u64], pos: u64, dist_to_fuel: F) -> u64 [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | / crabs [INFO] [stdout] 79 | | .iter() [INFO] [stdout] 80 | | .map(|&crab| abs_min(crab, pos)) [INFO] [stdout] 81 | | .map(dist_to_fuel) [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_08.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 153 | let signals = sep_array_10(space1, digit); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | let sep = separated_pair(space0, char_('|'), space0); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | let output = sep_array_4(space1, digit); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | / map(separated_pair(signals, sep, output), |(signals, output)| { [INFO] [stdout] 157 | | Entry { signals, output } [INFO] [stdout] 158 | | })(input) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day_16.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 256 | move |slice: BitSlice| { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | let head = BitSlice { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 275 | let rest = BitSlice { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | Ok((rest, head)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day_16.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 292 | move |slice: BitSlice| { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | let mut acc = 0u8.into(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 331 | | BitSlice { [INFO] [stdout] 332 | | input: slice.input.slice(num_bytes..), [INFO] [stdout] 333 | | start_offset: new_offset, [INFO] [stdout] ... | [INFO] [stdout] 336 | | acc, [INFO] [stdout] 337 | | )) [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_18.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | .map(|(a, b)| (a.clone() + b.clone()).magnitude()) [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_18.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 38 | fn pair(left: SfNum, right: SfNum) -> Self { [INFO] [stdout] | ----------- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Self::Pair(Box::new(left), Box::new(right)) [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_18.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 38 | fn pair(left: SfNum, right: SfNum) -> Self { [INFO] [stdout] | ----------- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Self::Pair(Box::new(left), Box::new(right)) [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: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_18.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | mem::replace(self, Self::Literal(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = mem::replace(self, Self::Literal(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day_18.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 156 | fn sum(mut iter: I) -> Self [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | iter.reduce(|acc, n| acc + n).unwrap_or(Self::Literal(0)) [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_18.rs:160:49 [INFO] [stdout] | [INFO] [stdout] 156 | fn sum(mut iter: I) -> Self [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | iter.reduce(|acc, n| acc + n).unwrap_or(Self::Literal(0)) [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_18.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | .map(|n| sf_num(n).unwrap().1) [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_20.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 183 | let mut builder = ImageBuilder::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | Ok((input, builder.build())) [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: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day_21.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | std::mem::replace(a, new_a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = std::mem::replace(a, new_a); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse(mut parser: F, input: I) -> O [INFO] [stdout] | ------------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | parser.parse(input).unwrap().1 [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/utils.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 28 | mut sep: G, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | mut parser: F, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | move |mut input| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let array = unsafe { array.as_ptr().cast::<[O; $num]>().read() }; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | Ok((input, array)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | / sep_arrays! { [INFO] [stdout] 65 | | sep_array_4, 4, [INFO] [stdout] 66 | | sep_array_5, 5, [INFO] [stdout] 67 | | sep_array_10, 10 [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `sep_arrays` (in Nightly builds, run with -Z macro-backtrace for more info) [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/utils.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn map(self, f: F) -> Vec2d [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | data: self.data.into_iter().map(f).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 15 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2021` (bin "aoc-2021" test) due to 16 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d7328b9109c207a0e6041737dde98da23557f651b1d88dae3e8ff6b83a74ae50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7328b9109c207a0e6041737dde98da23557f651b1d88dae3e8ff6b83a74ae50", kill_on_drop: false }` [INFO] [stdout] d7328b9109c207a0e6041737dde98da23557f651b1d88dae3e8ff6b83a74ae50