[INFO] cloning repository https://github.com/austinhyde/adventofcode20 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/austinhyde/adventofcode20" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faustinhyde%2Fadventofcode20", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faustinhyde%2Fadventofcode20'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3383bab50da4ce80fe57d2a9b422b579301c7220 [INFO] checking austinhyde/adventofcode20/3383bab50da4ce80fe57d2a9b422b579301c7220 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%2Faustinhyde%2Fadventofcode20" "/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/austinhyde/adventofcode20 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/austinhyde/adventofcode20 [INFO] finished tweaking git repo https://github.com/austinhyde/adventofcode20 [INFO] tweaked toml for git repo https://github.com/austinhyde/adventofcode20 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/austinhyde/adventofcode20 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-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] 578dbcf9f2548d066a4b436cad1e0a22bf3d546437921ff8e332801bacf1e62a [INFO] running `Command { std: "docker" "start" "-a" "578dbcf9f2548d066a4b436cad1e0a22bf3d546437921ff8e332801bacf1e62a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "578dbcf9f2548d066a4b436cad1e0a22bf3d546437921ff8e332801bacf1e62a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "578dbcf9f2548d066a4b436cad1e0a22bf3d546437921ff8e332801bacf1e62a", kill_on_drop: false }` [INFO] [stdout] 578dbcf9f2548d066a4b436cad1e0a22bf3d546437921ff8e332801bacf1e62a [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] e73525b969c162bea69ca168e1577e7a77e05b3b6a3f28bef3dcd4ebd57fc536 [INFO] running `Command { std: "docker" "start" "-a" "e73525b969c162bea69ca168e1577e7a77e05b3b6a3f28bef3dcd4ebd57fc536", kill_on_drop: false }` [INFO] [stderr] Checking lib v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stderr] Checking day1-expense-report v0.1.0 (/opt/rustwide/workdir/day1-expense-report) [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] --> lib/src/parse.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 37 | fn map(self, f: impl Fn(T)->U + 'a) -> BoxedParser<'a, U> where Self: Sized+'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] 38 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 39 | | let (val, rest) = self.parse(input)?; [INFO] [stdout] 40 | | Some((f(val), rest)) [INFO] [stdout] 41 | | }) [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] --> lib/src/parse.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 37 | fn map(self, f: impl Fn(T)->U + 'a) -> BoxedParser<'a, U> where Self: Sized+'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] 38 | BoxedParser::new(move |input| { [INFO] [stdout] 39 | let (val, rest) = self.parse(input)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Some((f(val), rest)) [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] --> lib/src/parse.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn and_then>(self, f: impl Fn(T) -> P2 + 'a) -> BoxedParser<'a, U> where Self: Sized+'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] 52 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 53 | | let (val, rest) = self.parse(input)?; [INFO] [stdout] 54 | | f(val).parse(rest) [INFO] [stdout] 55 | | }) [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] --> lib/src/parse.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 51 | fn and_then>(self, f: impl Fn(T) -> P2 + 'a) -> BoxedParser<'a, U> where Self: Sized+'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] 52 | BoxedParser::new(move |input| { [INFO] [stdout] 53 | let (val, rest) = self.parse(input)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | f(val).parse(rest) [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] --> lib/src/parse.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 61 | fn skip(self, second: impl Parser<'a, U> + 'a) -> BoxedParser<'a, T> where Self: Sized+'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] 62 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 63 | | let (val1, next) = self.parse(input)?; [INFO] [stdout] 64 | | let (_val2, rest) = second.parse(next)?; [INFO] [stdout] 65 | | Some((val1, rest)) [INFO] [stdout] 66 | | }) [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] --> lib/src/parse.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 61 | fn skip(self, second: impl Parser<'a, U> + 'a) -> BoxedParser<'a, T> where Self: Sized+'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] 62 | BoxedParser::new(move |input| { [INFO] [stdout] 63 | let (val1, next) = self.parse(input)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let (_val2, rest) = second.parse(next)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Some((val1, rest)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> lib/src/parse.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 71 | fn but_really(self, second: impl Parser<'a, U> + 'a) -> BoxedParser<'a, U> where Self: Sized+'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] 72 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 73 | | let (_val1, next) = self.parse(input)?; [INFO] [stdout] 74 | | let (val2, rest) = second.parse(next)?; [INFO] [stdout] 75 | | Some((val2, rest)) [INFO] [stdout] 76 | | }) [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] --> lib/src/parse.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 71 | fn but_really(self, second: impl Parser<'a, U> + 'a) -> BoxedParser<'a, U> where Self: Sized+'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] 72 | BoxedParser::new(move |input| { [INFO] [stdout] 73 | let (_val1, next) = self.parse(input)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | let (val2, rest) = second.parse(next)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | Some((val2, rest)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> lib/src/parse.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 81 | fn then(self, second: impl Parser<'a, U> + 'a) -> BoxedParser<'a, (T, U)> where Self: Sized + '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] 82 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 83 | | let (val1, next) = self.parse(input)?; [INFO] [stdout] 84 | | let (val2, rest) = second.parse(next)?; [INFO] [stdout] 85 | | Some(((val1, val2), rest)) [INFO] [stdout] 86 | | }) [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] --> lib/src/parse.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 81 | fn then(self, second: impl Parser<'a, U> + 'a) -> BoxedParser<'a, (T, U)> where Self: Sized + '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] 82 | BoxedParser::new(move |input| { [INFO] [stdout] 83 | let (val1, next) = self.parse(input)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let (val2, rest) = second.parse(next)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | Some(((val1, val2), rest)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> lib/src/parse.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 90 | fn or(self, second: impl Parser<'a, T> + 'a) -> BoxedParser<'a, T> where Self: Sized + '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] 91 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 92 | | self.parse(input).or_else(|| second.parse(input)) [INFO] [stdout] 93 | | }) [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] --> lib/src/parse.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 90 | fn or(self, second: impl Parser<'a, T> + 'a) -> BoxedParser<'a, T> where Self: Sized + '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] 91 | BoxedParser::new(move |input| { [INFO] [stdout] 92 | self.parse(input).or_else(|| second.parse(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] --> lib/src/parse.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 97 | fn filter(self, f: impl Fn(&T)->bool + 'a) -> BoxedParser<'a, T> where Self: Sized+'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] 98 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 99 | | let (val, rest) = self.parse(input)?; [INFO] [stdout] 100 | | if f(&val) { [INFO] [stdout] 101 | | Some((val, rest)) [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | }) [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] --> lib/src/parse.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 149 | fn repeat_delimited(self, rep: impl Into + 'a, sep: impl Parser<'a, U> + 'a) -> BoxedParser<'a, Vec> where Self: Si... [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | let rep = rep.into(); [INFO] [stdout] 151 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 152 | | let mut input = input; [INFO] [stdout] 153 | | let mut result = Vec::new(); [INFO] [stdout] 154 | | let mut is_first = true; [INFO] [stdout] ... | [INFO] [stdout] 195 | | Some((result, input)) [INFO] [stdout] 196 | | }) [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] --> lib/src/parse.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 149 | fn repeat_delimited(self, rep: impl Into + 'a, sep: impl Parser<'a, U> + 'a) -> BoxedParser<'a, Vec> where Self: Si... [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] 153 | let mut result = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | Some((result, 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] --> lib/src/parse.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 211 | fn up_until(self, other: impl Parser<'a, U> + 'a) -> BoxedParser<'a, Vec> where Self: Sized+'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] 212 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 213 | | let mut input = input; [INFO] [stdout] 214 | | let mut result = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }) [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] --> lib/src/parse.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 236 | fn new(parser: impl Parser<'a, T> + 'a) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | Self { parser: Box::new(parser) } [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] --> lib/src/parse.rs:346:59 [INFO] [stdout] | [INFO] [stdout] 346 | .fold(BoxedParser::new(fail), |acc, p| acc.or(literal(p))) [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] --> lib/src/grid.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn from_lines_chars(s: &str, parse: impl Fn(char)->T) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Self { [INFO] [stdout] 9 | cells: s [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | .lines() [INFO] [stdout] 11 | | .map(|l| { [INFO] [stdout] 12 | | l.chars().map(&parse).collect::>() [INFO] [stdout] 13 | | }) [INFO] [stdout] 14 | | .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 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lib` (lib) due to 20 previous errors [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> lib/src/parse.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 37 | fn map(self, f: impl Fn(T)->U + 'a) -> BoxedParser<'a, U> where Self: Sized+'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] 38 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 39 | | let (val, rest) = self.parse(input)?; [INFO] [stdout] 40 | | Some((f(val), rest)) [INFO] [stdout] 41 | | }) [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] [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] --> lib/src/parse.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 37 | fn map(self, f: impl Fn(T)->U + 'a) -> BoxedParser<'a, U> where Self: Sized+'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] 38 | BoxedParser::new(move |input| { [INFO] [stdout] 39 | let (val, rest) = self.parse(input)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Some((f(val), rest)) [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] --> lib/src/parse.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn and_then>(self, f: impl Fn(T) -> P2 + 'a) -> BoxedParser<'a, U> where Self: Sized+'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] 52 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 53 | | let (val, rest) = self.parse(input)?; [INFO] [stdout] 54 | | f(val).parse(rest) [INFO] [stdout] 55 | | }) [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] --> lib/src/parse.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 51 | fn and_then>(self, f: impl Fn(T) -> P2 + 'a) -> BoxedParser<'a, U> where Self: Sized+'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] 52 | BoxedParser::new(move |input| { [INFO] [stdout] 53 | let (val, rest) = self.parse(input)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | f(val).parse(rest) [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] --> lib/src/parse.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 61 | fn skip(self, second: impl Parser<'a, U> + 'a) -> BoxedParser<'a, T> where Self: Sized+'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] 62 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 63 | | let (val1, next) = self.parse(input)?; [INFO] [stdout] 64 | | let (_val2, rest) = second.parse(next)?; [INFO] [stdout] 65 | | Some((val1, rest)) [INFO] [stdout] 66 | | }) [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] --> lib/src/parse.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 61 | fn skip(self, second: impl Parser<'a, U> + 'a) -> BoxedParser<'a, T> where Self: Sized+'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] 62 | BoxedParser::new(move |input| { [INFO] [stdout] 63 | let (val1, next) = self.parse(input)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let (_val2, rest) = second.parse(next)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Some((val1, rest)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> lib/src/parse.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 71 | fn but_really(self, second: impl Parser<'a, U> + 'a) -> BoxedParser<'a, U> where Self: Sized+'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] 72 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 73 | | let (_val1, next) = self.parse(input)?; [INFO] [stdout] 74 | | let (val2, rest) = second.parse(next)?; [INFO] [stdout] 75 | | Some((val2, rest)) [INFO] [stdout] 76 | | }) [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] --> lib/src/parse.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 71 | fn but_really(self, second: impl Parser<'a, U> + 'a) -> BoxedParser<'a, U> where Self: Sized+'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] 72 | BoxedParser::new(move |input| { [INFO] [stdout] 73 | let (_val1, next) = self.parse(input)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | let (val2, rest) = second.parse(next)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | Some((val2, rest)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> lib/src/parse.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 81 | fn then(self, second: impl Parser<'a, U> + 'a) -> BoxedParser<'a, (T, U)> where Self: Sized + '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] 82 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 83 | | let (val1, next) = self.parse(input)?; [INFO] [stdout] 84 | | let (val2, rest) = second.parse(next)?; [INFO] [stdout] 85 | | Some(((val1, val2), rest)) [INFO] [stdout] 86 | | }) [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] --> lib/src/parse.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 81 | fn then(self, second: impl Parser<'a, U> + 'a) -> BoxedParser<'a, (T, U)> where Self: Sized + '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] 82 | BoxedParser::new(move |input| { [INFO] [stdout] 83 | let (val1, next) = self.parse(input)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let (val2, rest) = second.parse(next)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | Some(((val1, val2), rest)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> lib/src/parse.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 90 | fn or(self, second: impl Parser<'a, T> + 'a) -> BoxedParser<'a, T> where Self: Sized + '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] 91 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 92 | | self.parse(input).or_else(|| second.parse(input)) [INFO] [stdout] 93 | | }) [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] --> lib/src/parse.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 90 | fn or(self, second: impl Parser<'a, T> + 'a) -> BoxedParser<'a, T> where Self: Sized + '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] 91 | BoxedParser::new(move |input| { [INFO] [stdout] 92 | self.parse(input).or_else(|| second.parse(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] --> lib/src/parse.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 97 | fn filter(self, f: impl Fn(&T)->bool + 'a) -> BoxedParser<'a, T> where Self: Sized+'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] 98 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 99 | | let (val, rest) = self.parse(input)?; [INFO] [stdout] 100 | | if f(&val) { [INFO] [stdout] 101 | | Some((val, rest)) [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | }) [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] --> lib/src/parse.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 149 | fn repeat_delimited(self, rep: impl Into + 'a, sep: impl Parser<'a, U> + 'a) -> BoxedParser<'a, Vec> where Self: Si... [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | let rep = rep.into(); [INFO] [stdout] 151 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 152 | | let mut input = input; [INFO] [stdout] 153 | | let mut result = Vec::new(); [INFO] [stdout] 154 | | let mut is_first = true; [INFO] [stdout] ... | [INFO] [stdout] 195 | | Some((result, input)) [INFO] [stdout] 196 | | }) [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] --> lib/src/parse.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 149 | fn repeat_delimited(self, rep: impl Into + 'a, sep: impl Parser<'a, U> + 'a) -> BoxedParser<'a, Vec> where Self: Si... [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] 153 | let mut result = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | Some((result, 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] --> lib/src/parse.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 211 | fn up_until(self, other: impl Parser<'a, U> + 'a) -> BoxedParser<'a, Vec> where Self: Sized+'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] 212 | BoxedParser::new(move |input| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 213 | | let mut input = input; [INFO] [stdout] 214 | | let mut result = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | }) [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] --> lib/src/parse.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 236 | fn new(parser: impl Parser<'a, T> + 'a) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | Self { parser: Box::new(parser) } [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] --> lib/src/parse.rs:346:59 [INFO] [stdout] | [INFO] [stdout] 346 | .fold(BoxedParser::new(fail), |acc, p| acc.or(literal(p))) [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] --> lib/src/grid.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn from_lines_chars(s: &str, parse: impl Fn(char)->T) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Self { [INFO] [stdout] 9 | cells: s [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | .lines() [INFO] [stdout] 11 | | .map(|l| { [INFO] [stdout] 12 | | l.chars().map(&parse).collect::>() [INFO] [stdout] 13 | | }) [INFO] [stdout] 14 | | .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 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lib` (lib test) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "e73525b969c162bea69ca168e1577e7a77e05b3b6a3f28bef3dcd4ebd57fc536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e73525b969c162bea69ca168e1577e7a77e05b3b6a3f28bef3dcd4ebd57fc536", kill_on_drop: false }` [INFO] [stdout] e73525b969c162bea69ca168e1577e7a77e05b3b6a3f28bef3dcd4ebd57fc536