[INFO] fetching crate sway-parse 0.63.6... [INFO] checking sway-parse-0.63.6 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate sway-parse 0.63.6 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate sway-parse 0.63.6 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sway-parse 0.63.6 [INFO] finished tweaking crates.io crate sway-parse 0.63.6 [INFO] tweaked toml for crates.io crate sway-parse 0.63.6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 163 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bech32 v0.9.1 (available: v0.11.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding coins-bip32 v0.8.7 (available: v0.12.0) [INFO] [stderr] Adding coins-bip39 v0.8.7 (available: v0.12.0) [INFO] [stderr] Adding coins-core v0.8.7 (available: v0.12.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding embedded-io v0.4.0 (available: v0.6.1) [INFO] [stderr] Adding encode_unicode v0.3.6 (available: v1.0.0) [INFO] [stderr] Adding fuel-asm v0.56.0 (available: v0.57.0) [INFO] [stderr] Adding fuel-crypto v0.56.0 (available: v0.57.0) [INFO] [stderr] Adding fuel-derive v0.56.0 (available: v0.57.0) [INFO] [stderr] Adding fuel-merkle v0.56.0 (available: v0.57.0) [INFO] [stderr] Adding fuel-storage v0.56.0 (available: v0.57.0) [INFO] [stderr] Adding fuel-tx v0.56.0 (available: v0.57.0) [INFO] [stderr] Adding fuel-types v0.56.0 (available: v0.57.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hash32 v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.14.5) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.8.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding phf v0.10.1 (available: v0.11.2) [INFO] [stderr] Adding phf_generator v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding phf_macros v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding phf_shared v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding ron v0.7.1 (available: v0.8.1) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding secp256k1 v0.26.0 (available: v0.29.1) [INFO] [stderr] Adding secp256k1-sys v0.8.1 (available: v0.10.1) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding strum v0.24.1 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.26.4) [INFO] [stderr] Adding sway-ast v0.63.6 (available: v0.64.0) [INFO] [stderr] Adding sway-error v0.63.6 (available: v0.64.0) [INFO] [stderr] Adding sway-types v0.63.6 (available: v0.64.0) [INFO] [stderr] Adding sway-utils v0.63.6 (available: v0.64.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding wyz v0.5.1 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07cc2320685b859537f99122cc687c08a5e6dce37dd141e2a96693ec56f337d1 [INFO] running `Command { std: "docker" "start" "-a" "07cc2320685b859537f99122cc687c08a5e6dce37dd141e2a96693ec56f337d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07cc2320685b859537f99122cc687c08a5e6dce37dd141e2a96693ec56f337d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07cc2320685b859537f99122cc687c08a5e6dce37dd141e2a96693ec56f337d1", kill_on_drop: false }` [INFO] [stdout] 07cc2320685b859537f99122cc687c08a5e6dce37dd141e2a96693ec56f337d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dff122807461d60c78e311396b90a385b0e4dc1483971c72ea23a1639439e9b4 [INFO] running `Command { std: "docker" "start" "-a" "dff122807461d60c78e311396b90a385b0e4dc1483971c72ea23a1639439e9b4", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking fuel-storage v0.56.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking in_definite v1.0.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling fuel-derive v0.56.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling extension-trait v1.0.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking secp256k1 v0.26.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking fuel-merkle v0.56.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking coins-core v0.8.7 [INFO] [stderr] Checking fuel-types v0.56.0 [INFO] [stderr] Checking sway-utils v0.63.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking coins-bip32 v0.8.7 [INFO] [stderr] Checking postcard v1.0.10 [INFO] [stderr] Checking coins-bip39 v0.8.7 [INFO] [stderr] Checking fuel-asm v0.56.0 [INFO] [stderr] Checking insta v1.40.0 [INFO] [stderr] Checking fuel-crypto v0.56.0 [INFO] [stderr] Checking fuel-tx v0.56.0 [INFO] [stderr] Checking sway-types v0.63.6 [INFO] [stderr] Checking sway-error v0.63.6 [INFO] [stderr] Checking sway-ast v0.63.6 [INFO] [stderr] Checking sway-parse v0.63.6 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/attribute.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 127 | let name = parser.parse()?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | match parser.take::() { [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: this value of type `Option<(Parser<'_, '_>, Span)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/brackets.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 47 | on_error: impl FnOnce(Parser) -> ErrorEmitted, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | match parser.enter_delimited(Delimiter::$delimiter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | impl_brackets!(Braces, Brace, ExpectedOpenBrace); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_brackets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<(Parser<'_, '_>, Span)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/brackets.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 66 | on_error: impl FnOnce(Parser) -> ErrorEmitted, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | match parser.enter_delimited(Delimiter::$delimiter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | impl_brackets!(Braces, Brace, ExpectedOpenBrace); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_brackets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<(Parser<'_, '_>, Span)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/brackets.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 47 | on_error: impl FnOnce(Parser) -> ErrorEmitted, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | match parser.enter_delimited(Delimiter::$delimiter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | impl_brackets!(Parens, Parenthesis, ExpectedOpenParen); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_brackets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<(Parser<'_, '_>, Span)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/brackets.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 66 | on_error: impl FnOnce(Parser) -> ErrorEmitted, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | match parser.enter_delimited(Delimiter::$delimiter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | impl_brackets!(Parens, Parenthesis, ExpectedOpenParen); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_brackets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<(Parser<'_, '_>, Span)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/brackets.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 47 | on_error: impl FnOnce(Parser) -> ErrorEmitted, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | match parser.enter_delimited(Delimiter::$delimiter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | impl_brackets!(SquareBrackets, Bracket, ExpectedOpenBracket); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_brackets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<(Parser<'_, '_>, Span)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/brackets.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 66 | on_error: impl FnOnce(Parser) -> ErrorEmitted, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | match parser.enter_delimited(Delimiter::$delimiter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | impl_brackets!(SquareBrackets, Bracket, ExpectedOpenBracket); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_brackets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/attribute.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 127 | let name = parser.parse()?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | match parser.take::() { [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: this value of type `Option<(Parser<'_, '_>, Span)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/brackets.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 47 | on_error: impl FnOnce(Parser) -> ErrorEmitted, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | match parser.enter_delimited(Delimiter::$delimiter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | impl_brackets!(Braces, Brace, ExpectedOpenBrace); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_brackets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<(Parser<'_, '_>, Span)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/brackets.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 66 | on_error: impl FnOnce(Parser) -> ErrorEmitted, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | match parser.enter_delimited(Delimiter::$delimiter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | impl_brackets!(Braces, Brace, ExpectedOpenBrace); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_brackets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<(Parser<'_, '_>, Span)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/brackets.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 47 | on_error: impl FnOnce(Parser) -> ErrorEmitted, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | match parser.enter_delimited(Delimiter::$delimiter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | impl_brackets!(Parens, Parenthesis, ExpectedOpenParen); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_brackets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<(Parser<'_, '_>, Span)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/brackets.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 66 | on_error: impl FnOnce(Parser) -> ErrorEmitted, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | match parser.enter_delimited(Delimiter::$delimiter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | impl_brackets!(Parens, Parenthesis, ExpectedOpenParen); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_brackets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<(Parser<'_, '_>, Span)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/brackets.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 47 | on_error: impl FnOnce(Parser) -> ErrorEmitted, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | match parser.enter_delimited(Delimiter::$delimiter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | impl_brackets!(SquareBrackets, Bracket, ExpectedOpenBracket); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_brackets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<(Parser<'_, '_>, Span)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/brackets.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 66 | on_error: impl FnOnce(Parser) -> ErrorEmitted, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | match parser.enter_delimited(Delimiter::$delimiter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | impl_brackets!(SquareBrackets, Bracket, ExpectedOpenBracket); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_brackets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/item/mod.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 113 | mut parser: Parser<'a, '_>, [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | ) -> ParseResult<(FnArgs, ParserConsumed<'a>)> { [INFO] [stdout] 115 | let mut ref_self: Option = None; [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let mut mutable_self: Option = None; [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | match parser.take() { [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: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 97 | let mut fork = Parser { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | match parsing_function(&mut fork) { [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: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 157 | let mut fork = Parser { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | match fork.parse() { [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: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/item/mod.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 113 | mut parser: Parser<'a, '_>, [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | ) -> ParseResult<(FnArgs, ParserConsumed<'a>)> { [INFO] [stdout] 115 | let mut ref_self: Option = None; [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let mut mutable_self: Option = None; [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | match parser.take() { [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: this value of type `ItemTrait` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/item/mod.rs:546:32 [INFO] [stdout] | [INFO] [stdout] 527 | let item = parse::( [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 546 | if let ItemKind::Trait(item_trait) = item.value { [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: this value of type `ItemAbi` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/item/mod.rs:601:30 [INFO] [stdout] | [INFO] [stdout] 580 | let item = parse::( [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 601 | if let ItemKind::Abi(item_abi) = item.value { [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sway-parse` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 97 | let mut fork = Parser { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | match parsing_function(&mut fork) { [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: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 157 | let mut fork = Parser { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | match fork.parse() { [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: this value of type `std::vec::IntoIter` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:884:20 [INFO] [stdout] | [INFO] [stdout] 880 | let _stream = lex_commented(&handler, &Arc::from(input), start, end, &path).unwrap(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 881 | let (errors, warnings) = handler.consume(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 884 | for err in errors { [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: this value of type `Span` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:994:24 [INFO] [stdout] | [INFO] [stdout] 966 | let stream = lex_commented(&handler, &Arc::from(input), start, end, &path).unwrap(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 994 | assert_eq!(tts.next().unwrap().span().as_str(), "fn"); [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 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sway-parse` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "dff122807461d60c78e311396b90a385b0e4dc1483971c72ea23a1639439e9b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dff122807461d60c78e311396b90a385b0e4dc1483971c72ea23a1639439e9b4", kill_on_drop: false }` [INFO] [stdout] dff122807461d60c78e311396b90a385b0e4dc1483971c72ea23a1639439e9b4