[INFO] fetching crate untwine 0.8.1... [INFO] checking untwine-0.8.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate untwine 0.8.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate untwine 0.8.1 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 untwine 0.8.1 [INFO] finished tweaking crates.io crate untwine 0.8.1 [INFO] tweaked toml for crates.io crate untwine 0.8.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate untwine 0.8.1 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b857bef7afa724bc779454c8d0a848e39dbe50b8901f3bb17a620d1b7faab115 [INFO] running `Command { std: "docker" "start" "-a" "b857bef7afa724bc779454c8d0a848e39dbe50b8901f3bb17a620d1b7faab115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b857bef7afa724bc779454c8d0a848e39dbe50b8901f3bb17a620d1b7faab115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b857bef7afa724bc779454c8d0a848e39dbe50b8901f3bb17a620d1b7faab115", kill_on_drop: false }` [INFO] [stdout] b857bef7afa724bc779454c8d0a848e39dbe50b8901f3bb17a620d1b7faab115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c50ba419950a845e47e7c62bf14002bb05de8551226561a9139b97a9c2596752 [INFO] running `Command { std: "docker" "start" "-a" "c50ba419950a845e47e7c62bf14002bb05de8551226561a9139b97a9c2596752", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling untwine_macros v0.8.1 [INFO] [stderr] Checking untwine v0.8.1 (/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/attr.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 14 | parser: impl Parser<'p, C, T, E> + 'p, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | crate::parser(move |ctx| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 25 | | let res = parser.parse(ctx); [INFO] [stdout] 26 | | println!( [INFO] [stdout] 27 | | "[{name}:{line}:{col}] {pattern} = {res:#?}", [INFO] [stdout] ... | [INFO] [stdout] 31 | | res [INFO] [stdout] 32 | | }) [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/attr.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 39 | parser: impl Parser<'p, C, T, E> + 'p, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | parser.recover_to::<_, false>(literal(anchor, meta.parser_name), 150) [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/attr.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 55 | input: impl Parser<'p, C, T, E> + 'p, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | / parser(move |ctx| { [INFO] [stdout] 66 | | anchor [INFO] [stdout] 67 | | .iter() [INFO] [stdout] 68 | | .any(|s| ctx.slice().starts_with(s)) [INFO] [stdout] 69 | | .then_some(()) [INFO] [stdout] 70 | | }), [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/context.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(input: &'p str, data: C) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | data: RefCell::new(data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(input: &'p str, data: C) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | recovered: Default::default(), [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/context.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(input: &'p str, data: C) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | err: None.into(), [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/context.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 109 | success: Option, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | self.result(success).map_err(|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/parser.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 48 | fn map(self, f: impl Fn(T) -> V + 'p) -> impl Parser<'p, C, V, E> + 'p [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] 52 | parser(move |ctx| self.parse(ctx).map(&f)) [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/parser.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 48 | fn map(self, f: impl Fn(T) -> V + 'p) -> impl Parser<'p, C, V, E> + 'p [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] 52 | parser(move |ctx| self.parse(ctx).map(&f)) [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/parser.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 56 | fn optional(self) -> impl Parser<'p, C, Option, E> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | parser(move |ctx| { [INFO] [stdout] | ________________^ [INFO] [stdout] 61 | | let priority = ctx.get_err_priority(); [INFO] [stdout] 62 | | let output = Some(self.parse(ctx)); [INFO] [stdout] 63 | | ctx.set_err_priority(priority); [INFO] [stdout] 64 | | output [INFO] [stdout] 65 | | }) [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/parser.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 69 | fn or(self, other: impl Parser<'p, C, T, E> + 'p + Sized) -> impl Parser<'p, C, T, E> [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] 73 | parser(move |ctx| self.parse(ctx).or_else(|| other.parse(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/parser.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 69 | fn or(self, other: impl Parser<'p, C, T, E> + 'p + Sized) -> impl Parser<'p, C, T, E> [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] 73 | parser(move |ctx| self.parse(ctx).or_else(|| other.parse(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/parser.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 77 | fn repeating(self) -> impl Parser<'p, C, Vec, E> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | parser(move |ctx| { [INFO] [stdout] | ________________^ [INFO] [stdout] 82 | | let mut elems = vec![]; [INFO] [stdout] 83 | | let priority = ctx.get_err_priority(); [INFO] [stdout] 84 | | if !REQUIRED { [INFO] [stdout] ... | [INFO] [stdout] 108 | | Some(elems) [INFO] [stdout] 109 | | }) [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/parser.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 114 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | delim: impl Parser<'p, C, D, E> + 'p, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | parser(move |ctx| { [INFO] [stdout] | ________________^ [INFO] [stdout] 122 | | let mut elems = vec![]; [INFO] [stdout] 123 | | [INFO] [stdout] 124 | | let Some(elem) = self.parse(ctx) else { [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] 146 | | }) [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/parser.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 158 | fn span(self) -> impl Parser<'p, C, &'p str, E> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | parser(move |ctx| { [INFO] [stdout] | ________________^ [INFO] [stdout] 163 | | let start = ctx.cursor(); [INFO] [stdout] 164 | | let res = self.parse(ctx); [INFO] [stdout] 165 | | res.map(|_| &ctx.input[start..ctx.cursor()]) [INFO] [stdout] 166 | | }) [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/parser.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 172 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | anchor: impl Parser<'p, C, V, E> + 'p, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | parser(move |ctx| { [INFO] [stdout] | ________________^ [INFO] [stdout] 182 | | ctx.slice(); [INFO] [stdout] 183 | | let start = ctx.cursor(); [INFO] [stdout] 184 | | let res = self.parse(ctx); [INFO] [stdout] ... | [INFO] [stdout] 218 | | res [INFO] [stdout] 219 | | }) [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/parser.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 225 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 235 | parser(move |ctx| { [INFO] [stdout] | ________________^ [INFO] [stdout] 236 | | let start = ctx.cursor(); [INFO] [stdout] 237 | | let parent_terminator = ctx.recover_terminator.get(); [INFO] [stdout] 238 | | ctx.recover_terminator.set(Some(close)); [INFO] [stdout] ... | [INFO] [stdout] 277 | | res [INFO] [stdout] 278 | | }) [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.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 33 | f: impl Fn(&char) -> bool + 'static, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | parser(move |ctx| { [INFO] [stdout] | ____________^ [INFO] [stdout] 41 | | let next = ctx.slice().chars().next(); [INFO] [stdout] 42 | | if let Some(next) = next { [INFO] [stdout] 43 | | if f(&next) { [INFO] [stdout] ... | [INFO] [stdout] 50 | | None [INFO] [stdout] 51 | | }) [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 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `untwine` (lib) due to 19 previous errors [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/attr.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 14 | parser: impl Parser<'p, C, T, E> + 'p, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | crate::parser(move |ctx| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 25 | | let res = parser.parse(ctx); [INFO] [stdout] 26 | | println!( [INFO] [stdout] 27 | | "[{name}:{line}:{col}] {pattern} = {res:#?}", [INFO] [stdout] ... | [INFO] [stdout] 31 | | res [INFO] [stdout] 32 | | }) [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/attr.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 39 | parser: impl Parser<'p, C, T, E> + 'p, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | parser.recover_to::<_, false>(literal(anchor, meta.parser_name), 150) [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/attr.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 55 | input: impl Parser<'p, C, T, E> + 'p, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | / parser(move |ctx| { [INFO] [stdout] 66 | | anchor [INFO] [stdout] 67 | | .iter() [INFO] [stdout] 68 | | .any(|s| ctx.slice().starts_with(s)) [INFO] [stdout] 69 | | .then_some(()) [INFO] [stdout] 70 | | }), [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/context.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(input: &'p str, data: C) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | data: RefCell::new(data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(input: &'p str, data: C) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | recovered: Default::default(), [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/context.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(input: &'p str, data: C) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | err: None.into(), [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/context.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 109 | success: Option, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | self.result(success).map_err(|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/parser.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 48 | fn map(self, f: impl Fn(T) -> V + 'p) -> impl Parser<'p, C, V, E> + 'p [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] 52 | parser(move |ctx| self.parse(ctx).map(&f)) [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/parser.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 48 | fn map(self, f: impl Fn(T) -> V + 'p) -> impl Parser<'p, C, V, E> + 'p [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] 52 | parser(move |ctx| self.parse(ctx).map(&f)) [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/parser.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 56 | fn optional(self) -> impl Parser<'p, C, Option, E> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | parser(move |ctx| { [INFO] [stdout] | ________________^ [INFO] [stdout] 61 | | let priority = ctx.get_err_priority(); [INFO] [stdout] 62 | | let output = Some(self.parse(ctx)); [INFO] [stdout] 63 | | ctx.set_err_priority(priority); [INFO] [stdout] 64 | | output [INFO] [stdout] 65 | | }) [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/parser.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 69 | fn or(self, other: impl Parser<'p, C, T, E> + 'p + Sized) -> impl Parser<'p, C, T, E> [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] 73 | parser(move |ctx| self.parse(ctx).or_else(|| other.parse(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/parser.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 69 | fn or(self, other: impl Parser<'p, C, T, E> + 'p + Sized) -> impl Parser<'p, C, T, E> [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] 73 | parser(move |ctx| self.parse(ctx).or_else(|| other.parse(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/parser.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 77 | fn repeating(self) -> impl Parser<'p, C, Vec, E> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | parser(move |ctx| { [INFO] [stdout] | ________________^ [INFO] [stdout] 82 | | let mut elems = vec![]; [INFO] [stdout] 83 | | let priority = ctx.get_err_priority(); [INFO] [stdout] 84 | | if !REQUIRED { [INFO] [stdout] ... | [INFO] [stdout] 108 | | Some(elems) [INFO] [stdout] 109 | | }) [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/parser.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 114 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | delim: impl Parser<'p, C, D, E> + 'p, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | parser(move |ctx| { [INFO] [stdout] | ________________^ [INFO] [stdout] 122 | | let mut elems = vec![]; [INFO] [stdout] 123 | | [INFO] [stdout] 124 | | let Some(elem) = self.parse(ctx) else { [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] 146 | | }) [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/parser.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 158 | fn span(self) -> impl Parser<'p, C, &'p str, E> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | parser(move |ctx| { [INFO] [stdout] | ________________^ [INFO] [stdout] 163 | | let start = ctx.cursor(); [INFO] [stdout] 164 | | let res = self.parse(ctx); [INFO] [stdout] 165 | | res.map(|_| &ctx.input[start..ctx.cursor()]) [INFO] [stdout] 166 | | }) [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/parser.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 172 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | anchor: impl Parser<'p, C, V, E> + 'p, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | parser(move |ctx| { [INFO] [stdout] | ________________^ [INFO] [stdout] 182 | | ctx.slice(); [INFO] [stdout] 183 | | let start = ctx.cursor(); [INFO] [stdout] 184 | | let res = self.parse(ctx); [INFO] [stdout] ... | [INFO] [stdout] 218 | | res [INFO] [stdout] 219 | | }) [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/parser.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 225 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 235 | parser(move |ctx| { [INFO] [stdout] | ________________^ [INFO] [stdout] 236 | | let start = ctx.cursor(); [INFO] [stdout] 237 | | let parent_terminator = ctx.recover_terminator.get(); [INFO] [stdout] 238 | | ctx.recover_terminator.set(Some(close)); [INFO] [stdout] ... | [INFO] [stdout] 277 | | res [INFO] [stdout] 278 | | }) [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.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 33 | f: impl Fn(&char) -> bool + 'static, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | parser(move |ctx| { [INFO] [stdout] | ____________^ [INFO] [stdout] 41 | | let next = ctx.slice().chars().next(); [INFO] [stdout] 42 | | if let Some(next) = next { [INFO] [stdout] 43 | | if f(&next) { [INFO] [stdout] ... | [INFO] [stdout] 50 | | None [INFO] [stdout] 51 | | }) [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 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `untwine` (lib test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "c50ba419950a845e47e7c62bf14002bb05de8551226561a9139b97a9c2596752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c50ba419950a845e47e7c62bf14002bb05de8551226561a9139b97a9c2596752", kill_on_drop: false }` [INFO] [stdout] c50ba419950a845e47e7c62bf14002bb05de8551226561a9139b97a9c2596752