[INFO] cloning repository https://github.com/Bigomby/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bigomby/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigomby%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigomby%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2f74024f79363e2e185cf2d82587c820c8e3111 [INFO] checking Bigomby/aoc2020/c2f74024f79363e2e185cf2d82587c820c8e3111 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigomby%2Faoc2020" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bigomby/aoc2020 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bigomby/aoc2020 [INFO] finished tweaking git repo https://github.com/Bigomby/aoc2020 [INFO] tweaked toml for git repo https://github.com/Bigomby/aoc2020 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Bigomby/aoc2020 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccb625dc01b72f923d7d92a263c32cddfe82c4249fd4fba6aecfde180b2d0847 [INFO] running `Command { std: "docker" "start" "-a" "ccb625dc01b72f923d7d92a263c32cddfe82c4249fd4fba6aecfde180b2d0847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccb625dc01b72f923d7d92a263c32cddfe82c4249fd4fba6aecfde180b2d0847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccb625dc01b72f923d7d92a263c32cddfe82c4249fd4fba6aecfde180b2d0847", kill_on_drop: false }` [INFO] [stdout] ccb625dc01b72f923d7d92a263c32cddfe82c4249fd4fba6aecfde180b2d0847 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b55b3f583d83f6e451d374a7d907fc30493ab0d3d897c11e03544200ac02cac [INFO] running `Command { std: "docker" "start" "-a" "6b55b3f583d83f6e451d374a7d907fc30493ab0d3d897c11e03544200ac02cac", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stderr] Checking aoc2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `destructuring_assignment` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `destructuring_assignment` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(destructuring_assignment)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `build` and `solve` are never used [INFO] [stdout] --> src/lib/puzzles/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Puzzle { [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] 12 | fn build(input: String) -> Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | fn solve(&self) -> T; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part1` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle02.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve_part1<'a, I: Into<&'a str>>(input: I) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part2` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle02.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn solve_part2<'a, I: Into<&'a str>>(input: I) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_part1` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle02.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn verify_part1(min: &usize, max: &usize, target: &char, data: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_part2` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle02.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn verify_part2(a: &usize, b: &usize, target: &char, data: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_entry` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle02.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_entry(raw: &str) -> Result<(usize, usize, char, &str), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part1` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle06.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn solve_part1<'a, I: Into<&'a str>>(input: I) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part2` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle06.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn solve_part2<'a, I: Into<&'a str>>(input: I) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RVec` is never constructed [INFO] [stdout] --> src/lib/puzzles/puzzle07.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct RVec(T, Vec>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part1` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle07.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn solve_part1(input: Lines) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part2` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle07.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn solve_part2(input: Lines) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace_path` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle07.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn trace_path<'a>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_db` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle07.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn flatten_db<'a>(ps: &'a RVec<(&str, usize)>) -> Vec<(&'a str, usize)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_db` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle07.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn build_db( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_db_rev` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle07.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn build_db_rev( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_total` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle07.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn compute_total(db: &RVec<(&str, usize)>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part1` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle08.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn solve_part1(input: Lines) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part2` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle08.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn solve_part2(input: Lines) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_instruction` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle08.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn execute_instruction(pc: usize, acc: i32, instruction: &Instruction) -> (usize, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swap_instructions` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle08.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn swap_instructions(instructions: &Vec, a: usize, b: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part1` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle09.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn solve_part1(input: Lines, window_size: usize) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_part2` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle09.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn solve_part2(input: Lines, window_size: usize) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_sums_list` is never used [INFO] [stdout] --> src/lib/puzzles/puzzle09.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn compute_sums_list(input: &Vec, start: usize, target: i64) -> 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/lib/lib.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn decode_lines<'a, I, T, F>(input: I, decode: F) -> impl Iterator + 'a [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] 13 | input.into().split("\n").map(move |a| decode(a)) [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/lib/lib.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn decode_lines_group<'a, I, T, F>(input: I, decode: F) -> impl Iterator + 'a [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 | input.into().split("\n\n").map(move |a| decode(a)) [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/lib/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn concat_vec(a: Vec, b: Vec) -> impl Iterator { [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] 64 | a.into_iter().chain(b.into_iter()) [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/lib/lib.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn concat_vec(a: Vec, b: Vec) -> impl Iterator { [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] 64 | a.into_iter().chain(b.into_iter()) [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/lib/puzzles/puzzle02.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve_part1<'a, I: Into<&'a str>>(input: I) -> i32 { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | / decode_lines(input, |s| parse_entry(s).unwrap()) [INFO] [stdout] 7 | | .filter(|&(min, max, target, data)| verify_part1(&min, &max, &target, data)) [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/lib/puzzles/puzzle02.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | decode_lines(input, |s| parse_entry(s).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/puzzles/puzzle02.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn solve_part2<'a, I: Into<&'a str>>(input: I) -> i32 { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | / decode_lines(input, |s| parse_entry(s).unwrap()) [INFO] [stdout] 13 | | .filter(|&(min, max, target, data)| verify_part2(&min, &max, &target, data)) [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/lib/puzzles/puzzle02.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | decode_lines(input, |s| parse_entry(s).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: panic message is not a string literal [INFO] [stdout] --> src/lib/puzzles/puzzle03.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | c => panic!(format!("Invalid character found: '{}'", c)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 78 - c => panic!(format!("Invalid character found: '{}'", c)), [INFO] [stdout] 78 + c => panic!("Invalid character found: '{}'", c), [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/lib/puzzles/puzzle06.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | fn solve_part1<'a, I: Into<&'a str>>(input: I) -> i32 { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | decode_lines_group(input, |s| s.chars().filter(|&c| c != '\n').unique().count()).sum::() [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/lib/puzzles/puzzle06.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | fn solve_part2<'a, I: Into<&'a str>>(input: I) -> i32 { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | / decode_lines_group(input, |group| (group, group.split("\n").count())) [INFO] [stdout] 12 | | .map(|(group, group_size)| { [INFO] [stdout] 13 | | frequencies(group) [INFO] [stdout] 14 | | .filter(|(c, count)| *c != '\n' && *count == group_size) [INFO] [stdout] 15 | | .count() [INFO] [stdout] 16 | | }) [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 10 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` (lib) due to 11 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/lib.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn decode_lines<'a, I, T, F>(input: I, decode: F) -> impl Iterator + 'a [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] 13 | input.into().split("\n").map(move |a| decode(a)) [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/lib/lib.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn decode_lines_group<'a, I, T, F>(input: I, decode: F) -> impl Iterator + 'a [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 | input.into().split("\n\n").map(move |a| decode(a)) [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/lib/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn concat_vec(a: Vec, b: Vec) -> impl Iterator { [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] 64 | a.into_iter().chain(b.into_iter()) [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/lib/lib.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn concat_vec(a: Vec, b: Vec) -> impl Iterator { [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] 64 | a.into_iter().chain(b.into_iter()) [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/lib/puzzles/puzzle02.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve_part1<'a, I: Into<&'a str>>(input: I) -> i32 { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | / decode_lines(input, |s| parse_entry(s).unwrap()) [INFO] [stdout] 7 | | .filter(|&(min, max, target, data)| verify_part1(&min, &max, &target, data)) [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/lib/puzzles/puzzle02.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | decode_lines(input, |s| parse_entry(s).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/puzzles/puzzle02.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn solve_part2<'a, I: Into<&'a str>>(input: I) -> i32 { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | / decode_lines(input, |s| parse_entry(s).unwrap()) [INFO] [stdout] 13 | | .filter(|&(min, max, target, data)| verify_part2(&min, &max, &target, data)) [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/lib/puzzles/puzzle02.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | decode_lines(input, |s| parse_entry(s).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: panic message is not a string literal [INFO] [stdout] --> src/lib/puzzles/puzzle03.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | c => panic!(format!("Invalid character found: '{}'", c)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 78 - c => panic!(format!("Invalid character found: '{}'", c)), [INFO] [stdout] 78 + c => panic!("Invalid character found: '{}'", c), [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/lib/puzzles/puzzle06.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | fn solve_part1<'a, I: Into<&'a str>>(input: I) -> i32 { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | decode_lines_group(input, |s| s.chars().filter(|&c| c != '\n').unique().count()).sum::() [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/lib/puzzles/puzzle06.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | fn solve_part2<'a, I: Into<&'a str>>(input: I) -> i32 { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | / decode_lines_group(input, |group| (group, group.split("\n").count())) [INFO] [stdout] 12 | | .map(|(group, group_size)| { [INFO] [stdout] 13 | | frequencies(group) [INFO] [stdout] 14 | | .filter(|(c, count)| *c != '\n' && *count == group_size) [INFO] [stdout] 15 | | .count() [INFO] [stdout] 16 | | }) [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 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2020` (lib test) due to 11 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6b55b3f583d83f6e451d374a7d907fc30493ab0d3d897c11e03544200ac02cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b55b3f583d83f6e451d374a7d907fc30493ab0d3d897c11e03544200ac02cac", kill_on_drop: false }` [INFO] [stdout] 6b55b3f583d83f6e451d374a7d907fc30493ab0d3d897c11e03544200ac02cac