[INFO] cloning repository https://github.com/SahityaRoy/nft-soroban [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SahityaRoy/nft-soroban" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSahityaRoy%2Fnft-soroban", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSahityaRoy%2Fnft-soroban'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a610113ca1ebf182e700bebc9ceed07605df7543 [INFO] checking SahityaRoy/nft-soroban/a610113ca1ebf182e700bebc9ceed07605df7543 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSahityaRoy%2Fnft-soroban" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SahityaRoy/nft-soroban 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 git repo https://github.com/SahityaRoy/nft-soroban [INFO] finished tweaking git repo https://github.com/SahityaRoy/nft-soroban [INFO] tweaked toml for git repo https://github.com/SahityaRoy/nft-soroban written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SahityaRoy/nft-soroban already has a lockfile, it will not be regenerated [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3467940624c15d5c0b2f6f1a6fa6100b4e921106052566e1d7583450677fe563 [INFO] running `Command { std: "docker" "start" "-a" "3467940624c15d5c0b2f6f1a6fa6100b4e921106052566e1d7583450677fe563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3467940624c15d5c0b2f6f1a6fa6100b4e921106052566e1d7583450677fe563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3467940624c15d5c0b2f6f1a6fa6100b4e921106052566e1d7583450677fe563", kill_on_drop: false }` [INFO] [stdout] 3467940624c15d5c0b2f6f1a6fa6100b4e921106052566e1d7583450677fe563 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08b759d373669e42bf608d9aac9a35070c3caac50c7977aa152bbdb98e8378e4 [INFO] running `Command { std: "docker" "start" "-a" "08b759d373669e42bf608d9aac9a35070c3caac50c7977aa152bbdb98e8378e4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.175 [INFO] [stderr] Compiling serde_derive v1.0.175 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking indexmap-nostd v0.4.0 [INFO] [stderr] Checking wasmparser-nostd v0.90.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking soroban-wasmi_core v0.16.0-soroban2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling crate-git-revision v0.0.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling stellar-xdr v0.0.12 [INFO] [stderr] Compiling soroban-env-common v0.0.12 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking soroban-wasmi v0.16.0-soroban2 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling soroban-native-sdk-macros v0.0.12 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling wasmparser v0.88.0 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking dyn-fmt v0.3.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Checking stellar-strkey v0.0.6 [INFO] [stderr] Compiling bytes-lit v0.0.4 [INFO] [stderr] Compiling soroban-spec v0.4.3 [INFO] [stderr] Compiling soroban-env-macros v0.0.12 [INFO] [stderr] Compiling soroban-sdk-macros v0.4.3 [INFO] [stderr] Checking soroban-env-host v0.0.12 [INFO] [stderr] Checking soroban-ledger-snapshot v0.4.3 [INFO] [stderr] Checking soroban-sdk v0.4.3 [INFO] [stderr] Checking soroban-auth v0.4.3 [INFO] [stderr] Checking soroban-nft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `NonFungibleToken` is never constructed [INFO] [stdout] --> src/contract.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct NonFungibleToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NonFungibleTokenTrait` is never used [INFO] [stdout] --> src/interface.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait NonFungibleTokenTrait { [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] --> src/admin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | let key = DataKey::Admin; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | env.storage().has(key) [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/admin.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | let key = DataKey::Admin; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | env.storage().get_unchecked(key).unwrap() [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/balance.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_balance(env: &Env, owner: Identifier) -> i128 { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | let key = DataKey::Balance(owner); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | match env.storage().get(key) { [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/balance.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 24 | let key = DataKey::Supply; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | match env.storage().get(key) { [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/balance.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_minted(env: &Env, owner: Identifier) -> bool { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let key = DataKey::Minted(owner); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | match env.storage().get(key) { [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/contract.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | let key = DataKey::Nonce(id.clone()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | env.storage().get(key).unwrap_or(Ok(0)).unwrap() [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/contract.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 100 | fn appr_all(env: Env, owner: Signature, nonce: i128, operator: Identifier, approved: bool) { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | event::approve_all(&env, operator, owner.identifier(&env)) [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/metadata.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | let key = DataKey::Name; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | env.storage().get_unchecked(key).unwrap() [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/metadata.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn write_name(env: &Env, name: Bytes) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | let key = DataKey::Name; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | env.storage().set(key, name) [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/metadata.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | let key = DataKey::Symbol; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | env.storage().get_unchecked(key).unwrap() [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/metadata.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn write_symbol(env: &Env, symbol: Bytes) { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let key = DataKey::Symbol; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | env.storage().set(key, symbol) [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/metadata.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | let key = DataKey::URI(id); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | env.storage().get_unchecked(key).unwrap() [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/metadata.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn write_token_uri(env: &Env, id: i128, uri: Bytes) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let key = DataKey::URI(id); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | env.storage().set(key, uri) [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/owner.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 10 | let key = DataKey::Owner(id); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | match env.storage().get(key) { [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 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `soroban-nft` (lib) due to 15 previous errors; 2 warnings emitted [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/admin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | let key = DataKey::Admin; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | env.storage().has(key) [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/admin.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | let key = DataKey::Admin; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | env.storage().get_unchecked(key).unwrap() [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/balance.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_balance(env: &Env, owner: Identifier) -> i128 { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | let key = DataKey::Balance(owner); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | match env.storage().get(key) { [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/balance.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 24 | let key = DataKey::Supply; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | match env.storage().get(key) { [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/balance.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_minted(env: &Env, owner: Identifier) -> bool { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let key = DataKey::Minted(owner); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | match env.storage().get(key) { [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/contract.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | let key = DataKey::Nonce(id.clone()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | env.storage().get(key).unwrap_or(Ok(0)).unwrap() [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/contract.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 100 | fn appr_all(env: Env, owner: Signature, nonce: i128, operator: Identifier, approved: bool) { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | event::approve_all(&env, operator, owner.identifier(&env)) [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/metadata.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | let key = DataKey::Name; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | env.storage().get_unchecked(key).unwrap() [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/metadata.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn write_name(env: &Env, name: Bytes) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | let key = DataKey::Name; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | env.storage().set(key, name) [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/metadata.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | let key = DataKey::Symbol; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | env.storage().get_unchecked(key).unwrap() [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/metadata.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn write_symbol(env: &Env, symbol: Bytes) { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let key = DataKey::Symbol; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | env.storage().set(key, symbol) [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/metadata.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | let key = DataKey::URI(id); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | env.storage().get_unchecked(key).unwrap() [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/metadata.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn write_token_uri(env: &Env, id: i128, uri: Bytes) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let key = DataKey::URI(id); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | env.storage().set(key, uri) [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/owner.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 10 | let key = DataKey::Owner(id); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | match env.storage().get(key) { [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 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `soroban-nft` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "08b759d373669e42bf608d9aac9a35070c3caac50c7977aa152bbdb98e8378e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b759d373669e42bf608d9aac9a35070c3caac50c7977aa152bbdb98e8378e4", kill_on_drop: false }` [INFO] [stdout] 08b759d373669e42bf608d9aac9a35070c3caac50c7977aa152bbdb98e8378e4