[INFO] fetching crate sway-core 0.64.0... [INFO] checking sway-core-0.64.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate sway-core 0.64.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate sway-core 0.64.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sway-core 0.64.0 [INFO] finished tweaking crates.io crate sway-core 0.64.0 [INFO] tweaked toml for crates.io crate sway-core 0.64.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 330 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 bitmaps v2.1.0 (available: v3.2.1) [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 educe v0.4.23 (available: v0.6.0) [INFO] [stderr] Adding embedded-io v0.4.0 (available: v0.6.1) [INFO] [stderr] Adding enum-ordinalize v3.1.15 (available: v4.3.0) [INFO] [stderr] Adding ethbloom v0.13.0 (available: v0.14.1) [INFO] [stderr] Adding ethereum-types v0.14.1 (available: v0.15.1) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [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.12.3 (available: v0.14.5) [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 impl-codec v0.6.0 (available: v0.7.0) [INFO] [stderr] Adding impl-rlp v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding impl-serde v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding miden-core v0.3.0 (available: v0.10.5) [INFO] [stderr] Adding owo-colors v3.5.0 (available: v4.1.0) [INFO] [stderr] Adding primitive-types v0.12.2 (available: v0.13.1) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding rlp v0.5.2 (available: v0.6.1) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding sized-chunks v0.6.5 (available: v0.7.0) [INFO] [stderr] Adding snafu v0.7.5 (available: v0.8.5) [INFO] [stderr] Adding snafu-derive v0.7.5 (available: v0.8.5) [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 syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding sysinfo v0.29.11 (available: v0.31.4) [INFO] [stderr] Adding term v0.7.0 (available: v1.0.0) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding uint v0.9.5 (available: v0.10.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winter-crypto v0.4.2 (available: v0.9.0) [INFO] [stderr] Adding winter-math v0.4.2 (available: v0.9.3) [INFO] [stderr] Adding winter-utils v0.4.2 (available: v0.9.3) [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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d766038234832c631029d34e4b654845e260621c4d207d46026522b183554ec [INFO] running `Command { std: "docker" "start" "-a" "0d766038234832c631029d34e4b654845e260621c4d207d46026522b183554ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d766038234832c631029d34e4b654845e260621c4d207d46026522b183554ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d766038234832c631029d34e4b654845e260621c4d207d46026522b183554ec", kill_on_drop: false }` [INFO] [stdout] 0d766038234832c631029d34e4b654845e260621c4d207d46026522b183554ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daae37cd26e0d9885e64b7dfc024efe49f607f99439571667548ead9fd5ac7a0 [INFO] running `Command { std: "docker" "start" "-a" "daae37cd26e0d9885e64b7dfc024efe49f607f99439571667548ead9fd5ac7a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking fuel-storage v0.57.1 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking ruzstd v0.7.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling peg-runtime v0.8.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking winter-utils v0.4.2 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking in_definite v1.0.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking winter-math v0.4.2 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Compiling peg-macros v0.8.4 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking vec1 v1.12.1 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking sysinfo v0.29.11 [INFO] [stderr] Checking peg v0.8.4 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling fuel-derive v0.57.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling extension-trait v1.0.2 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling sway-ir-macros v0.64.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking filecheck v0.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking winter-crypto v0.4.2 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Checking miden-core v0.3.0 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling pest_generator v2.7.13 [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] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking coins-core v0.8.7 [INFO] [stderr] Checking fuel-types v0.57.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking fuel-merkle v0.57.1 [INFO] [stderr] Checking sway-utils v0.64.0 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking coins-bip32 v0.8.7 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking prettytable-rs v0.10.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking postcard v1.0.10 [INFO] [stderr] Checking coins-bip39 v0.8.7 [INFO] [stderr] Checking prettydiff v0.7.0 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking fuel-asm v0.57.1 [INFO] [stderr] Checking fuel-crypto v0.57.1 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking fuel-abi-types v0.7.0 [INFO] [stderr] Checking fuel-ethabi v18.0.0 [INFO] [stderr] Compiling fuel-etk-ops v0.3.1-dev [INFO] [stderr] Checking graph-cycles v0.1.0 [INFO] [stderr] Checking fuel-tx v0.57.1 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Checking sway-types v0.64.0 [INFO] [stderr] Checking fuel-vm v0.57.1 [INFO] [stderr] Checking sway-error v0.64.0 [INFO] [stderr] Checking sway-ir v0.64.0 [INFO] [stderr] Checking fuel-etk-asm v0.3.1-dev [INFO] [stderr] Checking sway-ast v0.64.0 [INFO] [stderr] Checking sway-parse v0.64.0 [INFO] [stderr] Checking sway-core v0.64.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn test_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | ) -> impl '_ + Iterator, DeclRefFunction)> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn contract_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 126 | ) -> impl '_ + Iterator> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn contract_supertrait_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 136 | ) -> impl '_ + Iterator> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/program.rs:430:15 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn test_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 430 | ) -> impl '_ + Iterator, DeclRefFunction)> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn test_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | ) -> impl '_ + Iterator, DeclRefFunction)> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn contract_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 126 | ) -> impl '_ + Iterator> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn contract_supertrait_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 136 | ) -> impl '_ + Iterator> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/program.rs:430:15 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn test_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 430 | ) -> impl '_ + Iterator, DeclRefFunction)> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(info::TypeInfo, &reassignment::ProjectionKind)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ir_generation/types.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 98 | field_kind: ty::ProjectionKind, [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | match (struct_ty_info, &field_kind) { [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 `(info::TypeInfo, &reassignment::ProjectionKind)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ir_generation/types.rs:179:23 [INFO] [stdout] | [INFO] [stdout] 167 | let field_kind = field.get_field_kind(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | match (ty_info, &field_kind) { [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 `(info::TypeInfo, &reassignment::ProjectionKind)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ir_generation/types.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 98 | field_kind: ty::ProjectionKind, [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | match (struct_ty_info, &field_kind) { [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 `(info::TypeInfo, &reassignment::ProjectionKind)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ir_generation/types.rs:179:23 [INFO] [stdout] | [INFO] [stdout] 167 | let field_kind = field.get_field_kind(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | match (ty_info, &field_kind) { [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 `Arc` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic_analysis/ast_node/expression/typed_expression/enum_instantiation.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 27 | call_path_decl: ty::TyDecl, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let enum_decl = decl_engine.get_enum(&enum_ref); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let enum_variant = enum_decl [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | match (&args, &*type_engine.get(enum_variant.type_argument.type_id)) { [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 `Arc` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic_analysis/ast_node/expression/typed_expression/enum_instantiation.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 27 | call_path_decl: ty::TyDecl, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let enum_decl = decl_engine.get_enum(&enum_ref); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let enum_variant = enum_decl [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | match (&args, &*type_engine.get(enum_variant.type_argument.type_id)) { [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 `info::TypeInfo` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/type_system/substitute/subst_map.rs:361:15 [INFO] [stdout] | [INFO] [stdout] 360 | let type_info = type_engine.get(type_id); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 361 | match (*type_info).clone() { [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 `engine_threading::WithEngines<'_, info::TypeInfo>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/type_system/unify/occurs_check.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 34 | let other_generics = other.extract_nested_generics(self.engines); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | other_generics.contains( [INFO] [stdout] 36 | &self [INFO] [stdout] | ______________^ [INFO] [stdout] 37 | | .engines [INFO] [stdout] 38 | | .help_out((*self.engines.te().get(generic)).clone()), [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 `Arc` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/type_system/mod.rs:152:43 [INFO] [stdout] | [INFO] [stdout] 30 | let engines = Engines::default(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | let variant_types = vec![ty::TyEnumVariant { [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | if let TypeInfo::Enum(decl_ref_1) = &*engines.te().get(ty_1) { [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/asm_lang/mod.rs:869:5 [INFO] [stdout] | [INFO] [stdout] 828 | / fn four_regs( [INFO] [stdout] 829 | | handler: &Handler, [INFO] [stdout] 830 | | args: &[VirtualRegister], [INFO] [stdout] 831 | | immediate: &Option, [INFO] [stdout] ... | [INFO] [stdout] 840 | | ErrorEmitted, [INFO] [stdout] 841 | | > { [INFO] [stdout] | |_- move the `impl` block outside of this function `four_regs` [INFO] [stdout] ... [INFO] [stdout] 869 | impl ConstantRegister { [INFO] [stdout] | ^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | `ConstantRegister` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `info::TypeInfo` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/type_system/substitute/subst_map.rs:361:15 [INFO] [stdout] | [INFO] [stdout] 360 | let type_info = type_engine.get(type_id); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 361 | match (*type_info).clone() { [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 `engine_threading::WithEngines<'_, info::TypeInfo>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/type_system/unify/occurs_check.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 34 | let other_generics = other.extract_nested_generics(self.engines); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | other_generics.contains( [INFO] [stdout] 36 | &self [INFO] [stdout] | ______________^ [INFO] [stdout] 37 | | .engines [INFO] [stdout] 38 | | .help_out((*self.engines.te().get(generic)).clone()), [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 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/asm_lang/mod.rs:869:5 [INFO] [stdout] | [INFO] [stdout] 828 | / fn four_regs( [INFO] [stdout] 829 | | handler: &Handler, [INFO] [stdout] 830 | | args: &[VirtualRegister], [INFO] [stdout] 831 | | immediate: &Option, [INFO] [stdout] ... | [INFO] [stdout] 840 | | ErrorEmitted, [INFO] [stdout] 841 | | > { [INFO] [stdout] | |_- move the `impl` block outside of this function `four_regs` [INFO] [stdout] ... [INFO] [stdout] 869 | impl ConstantRegister { [INFO] [stdout] | ^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | `ConstantRegister` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sway-core` (lib test) due to 7 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sway-core` (lib) due to 6 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "daae37cd26e0d9885e64b7dfc024efe49f607f99439571667548ead9fd5ac7a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daae37cd26e0d9885e64b7dfc024efe49f607f99439571667548ead9fd5ac7a0", kill_on_drop: false }` [INFO] [stdout] daae37cd26e0d9885e64b7dfc024efe49f607f99439571667548ead9fd5ac7a0