[INFO] fetching crate pro_env 3.0.0-rc2... [INFO] checking pro_env-3.0.0-rc2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate pro_env 3.0.0-rc2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate pro_env 3.0.0-rc2 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 pro_env 3.0.0-rc2 [INFO] finished tweaking crates.io crate pro_env 3.0.0-rc2 [INFO] tweaked toml for crates.io crate pro_env 3.0.0-rc2 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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 64 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding bitvec v0.20.4 (available: v1.0.1) [INFO] [stderr] Adding blake2 v0.9.2 (available: v0.10.6) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding block-padding v0.2.1 (available: v0.3.3) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding crypto-mac v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding funty v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding impl-serde v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding proc-macro-crate v0.1.5 (available: v3.2.0) [INFO] [stderr] Adding radium v0.6.2 (available: v1.1.0) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding sha3 v0.9.1 (available: v0.10.8) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wyz v0.2.0 (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] [stderr] Blocking waiting for file lock on package cache [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cf78a16e420b703af912826bf5be1cd3bb752d245d4519630d923bbeb5d35b3 [INFO] running `Command { std: "docker" "start" "-a" "0cf78a16e420b703af912826bf5be1cd3bb752d245d4519630d923bbeb5d35b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cf78a16e420b703af912826bf5be1cd3bb752d245d4519630d923bbeb5d35b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cf78a16e420b703af912826bf5be1cd3bb752d245d4519630d923bbeb5d35b3", kill_on_drop: false }` [INFO] [stdout] 0cf78a16e420b703af912826bf5be1cd3bb752d245d4519630d923bbeb5d35b3 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 340066cb99293cb4a97fe79bda3b5e8af7c59a0dd9a0e58976555b57b4a7ddcd [INFO] running `Command { std: "docker" "start" "-a" "340066cb99293cb4a97fe79bda3b5e8af7c59a0dd9a0e58976555b57b4a7ddcd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking pro_prelude v3.0.0-rc2 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking pro_allocator v3.0.0-rc2 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling tetsy-scale-info-derive v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking impl-serde v0.3.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling tetsy-scale-codec-derive v2.0.1 [INFO] [stderr] Checking tetsy-scale-codec v2.0.1 [INFO] [stderr] Checking tetsy-scale-info v0.5.1 [INFO] [stderr] Checking pro_primitives v3.0.0-rc2 [INFO] [stderr] Checking pro_metadata v3.0.0-rc2 [INFO] [stderr] Checking pro_env v3.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | const_err, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountKind`, `ContractAccount`, and `ContractStorage` [INFO] [stdout] --> src/engine/off_chain/db/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | AccountKind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | AccountsDb, [INFO] [stdout] 28 | ContractAccount, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | ContractStorage, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PastPrints` [INFO] [stdout] --> src/engine/off_chain/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | PastPrints, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountError` and `TypedEncodedError` [INFO] [stdout] --> src/engine/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | AccountError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | TypedEncodedError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | const_err, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountKind`, `ContractAccount`, and `ContractStorage` [INFO] [stdout] --> src/engine/off_chain/db/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | AccountKind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | AccountsDb, [INFO] [stdout] 28 | ContractAccount, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | ContractStorage, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PastPrints` [INFO] [stdout] --> src/engine/off_chain/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | PastPrints, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountError` and `TypedEncodedError` [INFO] [stdout] --> src/engine/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | AccountError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | TypedEncodedError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chain_extension.rs:383:18 [INFO] [stdout] | [INFO] [stdout] 383 | |mut output| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chain_extension.rs:383:18 [INFO] [stdout] | [INFO] [stdout] 383 | |mut output| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `::AccountId` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine/off_chain/test_api.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(scale::Encode, scale::Decode)] [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | / /// The beneficiary account who received the remaining value in the contract. [INFO] [stdout] 388 | | pub beneficiary: ::AccountId, [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] warning: fields `callee`, `gas_limit`, `transferred_value`, `return_type`, and `exec_input` are never read [INFO] [stdout] --> src/call/call_builder.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct CallParams [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | callee: E::AccountId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | /// The maximum gas costs allowed for the call. [INFO] [stdout] 40 | gas_limit: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | /// The transferred value for the call. [INFO] [stdout] 42 | transferred_value: E::Balance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | /// The expected return type. [INFO] [stdout] 44 | return_type: ReturnType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | /// The inputs to the execution which is a selector and encoded arguments. [INFO] [stdout] 46 | exec_input: ExecutionInput, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code_hash`, `gas_limit`, `endowment`, `exec_input`, `salt_bytes`, and `return_type` are never read [INFO] [stdout] --> src/call/create_builder.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct CreateParams [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | code_hash: E::Hash, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | /// The maximum gas costs allowed for the instantiation. [INFO] [stdout] 62 | gas_limit: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 63 | /// The endowment for the instantiated contract. [INFO] [stdout] 64 | endowment: E::Balance, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | /// The input data for the instantiation. [INFO] [stdout] 66 | exec_input: ExecutionInput, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | /// The salt for determining the hash for the contract account ID. [INFO] [stdout] 68 | salt_bytes: Salt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | /// The type of the instantiated contract. [INFO] [stdout] 70 | return_type: ReturnType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/types.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg_attr(feature = "std", derive(TypeInfo))] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `TypeInfo` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TYPE_INFO_FOR_DefaultEnvironment` [INFO] [stdout] 111 | pub enum DefaultEnvironment {} [INFO] [stdout] | ------------------ `DefaultEnvironment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `TypeInfo` may come from an old version of the `tetsy_scale_info_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_info_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] = note: this warning originates in the derive macro `TypeInfo` (in Nightly builds, run with -Z macro-backtrace for more info) [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/types.rs:153:36 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg_attr(feature = "std", derive(TypeInfo))] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `TypeInfo` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TYPE_INFO_FOR_AccountId` [INFO] [stdout] 154 | pub struct AccountId([u8; 32]); [INFO] [stdout] | --------- `AccountId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `TypeInfo` may come from an old version of the `tetsy_scale_info_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_info_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `TypeInfo` (in Nightly builds, run with -Z macro-backtrace for more info) [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/types.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | #[cfg_attr(feature = "std", derive(TypeInfo))] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `TypeInfo` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TYPE_INFO_FOR_Hash` [INFO] [stdout] 186 | pub struct Hash([u8; 32]); [INFO] [stdout] | ---- `Hash` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `TypeInfo` may come from an old version of the `tetsy_scale_info_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_info_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `TypeInfo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `::AccountId` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine/off_chain/test_api.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(scale::Encode, scale::Decode)] [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | / /// The beneficiary account who received the remaining value in the contract. [INFO] [stdout] 388 | | pub beneficiary: ::AccountId, [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: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pro_env` (lib test) due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `saturating_add`, `saturating_sub`, and `saturating_pow` are never used [INFO] [stdout] --> src/arithmetic.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub trait Saturating { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 146 | fn saturating_add(self, rhs: Self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | fn saturating_sub(self, rhs: Self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn saturating_pow(self, exp: usize) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `callee`, `gas_limit`, `transferred_value`, `return_type`, and `exec_input` are never read [INFO] [stdout] --> src/call/call_builder.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct CallParams [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | callee: E::AccountId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | /// The maximum gas costs allowed for the call. [INFO] [stdout] 40 | gas_limit: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | /// The transferred value for the call. [INFO] [stdout] 42 | transferred_value: E::Balance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | /// The expected return type. [INFO] [stdout] 44 | return_type: ReturnType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | /// The inputs to the execution which is a selector and encoded arguments. [INFO] [stdout] 46 | exec_input: ExecutionInput, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code_hash`, `gas_limit`, `endowment`, `exec_input`, `salt_bytes`, and `return_type` are never read [INFO] [stdout] --> src/call/create_builder.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct CreateParams [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | code_hash: E::Hash, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | /// The maximum gas costs allowed for the instantiation. [INFO] [stdout] 62 | gas_limit: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 63 | /// The endowment for the instantiated contract. [INFO] [stdout] 64 | endowment: E::Balance, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | /// The input data for the instantiation. [INFO] [stdout] 66 | exec_input: ExecutionInput, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | /// The salt for determining the hash for the contract account ID. [INFO] [stdout] 68 | salt_bytes: Salt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | /// The type of the instantiated contract. [INFO] [stdout] 70 | return_type: ReturnType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/types.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg_attr(feature = "std", derive(TypeInfo))] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `TypeInfo` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TYPE_INFO_FOR_DefaultEnvironment` [INFO] [stdout] 111 | pub enum DefaultEnvironment {} [INFO] [stdout] | ------------------ `DefaultEnvironment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `TypeInfo` may come from an old version of the `tetsy_scale_info_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_info_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] = note: this warning originates in the derive macro `TypeInfo` (in Nightly builds, run with -Z macro-backtrace for more info) [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/types.rs:153:36 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg_attr(feature = "std", derive(TypeInfo))] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `TypeInfo` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TYPE_INFO_FOR_AccountId` [INFO] [stdout] 154 | pub struct AccountId([u8; 32]); [INFO] [stdout] | --------- `AccountId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `TypeInfo` may come from an old version of the `tetsy_scale_info_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_info_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `TypeInfo` (in Nightly builds, run with -Z macro-backtrace for more info) [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/types.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | #[cfg_attr(feature = "std", derive(TypeInfo))] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `TypeInfo` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TYPE_INFO_FOR_Hash` [INFO] [stdout] 186 | pub struct Hash([u8; 32]); [INFO] [stdout] | ---- `Hash` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `TypeInfo` may come from an old version of the `tetsy_scale_info_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_info_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `TypeInfo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pro_env` (lib) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "340066cb99293cb4a97fe79bda3b5e8af7c59a0dd9a0e58976555b57b4a7ddcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "340066cb99293cb4a97fe79bda3b5e8af7c59a0dd9a0e58976555b57b4a7ddcd", kill_on_drop: false }` [INFO] [stdout] 340066cb99293cb4a97fe79bda3b5e8af7c59a0dd9a0e58976555b57b4a7ddcd