[INFO] fetching crate multiversx-sc-meta-lib 0.52.3... [INFO] checking multiversx-sc-meta-lib-0.52.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate multiversx-sc-meta-lib 0.52.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate multiversx-sc-meta-lib 0.52.3 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 multiversx-sc-meta-lib 0.52.3 [INFO] finished tweaking crates.io crate multiversx-sc-meta-lib 0.52.3 [INFO] tweaked toml for crates.io crate multiversx-sc-meta-lib 0.52.3 written to /workspace/builds/worker-7-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.7.4 (latest: v0.7.6) [INFO] [stderr] Adding endian-type v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding quote v1.0.36 (latest: v1.0.37) [INFO] [stderr] Adding syn v2.0.72 (latest: v2.0.77) [INFO] [stderr] Adding wasmparser v0.214.0 (latest: v0.216.0) [INFO] [stderr] Adding wasmprinter v0.214.0 (latest: v0.216.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01782982ae65e687654553c72fa0a1fe7abecd6ee40073356819c8e9c1690b4d [INFO] running `Command { std: "docker" "start" "-a" "01782982ae65e687654553c72fa0a1fe7abecd6ee40073356819c8e9c1690b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01782982ae65e687654553c72fa0a1fe7abecd6ee40073356819c8e9c1690b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01782982ae65e687654553c72fa0a1fe7abecd6ee40073356819c8e9c1690b4d", kill_on_drop: false }` [INFO] [stdout] 01782982ae65e687654553c72fa0a1fe7abecd6ee40073356819c8e9c1690b4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc02d32441e792813f541fe09ba95926eb9df64f2b83f7a13e77aec8031a8aba [INFO] running `Command { std: "docker" "start" "-a" "bc02d32441e792813f541fe09ba95926eb9df64f2b83f7a13e77aec8031a8aba", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking unwrap-infallible v0.1.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking rustc_version v0.4.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling multiversx-sc-codec-derive v0.20.1 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling multiversx-sc-derive v0.52.3 [INFO] [stderr] Checking multiversx-sc-codec v0.20.1 [INFO] [stderr] Checking multiversx-sc v0.52.3 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking wasmparser v0.214.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking wasmprinter v0.214.0 [INFO] [stderr] Checking multiversx-sc-meta-lib v0.52.3 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/contract/sc_config/contract_variant_builder.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 64 | let default = ContractVariantBuilder::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | / ContractVariantBuilder { [INFO] [stdout] 68 | | contract_id: contract_id.clone(), [INFO] [stdout] 69 | | explicit_name: cms.name.clone().unwrap_or(default.explicit_name), [INFO] [stdout] 70 | | add_unlabelled: cms.add_unlabelled.unwrap_or(default.add_unlabelled), [INFO] [stdout] ... | [INFO] [stdout] 84 | | ..default [INFO] [stdout] 85 | | }, [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/contract/sc_config/contract_variant_builder.rs:400:15 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn load_from_file>(path: P, original_abi: &ContractAbi) -> Option { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 400 | match fs::read_to_string(path.as_ref()) { [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/version_history.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 128 | let tag: FrameworkVersion = parse_known_version(tag_str); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | [INFO] [stdout] 130 | tag >= LOWER_VERSION_WITH_TEMPLATE_TAG [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/version_history.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn is_template_with_autogenerated_wasm(tag: FrameworkVersion) -> bool { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | tag >= LOWER_VERSION_WITH_AUTOGENERATED_WASM [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/version_history.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn is_template_with_autogenerated_json(tag: FrameworkVersion) -> bool { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | tag >= LOWER_VERSION_WITH_AUTOGENERATED_JSON [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multiversx-sc-meta-lib` (lib) due to 6 previous errors [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/contract/sc_config/contract_variant_builder.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 64 | let default = ContractVariantBuilder::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | / ContractVariantBuilder { [INFO] [stdout] 68 | | contract_id: contract_id.clone(), [INFO] [stdout] 69 | | explicit_name: cms.name.clone().unwrap_or(default.explicit_name), [INFO] [stdout] 70 | | add_unlabelled: cms.add_unlabelled.unwrap_or(default.add_unlabelled), [INFO] [stdout] ... | [INFO] [stdout] 84 | | ..default [INFO] [stdout] 85 | | }, [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/contract/sc_config/contract_variant_builder.rs:400:15 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn load_from_file>(path: P, original_abi: &ContractAbi) -> Option { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 400 | match fs::read_to_string(path.as_ref()) { [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/version_history.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 128 | let tag: FrameworkVersion = parse_known_version(tag_str); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | [INFO] [stdout] 130 | tag >= LOWER_VERSION_WITH_TEMPLATE_TAG [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/version_history.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn is_template_with_autogenerated_wasm(tag: FrameworkVersion) -> bool { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | tag >= LOWER_VERSION_WITH_AUTOGENERATED_WASM [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/version_history.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn is_template_with_autogenerated_json(tag: FrameworkVersion) -> bool { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | tag >= LOWER_VERSION_WITH_AUTOGENERATED_JSON [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multiversx-sc-meta-lib` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "bc02d32441e792813f541fe09ba95926eb9df64f2b83f7a13e77aec8031a8aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc02d32441e792813f541fe09ba95926eb9df64f2b83f7a13e77aec8031a8aba", kill_on_drop: false }` [INFO] [stdout] bc02d32441e792813f541fe09ba95926eb9df64f2b83f7a13e77aec8031a8aba