[INFO] cloning repository https://github.com/Pascal-So/aoc_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pascal-So/aoc_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPascal-So%2Faoc_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPascal-So%2Faoc_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0820590ff2dc1fc29861781ef73edf250a377ae9 [INFO] checking Pascal-So/aoc_rust/0820590ff2dc1fc29861781ef73edf250a377ae9 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%2FPascal-So%2Faoc_rust" "/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/Pascal-So/aoc_rust 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/Pascal-So/aoc_rust [INFO] finished tweaking git repo https://github.com/Pascal-So/aoc_rust [INFO] tweaked toml for git repo https://github.com/Pascal-So/aoc_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Pascal-So/aoc_rust 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] 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07d49fd47fc06bf78c7709214194b3afa80180227f0775be820418bfc4fbe165 [INFO] running `Command { std: "docker" "start" "-a" "07d49fd47fc06bf78c7709214194b3afa80180227f0775be820418bfc4fbe165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07d49fd47fc06bf78c7709214194b3afa80180227f0775be820418bfc4fbe165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d49fd47fc06bf78c7709214194b3afa80180227f0775be820418bfc4fbe165", kill_on_drop: false }` [INFO] [stdout] 07d49fd47fc06bf78c7709214194b3afa80180227f0775be820418bfc4fbe165 [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9e1d7719ed82ea5ad52f6eaf20ef5f4e1f5c66654ccf65a7cb8331d154543fe [INFO] running `Command { std: "docker" "start" "-a" "d9e1d7719ed82ea5ad52f6eaf20ef5f4e1f5c66654ccf65a7cb8331d154543fe", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking simba v0.3.1 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking rand_distr v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking pathfinding v3.0.5 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking combine v4.6.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking modinverse v0.1.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking impl_ops v0.1.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling deku_derive v0.12.5 [INFO] [stderr] Checking nalgebra v0.24.1 [INFO] [stderr] Checking deku v0.12.5 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Checking advent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `char` [INFO] [stdout] --> src/y2021/d05.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | character::complete::{char, i32}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `char` [INFO] [stdout] --> src/y2021/d05.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | character::complete::{char, i32}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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/io.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn file(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | Ok(BufReader::new(File::open(path)?)) [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/io.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_iter(buf: B, sep: u8, skip_empty: bool) -> impl Iterator> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | buf.split(sep).zip(1..).filter_map(move |(entry, nr)| { [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/io.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | buf.split(sep).zip(1..).filter_map(move |(entry, nr)| { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | / (|| { [INFO] [stdout] 21 | | let s = String::from_utf8(entry.context(format!("Cannot read entry {}", nr))?) [INFO] [stdout] 22 | | .context(format!("Cannot read entry {}", nr))?; [INFO] [stdout] 23 | | let trimmed = s.trim(); [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | })() [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/io.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn parse_vec(buf: B, sep: u8, skip_empty: bool) -> Result> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | parse_iter(buf, sep, skip_empty).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 6 | mut p: P, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | i: Input, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | Ok(p.easy_parse(i) [INFO] [stdout] | ________^ [INFO] [stdout] 17 | | .map_err(|e| anyhow!("Parser error {:?}", e))? [INFO] [stdout] 18 | | .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/y2020/d02.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn solve(buf: impl BufRead) -> Result<(i32, i32)> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | / buf.split(b'\n') [INFO] [stdout] 42 | | .map(|line| -> Result { parse_rule(&line?) }) [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/y2021/d05.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse(buf: impl BufRead) -> Result> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | / buf.split(b'\n') [INFO] [stdout] 27 | | .zip(1..) [INFO] [stdout] 28 | | .map(|(line, idx)| -> Result { [INFO] [stdout] 29 | | parse_line(&line?).map_err(|e| anyhow!("Cannot parse line {}: {}", idx, e)) [INFO] [stdout] 30 | | }) [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/y2021/d05.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 28 | .map(|(line, idx)| -> Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | parse_line(&line?).map_err(|e| anyhow!("Cannot parse line {}: {}", idx, e)) [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/y2021/d16.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 116 | let mut out = BitVec::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | Ok((&rest[consumed_bits..], out)) [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/y2021/d18.rs:120:110 [INFO] [stdout] | [INFO] [stdout] 120 | between(byte(b'['), byte(b']'), number().skip(byte(b',')).and(number())).map(|pair| Number::Pair(Box::new(pair))), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/y2022/d01.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn parse_opt(buf: B, sep: u8, skip_empty: bool) -> impl Iterator>> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | buf.split(sep).zip(1..).map(move |(entry, nr)| { [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/y2022/d01.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | buf.split(sep).zip(1..).map(move |(entry, nr)| { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | / (|| { [INFO] [stdout] 15 | | let s = String::from_utf8(entry.context(format!("Cannot read entry {}", nr))?) [INFO] [stdout] 16 | | .context(format!("Cannot read entry {}", nr))?; [INFO] [stdout] 17 | | let trimmed = s.trim(); [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | })() [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 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent` (lib) due to 13 previous errors; 1 warning 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/io.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn file(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | Ok(BufReader::new(File::open(path)?)) [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/io.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_iter(buf: B, sep: u8, skip_empty: bool) -> impl Iterator> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | buf.split(sep).zip(1..).filter_map(move |(entry, nr)| { [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/io.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | buf.split(sep).zip(1..).filter_map(move |(entry, nr)| { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | / (|| { [INFO] [stdout] 21 | | let s = String::from_utf8(entry.context(format!("Cannot read entry {}", nr))?) [INFO] [stdout] 22 | | .context(format!("Cannot read entry {}", nr))?; [INFO] [stdout] 23 | | let trimmed = s.trim(); [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | })() [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/io.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn parse_vec(buf: B, sep: u8, skip_empty: bool) -> Result> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | parse_iter(buf, sep, skip_empty).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 6 | mut p: P, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | i: Input, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | Ok(p.easy_parse(i) [INFO] [stdout] | ________^ [INFO] [stdout] 17 | | .map_err(|e| anyhow!("Parser error {:?}", e))? [INFO] [stdout] 18 | | .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/y2020/d02.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn solve(buf: impl BufRead) -> Result<(i32, i32)> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | / buf.split(b'\n') [INFO] [stdout] 42 | | .map(|line| -> Result { parse_rule(&line?) }) [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/y2021/d05.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse(buf: impl BufRead) -> Result> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | / buf.split(b'\n') [INFO] [stdout] 27 | | .zip(1..) [INFO] [stdout] 28 | | .map(|(line, idx)| -> Result { [INFO] [stdout] 29 | | parse_line(&line?).map_err(|e| anyhow!("Cannot parse line {}: {}", idx, e)) [INFO] [stdout] 30 | | }) [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/y2021/d05.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 28 | .map(|(line, idx)| -> Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | parse_line(&line?).map_err(|e| anyhow!("Cannot parse line {}: {}", idx, e)) [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/y2021/d16.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 116 | let mut out = BitVec::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | Ok((&rest[consumed_bits..], out)) [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/y2021/d18.rs:120:110 [INFO] [stdout] | [INFO] [stdout] 120 | between(byte(b'['), byte(b']'), number().skip(byte(b',')).and(number())).map(|pair| Number::Pair(Box::new(pair))), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/y2022/d01.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn parse_opt(buf: B, sep: u8, skip_empty: bool) -> impl Iterator>> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | buf.split(sep).zip(1..).map(move |(entry, nr)| { [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/y2022/d01.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | buf.split(sep).zip(1..).map(move |(entry, nr)| { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | / (|| { [INFO] [stdout] 15 | | let s = String::from_utf8(entry.context(format!("Cannot read entry {}", nr))?) [INFO] [stdout] 16 | | .context(format!("Cannot read entry {}", nr))?; [INFO] [stdout] 17 | | let trimmed = s.trim(); [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | })() [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 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent` (lib test) due to 13 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d9e1d7719ed82ea5ad52f6eaf20ef5f4e1f5c66654ccf65a7cb8331d154543fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e1d7719ed82ea5ad52f6eaf20ef5f4e1f5c66654ccf65a7cb8331d154543fe", kill_on_drop: false }` [INFO] [stdout] d9e1d7719ed82ea5ad52f6eaf20ef5f4e1f5c66654ccf65a7cb8331d154543fe