[INFO] fetching crate psp34-full 0.2.1... [INFO] checking psp34-full-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate psp34-full 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate psp34-full 0.2.1 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 psp34-full 0.2.1 [INFO] finished tweaking crates.io crate psp34-full 0.2.1 [INFO] tweaked toml for crates.io crate psp34-full 0.2.1 written to /workspace/builds/worker-6-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 113 packages to latest compatible versions [INFO] [stderr] Adding darling v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding derive_more v0.99.18 (latest: v1.0.0) [INFO] [stderr] Adding env_logger v0.10.2 (latest: v0.11.5) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding ink v4.3.0 (latest: v5.0.0) [INFO] [stderr] Adding ink_allocator v4.3.0 (latest: v5.0.0) [INFO] [stderr] Adding ink_codegen v4.3.0 (latest: v5.0.0) [INFO] [stderr] Adding ink_engine v4.3.0 (latest: v5.0.0) [INFO] [stderr] Adding ink_env v4.3.0 (latest: v5.0.0) [INFO] [stderr] Adding ink_ir v4.3.0 (latest: v5.0.0) [INFO] [stderr] Adding ink_macro v4.3.0 (latest: v5.0.0) [INFO] [stderr] Adding ink_metadata v4.3.0 (latest: v5.0.0) [INFO] [stderr] Adding ink_prelude v4.3.0 (latest: v5.0.0) [INFO] [stderr] Adding ink_primitives v4.3.0 (latest: v5.0.0) [INFO] [stderr] Adding ink_storage v4.3.0 (latest: v5.0.0) [INFO] [stderr] Adding ink_storage_traits v4.3.0 (latest: v5.0.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.2.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding scale-bits v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding scale-decode v0.9.0 (latest: v0.13.1) [INFO] [stderr] Adding scale-decode-derive v0.9.0 (latest: v0.13.1) [INFO] [stderr] Adding scale-encode v0.5.0 (latest: v0.7.1) [INFO] [stderr] Adding scale-encode-derive v0.5.0 (latest: v0.7.1) [INFO] [stderr] Adding secp256k1 v0.27.0 (latest: v0.29.0) [INFO] [stderr] Adding secp256k1-sys v0.8.1 (latest: v0.10.0) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] bae06bbb06fb8ce95b3c5f24b8078c3b1524233d4b159811f9030ea91f7f81b5 [INFO] running `Command { std: "docker" "start" "-a" "bae06bbb06fb8ce95b3c5f24b8078c3b1524233d4b159811f9030ea91f7f81b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bae06bbb06fb8ce95b3c5f24b8078c3b1524233d4b159811f9030ea91f7f81b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bae06bbb06fb8ce95b3c5f24b8078c3b1524233d4b159811f9030ea91f7f81b5", kill_on_drop: false }` [INFO] [stdout] bae06bbb06fb8ce95b3c5f24b8078c3b1524233d4b159811f9030ea91f7f81b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] bcfe3aa7cfc3ca2c623ce650b3fe1df3cfff1219730ab238be8a70a6737282a5 [INFO] running `Command { std: "docker" "start" "-a" "bcfe3aa7cfc3ca2c623ce650b3fe1df3cfff1219730ab238be8a70a6737282a5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Checking ink_prelude v4.3.0 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking ink_allocator v4.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling ink_ir v4.3.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling scale-info-derive v2.11.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling scale-encode-derive v0.5.0 [INFO] [stderr] Compiling scale-decode-derive v0.9.0 [INFO] [stderr] Checking parity-scale-codec v3.6.12 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking scale-info v2.11.3 [INFO] [stderr] Checking scale-bits v0.4.0 [INFO] [stderr] Checking scale-encode v0.5.0 [INFO] [stderr] Checking scale-decode v0.9.0 [INFO] [stderr] Checking ink_primitives v4.3.0 [INFO] [stderr] Checking ink_metadata v4.3.0 [INFO] [stderr] Checking ink_engine v4.3.0 [INFO] [stderr] Compiling ink_codegen v4.3.0 [INFO] [stderr] Checking ink_storage_traits v4.3.0 [INFO] [stderr] Checking ink_env v4.3.0 [INFO] [stderr] Checking ink_storage v4.3.0 [INFO] [stderr] Compiling ink_macro v4.3.0 [INFO] [stderr] Checking ink v4.3.0 [INFO] [stderr] Checking psp34-full v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / pub struct Token { [INFO] [stdout] 37 | | pub data: PSP34Data, [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / pub fn new() -> Self { [INFO] [stdout] 43 | | Self { [INFO] [stdout] 44 | | data: PSP34Data::new(), [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ink::prelude::string::ToString` [INFO] [stdout] --> lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use ink::prelude::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::Data` [INFO] [stdout] --> lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::data::Data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / pub struct Token { [INFO] [stdout] 37 | | pub data: PSP34Data, [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / pub fn new() -> Self { [INFO] [stdout] 43 | | Self { [INFO] [stdout] 44 | | data: PSP34Data::new(), [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ink::prelude::string::ToString` [INFO] [stdout] --> lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use ink::prelude::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::Data` [INFO] [stdout] --> lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::data::Data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_attribute` and `set_attribute` are never used [INFO] [stdout] --> data.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 348 | impl Data { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 349 | pub fn get_attribute(&self, id: Id, key: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn set_attribute( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> data.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 256 | impl Balances { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 257 | pub fn new() -> Balances { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn insert(&mut self, key: &Option, value: &Id){ [INFO] [stdout] | ^^^^^^ [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] --> traits.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub trait PSP34 { [INFO] [stdout] 11 | | /// Returns the collection `Id` of the NFT token. [INFO] [stdout] 12 | | /// [INFO] [stdout] 13 | | /// This can represents the relationship between tokens/contracts/pallets. [INFO] [stdout] ... | [INFO] [stdout] 67 | | fn owner_of(&self, id: Id) -> Option; [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> traits.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / pub trait PSP34Metadata { [INFO] [stdout] 72 | | /// Returns the attribute of `id` for the given `key`. [INFO] [stdout] 73 | | /// [INFO] [stdout] 74 | | /// If `id` is a collection id of the token, it returns attributes for collection. [INFO] [stdout] 75 | | #[ink(message)] [INFO] [stdout] 76 | | fn get_attribute(&self, id: Id, key: Vec) -> Option>; [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> traits.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / pub trait PSP34Mintable { [INFO] [stdout] 81 | | /// Mints a token to the sender's account. [INFO] [stdout] 82 | | /// [INFO] [stdout] 83 | | /// # Events [INFO] [stdout] ... | [INFO] [stdout] 94 | | fn mint(&mut self, id: Id) -> Result<(), PSP34Error>; [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> traits.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / pub trait PSP34Burnable { [INFO] [stdout] 99 | | /// Burns token from the selected account. [INFO] [stdout] 100 | | /// [INFO] [stdout] 101 | | /// # Events [INFO] [stdout] ... | [INFO] [stdout] 109 | | fn burn(&mut self, account: AccountId, id: Id) -> Result<(), PSP34Error>; [INFO] [stdout] 110 | | } [INFO] [stdout] | |_^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> traits.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | / pub trait PSP34Enumerable { [INFO] [stdout] 114 | | /// Returns a token `Id` owned by `owner` at a given `index` of its token list. [INFO] [stdout] 115 | | /// Use along with `balance_of` to enumerate all of ``owner``'s tokens. [INFO] [stdout] 116 | | #[ink(message)] [INFO] [stdout] ... | [INFO] [stdout] 122 | | fn token_by_index(&self, index: u128) -> Result; [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> traits.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / /// Trait for ownership-related functionalities. [INFO] [stdout] 126 | | /// [INFO] [stdout] 127 | | /// Provides methods for managing ownership of the contract, including [INFO] [stdout] 128 | | /// transferring and renouncing ownership. [INFO] [stdout] ... | [INFO] [stdout] 160 | | fn transfer_ownership(&mut self, new_owner: Option) -> Result<(), OwnableError>; [INFO] [stdout] 161 | | } [INFO] [stdout] | |_^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> traits.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | / /// Trait for pausing and unpausing token transfers. [INFO] [stdout] 164 | | /// [INFO] [stdout] 165 | | /// This trait allows the contract owner to pause or unpause token transfers, [INFO] [stdout] 166 | | /// which can be useful in emergency situations or during maintenance. [INFO] [stdout] ... | [INFO] [stdout] 187 | | fn unpause(&mut self) -> Result<(), PSP34Error>; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / pub struct Approval { [INFO] [stdout] 79 | | #[ink(topic)] [INFO] [stdout] 80 | | owner: AccountId, [INFO] [stdout] 81 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 85 | | approved: bool, [INFO] [stdout] 86 | | } [INFO] [stdout] | |_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / pub struct Transfer { [INFO] [stdout] 91 | | #[ink(topic)] [INFO] [stdout] 92 | | from: Option, [INFO] [stdout] 93 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 96 | | id: Id, [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> lib.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / pub struct AttributeSet { [INFO] [stdout] 102 | | id: Id, [INFO] [stdout] 103 | | key: Vec, [INFO] [stdout] 104 | | data: Vec, [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / pub struct Token { [INFO] [stdout] 37 | | pub data: PSP34Data, [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 11 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `psp34-full` (lib test) due to 12 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `get_attribute` and `set_attribute` are never used [INFO] [stdout] --> data.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 348 | impl Data { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 349 | pub fn get_attribute(&self, id: Id, key: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn set_attribute( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> data.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 256 | impl Balances { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 257 | pub fn new() -> Balances { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn insert(&mut self, key: &Option, value: &Id){ [INFO] [stdout] | ^^^^^^ [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] --> traits.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub trait PSP34 { [INFO] [stdout] 11 | | /// Returns the collection `Id` of the NFT token. [INFO] [stdout] 12 | | /// [INFO] [stdout] 13 | | /// This can represents the relationship between tokens/contracts/pallets. [INFO] [stdout] ... | [INFO] [stdout] 67 | | fn owner_of(&self, id: Id) -> Option; [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> traits.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / pub trait PSP34Metadata { [INFO] [stdout] 72 | | /// Returns the attribute of `id` for the given `key`. [INFO] [stdout] 73 | | /// [INFO] [stdout] 74 | | /// If `id` is a collection id of the token, it returns attributes for collection. [INFO] [stdout] 75 | | #[ink(message)] [INFO] [stdout] 76 | | fn get_attribute(&self, id: Id, key: Vec) -> Option>; [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> traits.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / pub trait PSP34Mintable { [INFO] [stdout] 81 | | /// Mints a token to the sender's account. [INFO] [stdout] 82 | | /// [INFO] [stdout] 83 | | /// # Events [INFO] [stdout] ... | [INFO] [stdout] 94 | | fn mint(&mut self, id: Id) -> Result<(), PSP34Error>; [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> traits.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / pub trait PSP34Burnable { [INFO] [stdout] 99 | | /// Burns token from the selected account. [INFO] [stdout] 100 | | /// [INFO] [stdout] 101 | | /// # Events [INFO] [stdout] ... | [INFO] [stdout] 109 | | fn burn(&mut self, account: AccountId, id: Id) -> Result<(), PSP34Error>; [INFO] [stdout] 110 | | } [INFO] [stdout] | |_^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> traits.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | / pub trait PSP34Enumerable { [INFO] [stdout] 114 | | /// Returns a token `Id` owned by `owner` at a given `index` of its token list. [INFO] [stdout] 115 | | /// Use along with `balance_of` to enumerate all of ``owner``'s tokens. [INFO] [stdout] 116 | | #[ink(message)] [INFO] [stdout] ... | [INFO] [stdout] 122 | | fn token_by_index(&self, index: u128) -> Result; [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> traits.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / /// Trait for ownership-related functionalities. [INFO] [stdout] 126 | | /// [INFO] [stdout] 127 | | /// Provides methods for managing ownership of the contract, including [INFO] [stdout] 128 | | /// transferring and renouncing ownership. [INFO] [stdout] ... | [INFO] [stdout] 160 | | fn transfer_ownership(&mut self, new_owner: Option) -> Result<(), OwnableError>; [INFO] [stdout] 161 | | } [INFO] [stdout] | |_^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> traits.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | / /// Trait for pausing and unpausing token transfers. [INFO] [stdout] 164 | | /// [INFO] [stdout] 165 | | /// This trait allows the contract owner to pause or unpause token transfers, [INFO] [stdout] 166 | | /// which can be useful in emergency situations or during maintenance. [INFO] [stdout] ... | [INFO] [stdout] 187 | | fn unpause(&mut self) -> Result<(), PSP34Error>; [INFO] [stdout] 188 | | } [INFO] [stdout] | |_^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / pub struct Approval { [INFO] [stdout] 79 | | #[ink(topic)] [INFO] [stdout] 80 | | owner: AccountId, [INFO] [stdout] 81 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 85 | | approved: bool, [INFO] [stdout] 86 | | } [INFO] [stdout] | |_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / pub struct Transfer { [INFO] [stdout] 91 | | #[ink(topic)] [INFO] [stdout] 92 | | from: Option, [INFO] [stdout] 93 | | #[ink(topic)] [INFO] [stdout] ... | [INFO] [stdout] 96 | | id: Id, [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> lib.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / pub struct AttributeSet { [INFO] [stdout] 102 | | id: Id, [INFO] [stdout] 103 | | key: Vec, [INFO] [stdout] 104 | | data: Vec, [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / pub struct Token { [INFO] [stdout] 37 | | pub data: PSP34Data, [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 11 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `psp34-full` (lib) due to 12 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bcfe3aa7cfc3ca2c623ce650b3fe1df3cfff1219730ab238be8a70a6737282a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcfe3aa7cfc3ca2c623ce650b3fe1df3cfff1219730ab238be8a70a6737282a5", kill_on_drop: false }` [INFO] [stdout] bcfe3aa7cfc3ca2c623ce650b3fe1df3cfff1219730ab238be8a70a6737282a5