[INFO] fetching crate elrond-wasm-modules 0.38.0... [INFO] checking elrond-wasm-modules-0.38.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate elrond-wasm-modules 0.38.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate elrond-wasm-modules 0.38.0 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 elrond-wasm-modules 0.38.0 [INFO] finished tweaking crates.io crate elrond-wasm-modules 0.38.0 [INFO] tweaked toml for crates.io crate elrond-wasm-modules 0.38.0 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding endian-type v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding hashbrown v0.11.2 (latest: v0.14.5) [INFO] [stderr] Adding hex-literal v0.3.4 (latest: v0.4.1) [INFO] [stderr] Adding nibble_vec v0.0.4 (latest: v0.1.0) [INFO] [stderr] Adding radix_trie v0.1.6 (latest: v0.2.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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] 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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4826169868d40b92e83269617b7685b7299291de16b9ed2e81124b65b041b17a [INFO] running `Command { std: "docker" "start" "-a" "4826169868d40b92e83269617b7685b7299291de16b9ed2e81124b65b041b17a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4826169868d40b92e83269617b7685b7299291de16b9ed2e81124b65b041b17a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4826169868d40b92e83269617b7685b7299291de16b9ed2e81124b65b041b17a", kill_on_drop: false }` [INFO] [stdout] 4826169868d40b92e83269617b7685b7299291de16b9ed2e81124b65b041b17a [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00f5689c937dec33c471822aa2872d0370e0ff0850b659ad52418651a8a065dd [INFO] running `Command { std: "docker" "start" "-a" "00f5689c937dec33c471822aa2872d0370e0ff0850b659ad52418651a8a065dd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling nibble_vec v0.0.4 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling radix_trie v0.1.6 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling elrond-codec-derive v0.16.0 [INFO] [stderr] Compiling elrond-wasm-derive v0.38.0 [INFO] [stderr] Checking elrond-codec v0.16.0 [INFO] [stderr] Checking elrond-wasm v0.38.0 [INFO] [stderr] Checking elrond-wasm-modules v0.38.0 (/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/bonding_curve/utils/owner_endpoints.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 21 | address: ManagedAddress, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | token_identifier: TokenIdentifier, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | roles: MultiValueEncoded, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | ) { [INFO] [stdout] 25 | / self.send() [INFO] [stdout] 26 | | .esdt_system_sc_proxy() [INFO] [stdout] 27 | | .set_special_roles(&address, &token_identifier, roles.into_iter()) [INFO] [stdout] 28 | | .async_call() [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/bonding_curve/utils/owner_endpoints.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 35 | address: ManagedAddress, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | token_identifier: TokenIdentifier, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | roles: MultiValueEncoded, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | ) { [INFO] [stdout] 39 | / self.send() [INFO] [stdout] 40 | | .esdt_system_sc_proxy() [INFO] [stdout] 41 | | .unset_special_roles(&address, &token_identifier, roles.into_iter()) [INFO] [stdout] 42 | | .async_call() [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/dns.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | fn dns_register(&self, dns_address: ManagedAddress, name: ManagedBuffer) { [INFO] [stdout] | --------------------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let payment = self.call_value().egld_value(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | / self.dns_proxy(dns_address) [INFO] [stdout] 30 | | .register(&name) [INFO] [stdout] 31 | | .with_egld_transfer(payment) [INFO] [stdout] 32 | | .async_call() [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/esdt.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 30 | token_display_name: ManagedBuffer, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | token_ticker: ManagedBuffer, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let issue_cost = self.call_value().egld_value(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | / self.send() [INFO] [stdout] 44 | | .esdt_system_sc_proxy() [INFO] [stdout] 45 | | .issue_and_set_all_roles( [INFO] [stdout] 46 | | issue_cost, [INFO] [stdout] ... | [INFO] [stdout] 52 | | .async_call() [INFO] [stdout] 53 | | .with_callback(self.callbacks().issue_callback()) [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/esdt.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 85 | let token_id = self.token_id().get(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let empty_buffer = ManagedBuffer::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let empty_vec = ManagedVec::from_handle(empty_buffer.get_handle()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | &BigUint::zero(), [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/governance/governance_proposal.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn into_multiarg(self) -> GovernanceActionAsMultiArg { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | / ( [INFO] [stdout] 52 | | self.gas_limit, [INFO] [stdout] 53 | | self.dest_address, [INFO] [stdout] 54 | | self.function_name, [INFO] [stdout] 55 | | self.arguments, [INFO] [stdout] 56 | | ) [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/ongoing_operation.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 87 | let raw_buffer = self.current_ongoing_operation().get(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | match T::top_decode(raw_buffer) { [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/only_admin.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | fn is_admin(&self, address: ManagedAddress) -> bool { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | self.admins().contains(&address) [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/staking.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 121 | let required_stake = self.required_stake_amount().get(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | let user_stake = self.staked_amount(user).get(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | [INFO] [stdout] 124 | self.user_whitelist().contains(user) && user_stake >= required_stake [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/transfer_role_proxy.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 65 | original_caller: ManagedAddress, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | initial_payments: PaymentsVec, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | contract_call: ContractCallWithMultiEsdt, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | opt_custom_callback: Option>, [INFO] [stdout] | ------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let cb = match opt_custom_callback { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | Some(custom_cb) => custom_cb, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | / contract_call [INFO] [stdout] 95 | | .with_gas_limit(async_call_gas) [INFO] [stdout] 96 | | .async_call() [INFO] [stdout] 97 | | .with_callback(cb) [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 `elrond-wasm-modules` (lib) due to 11 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/bonding_curve/utils/owner_endpoints.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 21 | address: ManagedAddress, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | token_identifier: TokenIdentifier, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | roles: MultiValueEncoded, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | ) { [INFO] [stdout] 25 | / self.send() [INFO] [stdout] 26 | | .esdt_system_sc_proxy() [INFO] [stdout] 27 | | .set_special_roles(&address, &token_identifier, roles.into_iter()) [INFO] [stdout] 28 | | .async_call() [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/bonding_curve/utils/owner_endpoints.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 35 | address: ManagedAddress, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | token_identifier: TokenIdentifier, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | roles: MultiValueEncoded, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | ) { [INFO] [stdout] 39 | / self.send() [INFO] [stdout] 40 | | .esdt_system_sc_proxy() [INFO] [stdout] 41 | | .unset_special_roles(&address, &token_identifier, roles.into_iter()) [INFO] [stdout] 42 | | .async_call() [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/dns.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | fn dns_register(&self, dns_address: ManagedAddress, name: ManagedBuffer) { [INFO] [stdout] | --------------------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let payment = self.call_value().egld_value(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | / self.dns_proxy(dns_address) [INFO] [stdout] 30 | | .register(&name) [INFO] [stdout] 31 | | .with_egld_transfer(payment) [INFO] [stdout] 32 | | .async_call() [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/esdt.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 30 | token_display_name: ManagedBuffer, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | token_ticker: ManagedBuffer, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let issue_cost = self.call_value().egld_value(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | / self.send() [INFO] [stdout] 44 | | .esdt_system_sc_proxy() [INFO] [stdout] 45 | | .issue_and_set_all_roles( [INFO] [stdout] 46 | | issue_cost, [INFO] [stdout] ... | [INFO] [stdout] 52 | | .async_call() [INFO] [stdout] 53 | | .with_callback(self.callbacks().issue_callback()) [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/esdt.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 85 | let token_id = self.token_id().get(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let empty_buffer = ManagedBuffer::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let empty_vec = ManagedVec::from_handle(empty_buffer.get_handle()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | &BigUint::zero(), [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/governance/governance_proposal.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn into_multiarg(self) -> GovernanceActionAsMultiArg { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | / ( [INFO] [stdout] 52 | | self.gas_limit, [INFO] [stdout] 53 | | self.dest_address, [INFO] [stdout] 54 | | self.function_name, [INFO] [stdout] 55 | | self.arguments, [INFO] [stdout] 56 | | ) [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/ongoing_operation.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 87 | let raw_buffer = self.current_ongoing_operation().get(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | match T::top_decode(raw_buffer) { [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/only_admin.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | fn is_admin(&self, address: ManagedAddress) -> bool { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | self.admins().contains(&address) [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/staking.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 121 | let required_stake = self.required_stake_amount().get(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | let user_stake = self.staked_amount(user).get(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | [INFO] [stdout] 124 | self.user_whitelist().contains(user) && user_stake >= required_stake [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/transfer_role_proxy.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 65 | original_caller: ManagedAddress, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | initial_payments: PaymentsVec, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | contract_call: ContractCallWithMultiEsdt, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | opt_custom_callback: Option>, [INFO] [stdout] | ------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let cb = match opt_custom_callback { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | Some(custom_cb) => custom_cb, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | / contract_call [INFO] [stdout] 95 | | .with_gas_limit(async_call_gas) [INFO] [stdout] 96 | | .async_call() [INFO] [stdout] 97 | | .with_callback(cb) [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 `elrond-wasm-modules` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "00f5689c937dec33c471822aa2872d0370e0ff0850b659ad52418651a8a065dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00f5689c937dec33c471822aa2872d0370e0ff0850b659ad52418651a8a065dd", kill_on_drop: false }` [INFO] [stdout] 00f5689c937dec33c471822aa2872d0370e0ff0850b659ad52418651a8a065dd