[INFO] fetching crate rddl 0.1.1... [INFO] checking rddl-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rddl 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate rddl 0.1.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 rddl 0.1.1 [INFO] finished tweaking crates.io crate rddl 0.1.1 [INFO] tweaked toml for crates.io crate rddl 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding pom v1.1.0 (latest: v3.4.0) [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3efa55439270d37ff244603abce01c2d293ff3c5c4d656a883213f45ad36749 [INFO] running `Command { std: "docker" "start" "-a" "e3efa55439270d37ff244603abce01c2d293ff3c5c4d656a883213f45ad36749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3efa55439270d37ff244603abce01c2d293ff3c5c4d656a883213f45ad36749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3efa55439270d37ff244603abce01c2d293ff3c5c4d656a883213f45ad36749", kill_on_drop: false }` [INFO] [stdout] e3efa55439270d37ff244603abce01c2d293ff3c5c4d656a883213f45ad36749 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26ae24411991f38e6799743fa315098904d1a6f9d84dcd4ac76d0d0970dbbbf6 [INFO] running `Command { std: "docker" "start" "-a" "26ae24411991f38e6799743fa315098904d1a6f9d84dcd4ac76d0d0970dbbbf6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking pom v1.1.0 [INFO] [stderr] Checking rddl v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser.rs:144:2 [INFO] [stdout] | [INFO] [stdout] 144 | ( seq(b"true").map(|_| PrimitiveValue::Bool(true)) [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 151 | | primitive_type().map(|name| PrimitiveValue::Type(name)) [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 152 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 ~ seq(b"true").map(|_| PrimitiveValue::Bool(true)) [INFO] [stdout] 145 | | seq(b"false").map(|_| PrimitiveValue::Bool(false)) [INFO] [stdout] ... [INFO] [stdout] 150 | | reference().map(|refer|PrimitiveValue::Ref(refer)) [INFO] [stdout] 151 ~ | primitive_type().map(|name| PrimitiveValue::Type(name)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser.rs:144:2 [INFO] [stdout] | [INFO] [stdout] 144 | ( seq(b"true").map(|_| PrimitiveValue::Bool(true)) [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 151 | | primitive_type().map(|name| PrimitiveValue::Type(name)) [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 152 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 ~ seq(b"true").map(|_| PrimitiveValue::Bool(true)) [INFO] [stdout] 145 | | seq(b"false").map(|_| PrimitiveValue::Bool(false)) [INFO] [stdout] ... [INFO] [stdout] 150 | | reference().map(|refer|PrimitiveValue::Ref(refer)) [INFO] [stdout] 151 ~ | primitive_type().map(|name| PrimitiveValue::Type(name)) [INFO] [stdout] | [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:67:2 [INFO] [stdout] | [INFO] [stdout] 50 | let values = match type_name.as_str() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | sym(b'{') * space() * values - sym(b'}') [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.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 50 | let values = match type_name.as_str() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | sym(b'{') * space() * values - sym(b'}') [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:88:2 [INFO] [stdout] | [INFO] [stdout] 71 | let matrix = match type_name.as_str() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | sym(b'{') * space() * matrix - sym(b'}') [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:88:33 [INFO] [stdout] | [INFO] [stdout] 71 | let matrix = match type_name.as_str() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | sym(b'{') * space() * matrix - sym(b'}') [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:97:2 [INFO] [stdout] | [INFO] [stdout] 92 | let property = identifier() - space() - sym(b'=') - space() + property_value() - space(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | let properties = sym(b'(') * space() * list(property, sym(b',') * space()) - sym(b')') - space(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | let properties = properties.map(|properties| properties.into_iter().collect::>()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let data_items = sym(b'{') * space() * call(data_item).repeat(0..) - sym(b'}'); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | let custom = identifier() - space() + name().opt() + properties.opt() + data_items; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | / custom.map(|(((structure, name), properties), items)| { [INFO] [stdout] 98 | | DataItem::Custom { [INFO] [stdout] 99 | | name: name, [INFO] [stdout] 100 | | structure: structure, [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | }).name("custom item") [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:113:2 [INFO] [stdout] | [INFO] [stdout] 112 | let identifier = (is_a(alpha) | sym(b'_')) + (is_a(alphanum) | sym(b'_')).repeat(0..); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | identifier.collect().convert(|bytes| String::from_utf8(bytes)) [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:165:2 [INFO] [stdout] | [INFO] [stdout] 161 | let hexical = seq(b"0x") * list(is_a(hex_digit).repeat(1..), sym(b'_')).map(|digits|(String::from_utf8(digits.concat()).unwrap(), 16)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let octal = seq(b"0o") * list(is_a(oct_digit).repeat(1..), sym(b'_')).map(|digits|(String::from_utf8(digits.concat()).unwrap(), 8)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let binary = seq(b"0b") * list(one_of(b"01").repeat(1..), sym(b'_')).map(|digits|(String::from_utf8(digits.concat()).unwrap(), 2)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | let decimal = list(is_a(digit).repeat(1..), sym(b'_')).map(|digits|(String::from_utf8(digits.concat()).unwrap(), 10)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | hexical | octal | binary | decimal [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:173:2 [INFO] [stdout] | [INFO] [stdout] 169 | let integer = one_of(b"123456789") - one_of(b"0123456789").repeat(0..) | sym(b'0'); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | let frac = sym(b'.') + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | let exp = one_of(b"eE") + one_of(b"+-").opt() + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | let number = sym(b'-').opt() + integer + frac.opt() + exp.opt(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | number.collect().convert(|v|String::from_utf8(v)) [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 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rddl` (lib test) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:67:2 [INFO] [stdout] | [INFO] [stdout] 50 | let values = match type_name.as_str() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | sym(b'{') * space() * values - sym(b'}') [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.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 50 | let values = match type_name.as_str() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | sym(b'{') * space() * values - sym(b'}') [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:88:2 [INFO] [stdout] | [INFO] [stdout] 71 | let matrix = match type_name.as_str() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | sym(b'{') * space() * matrix - sym(b'}') [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:88:33 [INFO] [stdout] | [INFO] [stdout] 71 | let matrix = match type_name.as_str() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | sym(b'{') * space() * matrix - sym(b'}') [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:97:2 [INFO] [stdout] | [INFO] [stdout] 92 | let property = identifier() - space() - sym(b'=') - space() + property_value() - space(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | let properties = sym(b'(') * space() * list(property, sym(b',') * space()) - sym(b')') - space(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | let properties = properties.map(|properties| properties.into_iter().collect::>()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let data_items = sym(b'{') * space() * call(data_item).repeat(0..) - sym(b'}'); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | let custom = identifier() - space() + name().opt() + properties.opt() + data_items; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | / custom.map(|(((structure, name), properties), items)| { [INFO] [stdout] 98 | | DataItem::Custom { [INFO] [stdout] 99 | | name: name, [INFO] [stdout] 100 | | structure: structure, [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | }).name("custom item") [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:113:2 [INFO] [stdout] | [INFO] [stdout] 112 | let identifier = (is_a(alpha) | sym(b'_')) + (is_a(alphanum) | sym(b'_')).repeat(0..); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | identifier.collect().convert(|bytes| String::from_utf8(bytes)) [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:165:2 [INFO] [stdout] | [INFO] [stdout] 161 | let hexical = seq(b"0x") * list(is_a(hex_digit).repeat(1..), sym(b'_')).map(|digits|(String::from_utf8(digits.concat()).unwrap(), 16)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let octal = seq(b"0o") * list(is_a(oct_digit).repeat(1..), sym(b'_')).map(|digits|(String::from_utf8(digits.concat()).unwrap(), 8)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let binary = seq(b"0b") * list(one_of(b"01").repeat(1..), sym(b'_')).map(|digits|(String::from_utf8(digits.concat()).unwrap(), 2)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | let decimal = list(is_a(digit).repeat(1..), sym(b'_')).map(|digits|(String::from_utf8(digits.concat()).unwrap(), 10)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | hexical | octal | binary | decimal [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:173:2 [INFO] [stdout] | [INFO] [stdout] 169 | let integer = one_of(b"123456789") - one_of(b"0123456789").repeat(0..) | sym(b'0'); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | let frac = sym(b'.') + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | let exp = one_of(b"eE") + one_of(b"+-").opt() + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | let number = sym(b'-').opt() + integer + frac.opt() + exp.opt(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | number.collect().convert(|v|String::from_utf8(v)) [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 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rddl` (lib) due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "26ae24411991f38e6799743fa315098904d1a6f9d84dcd4ac76d0d0970dbbbf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26ae24411991f38e6799743fa315098904d1a6f9d84dcd4ac76d0d0970dbbbf6", kill_on_drop: false }` [INFO] [stdout] 26ae24411991f38e6799743fa315098904d1a6f9d84dcd4ac76d0d0970dbbbf6