[INFO] fetching crate parse_me 0.6.0... [INFO] checking parse_me-0.6.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate parse_me 0.6.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate parse_me 0.6.0 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 crates.io crate parse_me 0.6.0 [INFO] finished tweaking crates.io crate parse_me 0.6.0 [INFO] tweaked toml for crates.io crate parse_me 0.6.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [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] 493823e66289f04bedce1539b05ad4a1911255cff74068d9ee434789080af086 [INFO] running `Command { std: "docker" "start" "-a" "493823e66289f04bedce1539b05ad4a1911255cff74068d9ee434789080af086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "493823e66289f04bedce1539b05ad4a1911255cff74068d9ee434789080af086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "493823e66289f04bedce1539b05ad4a1911255cff74068d9ee434789080af086", kill_on_drop: false }` [INFO] [stdout] 493823e66289f04bedce1539b05ad4a1911255cff74068d9ee434789080af086 [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] 3803c1b1ad4ab9e7111b9b7923730e62179807b8df17d5f0733954885005b275 [INFO] running `Command { std: "docker" "start" "-a" "3803c1b1ad4ab9e7111b9b7923730e62179807b8df17d5f0733954885005b275", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking parse_me v0.6.0 (/opt/rustwide/workdir) [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.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn parse_from_context(ctx: Context, parser: Parser) -> Result, Failure> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | match parser(ctx) { [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/parsers/optional.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn optional(parser: Parser) -> Parser> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Box::new(move |ctx: Context| match parser(ctx.clone()) { [INFO] [stdout] | ______________^ [INFO] [stdout] 21 | | Ok(res) => Ok(Success::new(Some(res.val), res.ctx)), [INFO] [stdout] 22 | | Err(_) => Ok(Success::new(None, ctx)), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsers/optional.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn optional(parser: Parser) -> Parser> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Box::new(move |ctx: Context| match parser(ctx.clone()) { [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/parsers/sequence.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn sequence(parsers: Vec>) -> Parser> { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | Box::new(move |mut ctx: Context| { [INFO] [stdout] | ______________^ [INFO] [stdout] 47 | | let mut result = Vec::new(); [INFO] [stdout] 48 | | for parser in parsers.iter() { [INFO] [stdout] 49 | | match parser(ctx.clone()) { [INFO] [stdout] ... | [INFO] [stdout] 61 | | return Ok(Success::new(result, ctx)); [INFO] [stdout] 62 | | }) [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/parsers/any.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn any(parsers: Vec>) -> Parser { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Box::new(move |ctx: Context| { [INFO] [stdout] | ______________^ [INFO] [stdout] 44 | | let mut err_exps = Vec::new(); [INFO] [stdout] 45 | | let mut err_p_types = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 68 | | )); [INFO] [stdout] 69 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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/parsers/map.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 28 | parser: Parser, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Box::new(move |ctx: Context| { [INFO] [stdout] | ______________^ [INFO] [stdout] 32 | | let res = match parser(ctx.clone()) { [INFO] [stdout] 33 | | Ok(res) => res, [INFO] [stdout] 34 | | Err(mut err) => { [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | }) [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/parsers/map.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 28 | parser: Parser, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let res = match parser(ctx.clone()) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | Ok(res) => res, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | match mapper(res) { [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/parsers/forget.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn forget(parser: Parser) -> Parser<()> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Box::new(move |ctx: Context| match parser(ctx) { [INFO] [stdout] | ______________^ [INFO] [stdout] 18 | | Ok(res) => Ok(Success::new((), res.ctx)), [INFO] [stdout] 19 | | Err(mut err) => { [INFO] [stdout] 20 | | err.p_type_stack.push(ParserType::Forget); [INFO] [stdout] 21 | | Err(err) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsers/forget.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn forget(parser: Parser) -> Parser<()> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Box::new(move |ctx: Context| match parser(ctx) { [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.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn parse_from_context(ctx: Context, parser: Parser) -> Result, Failure> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | match parser(ctx) { [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/parsers/many.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn many(parser: Parser) -> Parser> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | Box::new(move |mut ctx: Context| { [INFO] [stdout] | ______________^ [INFO] [stdout] 13 | | let mut ret = Vec::new(); [INFO] [stdout] 14 | | [INFO] [stdout] 15 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | }) [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/parsers/between.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 22 | front: Parser, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | middle: Parser, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | back: Parser, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | ) -> Parser { [INFO] [stdout] 26 | Box::new(move |ctx| { [INFO] [stdout] | ______________^ [INFO] [stdout] 27 | | let ctx = match front(ctx) { [INFO] [stdout] 28 | | Ok(res) => res.ctx, [INFO] [stdout] 29 | | Err(mut err) => { [INFO] [stdout] ... | [INFO] [stdout] 51 | | Ok(Success::new(res.val, ctx)) [INFO] [stdout] 52 | | }) [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/parsers/optional.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn optional(parser: Parser) -> Parser> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Box::new(move |ctx: Context| match parser(ctx.clone()) { [INFO] [stdout] | ______________^ [INFO] [stdout] 21 | | Ok(res) => Ok(Success::new(Some(res.val), res.ctx)), [INFO] [stdout] 22 | | Err(_) => Ok(Success::new(None, ctx)), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsers/between.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 22 | front: Parser, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | middle: Parser, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | back: Parser, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | Ok(res) => res.ctx, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let res = match middle(ctx) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Ok(res) => res, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | Ok(res) => res.ctx, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Success::new(res.val, ctx)) [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/parsers/optional.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn optional(parser: Parser) -> Parser> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Box::new(move |ctx: Context| match parser(ctx.clone()) { [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/parsers/sequence.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn sequence(parsers: Vec>) -> Parser> { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | Box::new(move |mut ctx: Context| { [INFO] [stdout] | ______________^ [INFO] [stdout] 47 | | let mut result = Vec::new(); [INFO] [stdout] 48 | | for parser in parsers.iter() { [INFO] [stdout] 49 | | match parser(ctx.clone()) { [INFO] [stdout] ... | [INFO] [stdout] 61 | | return Ok(Success::new(result, ctx)); [INFO] [stdout] 62 | | }) [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/parsers/any.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn any(parsers: Vec>) -> Parser { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Box::new(move |ctx: Context| { [INFO] [stdout] | ______________^ [INFO] [stdout] 44 | | let mut err_exps = Vec::new(); [INFO] [stdout] 45 | | let mut err_p_types = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 68 | | )); [INFO] [stdout] 69 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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/parsers/map.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 28 | parser: Parser, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Box::new(move |ctx: Context| { [INFO] [stdout] | ______________^ [INFO] [stdout] 32 | | let res = match parser(ctx.clone()) { [INFO] [stdout] 33 | | Ok(res) => res, [INFO] [stdout] 34 | | Err(mut err) => { [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | }) [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/parsers/map.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 28 | parser: Parser, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let res = match parser(ctx.clone()) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | Ok(res) => res, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | match mapper(res) { [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/parsers/exact.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn exact(parser: Parser, pos: Pos) -> Parser { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Box::new(move |ctx: Context| { [INFO] [stdout] | ______________^ [INFO] [stdout] 18 | | let prev_pos = ctx.pos; [INFO] [stdout] 19 | | let mut res = match parser(ctx) { [INFO] [stdout] 20 | | Ok(res) => res, [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | }) [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/parsers/spaces.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | Box::new(move |ctx: Context| match regex("[ ]+", "spaces")(ctx) { [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/parsers/letters.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | move |ctx: Context| match regex("[a-zA-Z]+", "letters")(ctx) { [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/parsers/integer.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | Box::new(move |ctx: Context| match regex(r"\d+", "integer")(ctx) { [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/parsers/expect.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn expect>(parser: Parser, expected: S) -> Parser { [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] 19 | Box::new(move |ctx: Context| match parser(ctx.clone()) { [INFO] [stdout] | ______________^ [INFO] [stdout] 20 | | Ok(res) => Ok(res), [INFO] [stdout] 21 | | Err(mut err) => { [INFO] [stdout] 22 | | err.exp = expected.clone(); [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | }) [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/parsers/expect.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn expect>(parser: Parser, expected: S) -> Parser { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | Box::new(move |ctx: Context| match parser(ctx.clone()) { [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/parsers/surely.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn surely(parser: Parser) -> Parser { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Box::new(move |ctx: Context| match parser(ctx) { [INFO] [stdout] | ______________^ [INFO] [stdout] 18 | | Ok(res) => Ok(res), [INFO] [stdout] 19 | | Err(mut err) => { [INFO] [stdout] 20 | | err.exp = format!("surely `{}`", err.exp); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | }) [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/parsers/surely.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn surely(parser: Parser) -> Parser { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Box::new(move |ctx: Context| match parser(ctx) { [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/parsers/forget.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn forget(parser: Parser) -> Parser<()> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Box::new(move |ctx: Context| match parser(ctx) { [INFO] [stdout] | ______________^ [INFO] [stdout] 18 | | Ok(res) => Ok(Success::new((), res.ctx)), [INFO] [stdout] 19 | | Err(mut err) => { [INFO] [stdout] 20 | | err.p_type_stack.push(ParserType::Forget); [INFO] [stdout] 21 | | Err(err) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsers/forget.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn forget(parser: Parser) -> Parser<()> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Box::new(move |ctx: Context| match parser(ctx) { [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/parsers/many.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn many(parser: Parser) -> Parser> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | Box::new(move |mut ctx: Context| { [INFO] [stdout] | ______________^ [INFO] [stdout] 13 | | let mut ret = Vec::new(); [INFO] [stdout] 14 | | [INFO] [stdout] 15 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | }) [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/parsers/between.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 22 | front: Parser, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | middle: Parser, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | back: Parser, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | ) -> Parser { [INFO] [stdout] 26 | Box::new(move |ctx| { [INFO] [stdout] | ______________^ [INFO] [stdout] 27 | | let ctx = match front(ctx) { [INFO] [stdout] 28 | | Ok(res) => res.ctx, [INFO] [stdout] 29 | | Err(mut err) => { [INFO] [stdout] ... | [INFO] [stdout] 51 | | Ok(Success::new(res.val, ctx)) [INFO] [stdout] 52 | | }) [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/parsers/between.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 22 | front: Parser, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | middle: Parser, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | back: Parser, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | Ok(res) => res.ctx, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let res = match middle(ctx) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Ok(res) => res, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | Ok(res) => res.ctx, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Success::new(res.val, ctx)) [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/parsers/exact.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn exact(parser: Parser, pos: Pos) -> Parser { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Box::new(move |ctx: Context| { [INFO] [stdout] | ______________^ [INFO] [stdout] 18 | | let prev_pos = ctx.pos; [INFO] [stdout] 19 | | let mut res = match parser(ctx) { [INFO] [stdout] 20 | | Ok(res) => res, [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | }) [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 20 previous errors [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/parsers/spaces.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | Box::new(move |ctx: Context| match regex("[ ]+", "spaces")(ctx) { [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/parsers/letters.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | move |ctx: Context| match regex("[a-zA-Z]+", "letters")(ctx) { [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/parsers/integer.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | Box::new(move |ctx: Context| match regex(r"\d+", "integer")(ctx) { [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/parsers/expect.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn expect>(parser: Parser, expected: S) -> Parser { [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] 19 | Box::new(move |ctx: Context| match parser(ctx.clone()) { [INFO] [stdout] | ______________^ [INFO] [stdout] 20 | | Ok(res) => Ok(res), [INFO] [stdout] 21 | | Err(mut err) => { [INFO] [stdout] 22 | | err.exp = expected.clone(); [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | }) [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] [stderr] error: could not compile `parse_me` (lib test) due to 21 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] --> src/parsers/expect.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn expect>(parser: Parser, expected: S) -> Parser { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | Box::new(move |ctx: Context| match parser(ctx.clone()) { [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] [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/parsers/surely.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn surely(parser: Parser) -> Parser { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Box::new(move |ctx: Context| match parser(ctx) { [INFO] [stdout] | ______________^ [INFO] [stdout] 18 | | Ok(res) => Ok(res), [INFO] [stdout] 19 | | Err(mut err) => { [INFO] [stdout] 20 | | err.exp = format!("surely `{}`", err.exp); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | }) [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/parsers/surely.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn surely(parser: Parser) -> Parser { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Box::new(move |ctx: Context| match parser(ctx) { [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 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parse_me` (lib) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "3803c1b1ad4ab9e7111b9b7923730e62179807b8df17d5f0733954885005b275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3803c1b1ad4ab9e7111b9b7923730e62179807b8df17d5f0733954885005b275", kill_on_drop: false }` [INFO] [stdout] 3803c1b1ad4ab9e7111b9b7923730e62179807b8df17d5f0733954885005b275