[INFO] cloning repository https://github.com/Kitsai/Parser-Combinator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kitsai/Parser-Combinator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKitsai%2FParser-Combinator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKitsai%2FParser-Combinator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1c847be25eb4384b236a62b84f76e3769bf380c [INFO] checking Kitsai/Parser-Combinator/a1c847be25eb4384b236a62b84f76e3769bf380c 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%2FKitsai%2FParser-Combinator" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kitsai/Parser-Combinator 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/Kitsai/Parser-Combinator [INFO] finished tweaking git repo https://github.com/Kitsai/Parser-Combinator [INFO] tweaked toml for git repo https://github.com/Kitsai/Parser-Combinator written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Kitsai/Parser-Combinator 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 156ab34cb170b5464345914b971c3b84199263682ebc9c77848ea250c7b3ced5 [INFO] running `Command { std: "docker" "start" "-a" "156ab34cb170b5464345914b971c3b84199263682ebc9c77848ea250c7b3ced5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "156ab34cb170b5464345914b971c3b84199263682ebc9c77848ea250c7b3ced5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "156ab34cb170b5464345914b971c3b84199263682ebc9c77848ea250c7b3ced5", kill_on_drop: false }` [INFO] [stdout] 156ab34cb170b5464345914b971c3b84199263682ebc9c77848ea250c7b3ced5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 295d02a6546ae92d5e46af9f6cb0497df29f55b87ede6e2f94b3d273f86cff2a [INFO] running `Command { std: "docker" "start" "-a" "295d02a6546ae92d5e46af9f6cb0497df29f55b87ede6e2f94b3d273f86cff2a", kill_on_drop: false }` [INFO] [stderr] Checking parser-combinators v0.1.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/parser/mod.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new

(parser: P) -> Self [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | method: Rc::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] = 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/parser/basic_parsers/whitespace.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn whitespace_wrap<'a,O>(parser: Parser<'a,O>) -> Parser<'a,O> [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | space0() >> parser << space0() [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/basic_parsers/whitespace.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn whitespace_wrap<'a,O>(parser: Parser<'a,O>) -> Parser<'a,O> [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | space0() >> parser << space0() [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/combinators/pair.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn pair<'a, R1, R2>(parser1: Parser<'a, R1>, parser2: Parser<'a, R2>) -> Parser<'a, (R1,R2)> [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] 10 | / move | input | parser1.parse(input).and_then(| (next_input, result1) | [INFO] [stdout] 11 | | parser2.parse(next_input).map(| (final_input,result2) | (final_input, (result1, result2))) [INFO] [stdout] 12 | | ) [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/combinators/pair.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn pair<'a, R1, R2>(parser1: Parser<'a, R1>, parser2: Parser<'a, R2>) -> Parser<'a, (R1,R2)> [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] 10 | move | input | parser1.parse(input).and_then(| (next_input, result1) | [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/combinators/pair.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | move | input | parser1.parse(input).and_then(| (next_input, result1) | [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | parser2.parse(next_input).map(| (final_input,result2) | (final_input, (result1, result2))) [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/combinators/pair.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 10 | move | input | parser1.parse(input).and_then(| (next_input, result1) | [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | parser2.parse(next_input).map(| (final_input,result2) | (final_input, (result1, result2))) [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/combinators/pair.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 10 | move | input | parser1.parse(input).and_then(| (next_input, result1) | [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | parser2.parse(next_input).map(| (final_input,result2) | (final_input, (result1, result2))) [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/combinators/map.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn map<'a, F, A: 'a, B>(parser: Parser<'a, A>, map_fn: F) -> Parser<'a, B> [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] 8 | / move| input | [INFO] [stdout] 9 | | parser.parse(input) [INFO] [stdout] 10 | | .map( |(next_input, result)| (next_input, map_fn(result)) [INFO] [stdout] 11 | | ) [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/combinators/map.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn map<'a, F, A: 'a, B>(parser: Parser<'a, A>, map_fn: F) -> Parser<'a, B> [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] 9 | parser.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] --> src/parser/combinators/map.rs:10:55 [INFO] [stdout] | [INFO] [stdout] 10 | .map( |(next_input, result)| (next_input, map_fn(result)) [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/combinators/bind.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn bind<'a, F, A: 'a, B>(parser: Parser<'a, A>, f: F) -> Parser<'a, B> [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] 8 | / move | input | match parser.parse(input) { [INFO] [stdout] 9 | | Ok((next_input, result)) => f(result).parse(next_input), [INFO] [stdout] 10 | | Err(err) => Err(err) [INFO] [stdout] 11 | | } [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/combinators/bind.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn bind<'a, F, A: 'a, B>(parser: Parser<'a, A>, f: F) -> Parser<'a, B> [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] 8 | move | input | match parser.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] --> src/parser/combinators/left_right.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn left<'a, R1, R2>(parser1: Parser<'a, R1>, parser2: Parser<'a, R2>) -> Parser<'a, R1> [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] 10 | pair(parser1, parser2).map(|(left, _right)| left) [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/combinators/left_right.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn right<'a, R1, R2>(parser1: Parser<'a, R1>, parser2: Parser<'a, R2>) -> Parser<'a, R2> [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] 18 | pair(parser1, parser2).map(|(_left,right)| right) [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/combinators/either.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn either<'a, O: 'a>(parser1: Parser<'a, O>, parser2: Parser<'a, O>) -> Parser<'a, O> [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] 7 | / move | input | match parser1.parse(input) { [INFO] [stdout] 8 | | ok @ Ok(_) => ok, [INFO] [stdout] 9 | | Err(_) => parser2.parse(input) [INFO] [stdout] 10 | | } [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/combinators/either.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn either<'a, O: 'a>(parser1: Parser<'a, O>, parser2: Parser<'a, O>) -> Parser<'a, O> [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] 7 | move | input | match parser1.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] --> src/parser/combinators/multiple.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn one_or_more<'a, O: 'a + Clone>(parser: Parser<'a, O>) -> Parser<'a, Vec> [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | { [INFO] [stdout] 11 | pair(parser.clone(), zero_or_more(parser)).map( | (head, mut tail) | { [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/combinators/multiple.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn zero_or_more<'a, O: 'a>(parser: Parser<'a, O>) -> Parser<'a, Vec> [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | / move | mut input | { [INFO] [stdout] 21 | | let mut result = Vec::new(); [INFO] [stdout] 22 | | [INFO] [stdout] 23 | | while let Ok((next_input, next_item)) = parser.parse(input) { [INFO] [stdout] ... | [INFO] [stdout] 28 | | Ok((input, result)) [INFO] [stdout] 29 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/combinators/multiple.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn zero_or_more<'a, O: 'a>(parser: Parser<'a, O>) -> Parser<'a, Vec> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | 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] 28 | Ok((input, result)) [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/combinators/multiple.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn n_or_more<'a, O>(parser: Parser<'a, O>, n: usize) -> Parser<'a, Vec> [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | / move | input: &str | { [INFO] [stdout] 39 | | let mut result: Vec = Vec::new(); [INFO] [stdout] 40 | | let mut inp: &str = input; [INFO] [stdout] ... | [INFO] [stdout] 55 | | Ok((inp, result)) [INFO] [stdout] 56 | | } [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/combinators/multiple.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn n_or_more<'a, O>(parser: Parser<'a, O>, n: usize) -> Parser<'a, Vec> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | let mut result: Vec = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Ok((inp, result)) [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/combinators/multiple.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn n_times<'a, O>(parser: Parser<'a, O>, n: usize) -> Parser<'a, Vec> [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | / move | input: &str | { [INFO] [stdout] 66 | | let mut inp: &str = input; [INFO] [stdout] 67 | | let mut result: Vec = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 82 | | return Ok((inp, result)); [INFO] [stdout] 83 | | } [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/combinators/multiple.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn n_to_m<'a,O>(parser: Parser<'a, O>, n: usize, m: usize) -> Parser<'a, Vec> [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | / move | input | { [INFO] [stdout] 93 | | let mut result: Vec = Vec::new(); [INFO] [stdout] 94 | | let mut inp: &str = input; [INFO] [stdout] ... | [INFO] [stdout] 114 | | Ok((inp, result)) [INFO] [stdout] 115 | | } [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/combinators/multiple.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn n_to_m<'a,O>(parser: Parser<'a, O>, n: usize, m: usize) -> Parser<'a, Vec> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let mut result: Vec = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | Ok((inp, result)) [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/combinators/pred.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn pred<'a, O:'a, F>(parser: Parser<'a,O>, predicate: F) -> Parser<'a, O> [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] 8 | / move | input | { [INFO] [stdout] 9 | | if let Ok((next_input, value)) = parser.parse(input) { [INFO] [stdout] 10 | | if predicate(&value) { [INFO] [stdout] 11 | | return Ok((next_input,value)); [INFO] [stdout] ... | [INFO] [stdout] 14 | | Err(input) [INFO] [stdout] 15 | | } [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/operations/optional.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn make_optional<'a,O>(parser: Parser<'a,O>) -> Parser<'a,Option> [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | / move | input | match parser.parse(input) { [INFO] [stdout] 9 | | Ok((next_input, res)) => Ok((next_input, Some(res))), [INFO] [stdout] 10 | | Err(_) => Ok((input, None)) [INFO] [stdout] 11 | | } [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/operations/optional.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn make_optional<'a,O>(parser: Parser<'a,O>) -> Parser<'a,Option> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | move | input | match parser.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] --> src/parser/operations/skip.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn skip<'a,O>(parser: Parser<'a,O>, n: usize) -> Parser<'a,O> [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | move | input | parser.parse(&input[n..]) [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/operations/fail.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn fail<'a, O>(parser: Parser<'a,O>) -> Parser<'a,()> [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | / move | input | { [INFO] [stdout] 9 | | let inp = input; [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | match parser.parse(inp) { [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [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/operations/fail.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn fail<'a, O>(parser: Parser<'a,O>) -> Parser<'a,()> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | match parser.parse(inp) { [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 31 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/parser/mod.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new

(parser: P) -> Self [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | method: Rc::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] = 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/parser/basic_parsers/whitespace.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn whitespace_wrap<'a,O>(parser: Parser<'a,O>) -> Parser<'a,O> [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | space0() >> parser << space0() [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/basic_parsers/whitespace.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn whitespace_wrap<'a,O>(parser: Parser<'a,O>) -> Parser<'a,O> [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | space0() >> parser << space0() [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/combinators/pair.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn pair<'a, R1, R2>(parser1: Parser<'a, R1>, parser2: Parser<'a, R2>) -> Parser<'a, (R1,R2)> [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] 10 | / move | input | parser1.parse(input).and_then(| (next_input, result1) | [INFO] [stdout] 11 | | parser2.parse(next_input).map(| (final_input,result2) | (final_input, (result1, result2))) [INFO] [stdout] 12 | | ) [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/combinators/pair.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn pair<'a, R1, R2>(parser1: Parser<'a, R1>, parser2: Parser<'a, R2>) -> Parser<'a, (R1,R2)> [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] 10 | move | input | parser1.parse(input).and_then(| (next_input, result1) | [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/combinators/pair.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | move | input | parser1.parse(input).and_then(| (next_input, result1) | [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | parser2.parse(next_input).map(| (final_input,result2) | (final_input, (result1, result2))) [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 `parser-combinators` (lib) due to 32 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/parser/combinators/pair.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 10 | move | input | parser1.parse(input).and_then(| (next_input, result1) | [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | parser2.parse(next_input).map(| (final_input,result2) | (final_input, (result1, result2))) [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/parser/combinators/pair.rs:11:83 [INFO] [stdout] | [INFO] [stdout] 10 | move | input | parser1.parse(input).and_then(| (next_input, result1) | [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | parser2.parse(next_input).map(| (final_input,result2) | (final_input, (result1, result2))) [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/combinators/map.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn map<'a, F, A: 'a, B>(parser: Parser<'a, A>, map_fn: F) -> Parser<'a, B> [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] 8 | / move| input | [INFO] [stdout] 9 | | parser.parse(input) [INFO] [stdout] 10 | | .map( |(next_input, result)| (next_input, map_fn(result)) [INFO] [stdout] 11 | | ) [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/combinators/map.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn map<'a, F, A: 'a, B>(parser: Parser<'a, A>, map_fn: F) -> Parser<'a, B> [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] 9 | parser.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] --> src/parser/combinators/map.rs:10:55 [INFO] [stdout] | [INFO] [stdout] 10 | .map( |(next_input, result)| (next_input, map_fn(result)) [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/combinators/bind.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn bind<'a, F, A: 'a, B>(parser: Parser<'a, A>, f: F) -> Parser<'a, B> [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] 8 | / move | input | match parser.parse(input) { [INFO] [stdout] 9 | | Ok((next_input, result)) => f(result).parse(next_input), [INFO] [stdout] 10 | | Err(err) => Err(err) [INFO] [stdout] 11 | | } [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/combinators/bind.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn bind<'a, F, A: 'a, B>(parser: Parser<'a, A>, f: F) -> Parser<'a, B> [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] 8 | move | input | match parser.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] --> src/parser/combinators/left_right.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn left<'a, R1, R2>(parser1: Parser<'a, R1>, parser2: Parser<'a, R2>) -> Parser<'a, R1> [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] 10 | pair(parser1, parser2).map(|(left, _right)| left) [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/combinators/left_right.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn right<'a, R1, R2>(parser1: Parser<'a, R1>, parser2: Parser<'a, R2>) -> Parser<'a, R2> [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] 18 | pair(parser1, parser2).map(|(_left,right)| right) [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/combinators/either.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn either<'a, O: 'a>(parser1: Parser<'a, O>, parser2: Parser<'a, O>) -> Parser<'a, O> [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] 7 | / move | input | match parser1.parse(input) { [INFO] [stdout] 8 | | ok @ Ok(_) => ok, [INFO] [stdout] 9 | | Err(_) => parser2.parse(input) [INFO] [stdout] 10 | | } [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/combinators/either.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn either<'a, O: 'a>(parser1: Parser<'a, O>, parser2: Parser<'a, O>) -> Parser<'a, O> [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] 7 | move | input | match parser1.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] --> src/parser/combinators/multiple.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn one_or_more<'a, O: 'a + Clone>(parser: Parser<'a, O>) -> Parser<'a, Vec> [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | { [INFO] [stdout] 11 | pair(parser.clone(), zero_or_more(parser)).map( | (head, mut tail) | { [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/combinators/multiple.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn zero_or_more<'a, O: 'a>(parser: Parser<'a, O>) -> Parser<'a, Vec> [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | / move | mut input | { [INFO] [stdout] 21 | | let mut result = Vec::new(); [INFO] [stdout] 22 | | [INFO] [stdout] 23 | | while let Ok((next_input, next_item)) = parser.parse(input) { [INFO] [stdout] ... | [INFO] [stdout] 28 | | Ok((input, result)) [INFO] [stdout] 29 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/combinators/multiple.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn zero_or_more<'a, O: 'a>(parser: Parser<'a, O>) -> Parser<'a, Vec> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | 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] 28 | Ok((input, result)) [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/combinators/multiple.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn n_or_more<'a, O>(parser: Parser<'a, O>, n: usize) -> Parser<'a, Vec> [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | / move | input: &str | { [INFO] [stdout] 39 | | let mut result: Vec = Vec::new(); [INFO] [stdout] 40 | | let mut inp: &str = input; [INFO] [stdout] ... | [INFO] [stdout] 55 | | Ok((inp, result)) [INFO] [stdout] 56 | | } [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/combinators/multiple.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn n_or_more<'a, O>(parser: Parser<'a, O>, n: usize) -> Parser<'a, Vec> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | let mut result: Vec = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Ok((inp, result)) [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/combinators/multiple.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn n_times<'a, O>(parser: Parser<'a, O>, n: usize) -> Parser<'a, Vec> [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | / move | input: &str | { [INFO] [stdout] 66 | | let mut inp: &str = input; [INFO] [stdout] 67 | | let mut result: Vec = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 82 | | return Ok((inp, result)); [INFO] [stdout] 83 | | } [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/combinators/multiple.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn n_to_m<'a,O>(parser: Parser<'a, O>, n: usize, m: usize) -> Parser<'a, Vec> [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | / move | input | { [INFO] [stdout] 93 | | let mut result: Vec = Vec::new(); [INFO] [stdout] 94 | | let mut inp: &str = input; [INFO] [stdout] ... | [INFO] [stdout] 114 | | Ok((inp, result)) [INFO] [stdout] 115 | | } [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/combinators/multiple.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn n_to_m<'a,O>(parser: Parser<'a, O>, n: usize, m: usize) -> Parser<'a, Vec> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let mut result: Vec = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | Ok((inp, result)) [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/combinators/pred.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn pred<'a, O:'a, F>(parser: Parser<'a,O>, predicate: F) -> Parser<'a, O> [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] 8 | / move | input | { [INFO] [stdout] 9 | | if let Ok((next_input, value)) = parser.parse(input) { [INFO] [stdout] 10 | | if predicate(&value) { [INFO] [stdout] 11 | | return Ok((next_input,value)); [INFO] [stdout] ... | [INFO] [stdout] 14 | | Err(input) [INFO] [stdout] 15 | | } [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/operations/optional.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn make_optional<'a,O>(parser: Parser<'a,O>) -> Parser<'a,Option> [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | / move | input | match parser.parse(input) { [INFO] [stdout] 9 | | Ok((next_input, res)) => Ok((next_input, Some(res))), [INFO] [stdout] 10 | | Err(_) => Ok((input, None)) [INFO] [stdout] 11 | | } [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/operations/optional.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn make_optional<'a,O>(parser: Parser<'a,O>) -> Parser<'a,Option> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | move | input | match parser.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] --> src/parser/operations/skip.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn skip<'a,O>(parser: Parser<'a,O>, n: usize) -> Parser<'a,O> [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | move | input | parser.parse(&input[n..]) [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/operations/fail.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn fail<'a, O>(parser: Parser<'a,O>) -> Parser<'a,()> [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | / move | input | { [INFO] [stdout] 9 | | let inp = input; [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | match parser.parse(inp) { [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [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/operations/fail.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn fail<'a, O>(parser: Parser<'a,O>) -> Parser<'a,()> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | match parser.parse(inp) { [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 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parser-combinators` (lib test) due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "295d02a6546ae92d5e46af9f6cb0497df29f55b87ede6e2f94b3d273f86cff2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "295d02a6546ae92d5e46af9f6cb0497df29f55b87ede6e2f94b3d273f86cff2a", kill_on_drop: false }` [INFO] [stdout] 295d02a6546ae92d5e46af9f6cb0497df29f55b87ede6e2f94b3d273f86cff2a