[INFO] fetching crate sway-ast 0.63.6... [INFO] checking sway-ast-0.63.6 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate sway-ast 0.63.6 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate sway-ast 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-ast 0.63.6 [INFO] finished tweaking crates.io crate sway-ast 0.63.6 [INFO] tweaked toml for crates.io crate sway-ast 0.63.6 written to /workspace/builds/worker-4-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] Locking 144 packages to latest compatible versions [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 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 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 radium v0.7.0 (available: v1.1.0) [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 strum v0.24.1 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.26.4) [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 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3a78388c87f69317157fe836bb515f88cfb5c43773993e3e1ae0a291c97396ca [INFO] running `Command { std: "docker" "start" "-a" "3a78388c87f69317157fe836bb515f88cfb5c43773993e3e1ae0a291c97396ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a78388c87f69317157fe836bb515f88cfb5c43773993e3e1ae0a291c97396ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a78388c87f69317157fe836bb515f88cfb5c43773993e3e1ae0a291c97396ca", kill_on_drop: false }` [INFO] [stdout] 3a78388c87f69317157fe836bb515f88cfb5c43773993e3e1ae0a291c97396ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 33d9b728bec49e51b3b6e71b25d9a8b8de92546bc585304bb3c1f5dda12ca4c9 [INFO] running `Command { std: "docker" "start" "-a" "33d9b728bec49e51b3b6e71b25d9a8b8de92546bc585304bb3c1f5dda12ca4c9", kill_on_drop: false }` [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling fuel-derive v0.56.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking fuel-storage v0.56.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking sway-utils v0.63.6 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking in_definite v1.0.0 [INFO] [stderr] Compiling extension-trait v1.0.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking fuel-types v0.56.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking postcard v1.0.10 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking fuel-asm v0.56.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking digest v0.10.7 [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 ed25519 v2.2.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking bs58 v0.5.1 [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 fuel-merkle v0.56.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking secp256k1 v0.26.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking coins-core v0.8.7 [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-bip32 v0.8.7 [INFO] [stderr] Checking coins-bip39 v0.8.7 [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 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `sway_types::Span` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/expr/op_code.rs:102:49 [INFO] [stdout] | [INFO] [stdout] 100 | fn instruction(ident: Ident, ($($arg_name,)*): Self::Args) -> Instruction { [INFO] [stdout] | ----- ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | Instruction::$op_name { [INFO] [stdout] 102 | token: $ty_name { span: ident.span().clone() }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | / define_op_codes!( [INFO] [stdout] 173 | | /* Arithmetic/Logic (ALU) Instructions */ [INFO] [stdout] 174 | | (Add, AddOpcode, "add", (ret: reg, lhs: reg, rhs: reg)), [INFO] [stdout] 175 | | (Addi, AddiOpcode, "addi", (ret: reg, lhs: reg, rhs: imm)), [INFO] [stdout] ... | [INFO] [stdout] 342 | | (Blob, BlobOpcode, "blob", (size: imm)), [INFO] [stdout] 343 | | ); [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: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `define_op_codes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `sway_types::Span` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/expr/op_code.rs:102:49 [INFO] [stdout] | [INFO] [stdout] 100 | fn instruction(ident: Ident, ($($arg_name,)*): Self::Args) -> Instruction { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | Instruction::$op_name { [INFO] [stdout] 102 | token: $ty_name { span: ident.span().clone() }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | / define_op_codes!( [INFO] [stdout] 173 | | /* Arithmetic/Logic (ALU) Instructions */ [INFO] [stdout] 174 | | (Add, AddOpcode, "add", (ret: reg, lhs: reg, rhs: reg)), [INFO] [stdout] 175 | | (Addi, AddiOpcode, "addi", (ret: reg, lhs: reg, rhs: imm)), [INFO] [stdout] ... | [INFO] [stdout] 342 | | (Blob, BlobOpcode, "blob", (size: imm)), [INFO] [stdout] 343 | | ); [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 `define_op_codes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `sway_types::Span` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/expr/op_code.rs:102:49 [INFO] [stdout] | [INFO] [stdout] 100 | fn instruction(ident: Ident, ($($arg_name,)*): Self::Args) -> Instruction { [INFO] [stdout] | ----- ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | Instruction::$op_name { [INFO] [stdout] 102 | token: $ty_name { span: ident.span().clone() }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | / define_op_codes!( [INFO] [stdout] 173 | | /* Arithmetic/Logic (ALU) Instructions */ [INFO] [stdout] 174 | | (Add, AddOpcode, "add", (ret: reg, lhs: reg, rhs: reg)), [INFO] [stdout] 175 | | (Addi, AddiOpcode, "addi", (ret: reg, lhs: reg, rhs: imm)), [INFO] [stdout] ... | [INFO] [stdout] 342 | | (Blob, BlobOpcode, "blob", (size: imm)), [INFO] [stdout] 343 | | ); [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: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `define_op_codes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `sway_types::Span` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/expr/op_code.rs:102:49 [INFO] [stdout] | [INFO] [stdout] 100 | fn instruction(ident: Ident, ($($arg_name,)*): Self::Args) -> Instruction { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | Instruction::$op_name { [INFO] [stdout] 102 | token: $ty_name { span: ident.span().clone() }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | / define_op_codes!( [INFO] [stdout] 173 | | /* Arithmetic/Logic (ALU) Instructions */ [INFO] [stdout] 174 | | (Add, AddOpcode, "add", (ret: reg, lhs: reg, rhs: reg)), [INFO] [stdout] 175 | | (Addi, AddiOpcode, "addi", (ret: reg, lhs: reg, rhs: imm)), [INFO] [stdout] ... | [INFO] [stdout] 342 | | (Blob, BlobOpcode, "blob", (size: imm)), [INFO] [stdout] 343 | | ); [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 `define_op_codes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sway-ast` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sway-ast` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "33d9b728bec49e51b3b6e71b25d9a8b8de92546bc585304bb3c1f5dda12ca4c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33d9b728bec49e51b3b6e71b25d9a8b8de92546bc585304bb3c1f5dda12ca4c9", kill_on_drop: false }` [INFO] [stdout] 33d9b728bec49e51b3b6e71b25d9a8b8de92546bc585304bb3c1f5dda12ca4c9