[INFO] cloning repository https://github.com/swfsql/contract-interface [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swfsql/contract-interface" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswfsql%2Fcontract-interface", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswfsql%2Fcontract-interface'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9c1c5659fa0f2194c726a382a3c1a2ecf14df8e [INFO] checking swfsql/contract-interface against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswfsql%2Fcontract-interface" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swfsql/contract-interface on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/swfsql/contract-interface [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/swfsql/contract-interface [INFO] tweaked toml for git repo https://github.com/swfsql/contract-interface written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/swfsql/contract-interface 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-sdk-macros v4.0.0-pre.2 [INFO] [stderr] Downloaded sha2 v0.9.8 [INFO] [stderr] Downloaded near-sdk v4.0.0-pre.2 [INFO] [stderr] Downloaded num-bigint v0.3.3 [INFO] [stderr] Downloaded serde_json v1.0.68 [INFO] [stderr] Downloaded libc v0.2.103 [INFO] [stderr] Downloaded near-contract-standards v4.0.0-pre.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3adcb401a07d2f8dfb6f722aa92cf7c6445b4387d0d6b82fbbc333fa5f08d01 [INFO] running `Command { std: "docker" "start" "-a" "b3adcb401a07d2f8dfb6f722aa92cf7c6445b4387d0d6b82fbbc333fa5f08d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3adcb401a07d2f8dfb6f722aa92cf7c6445b4387d0d6b82fbbc333fa5f08d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3adcb401a07d2f8dfb6f722aa92cf7c6445b4387d0d6b82fbbc333fa5f08d01", kill_on_drop: false }` [INFO] [stdout] b3adcb401a07d2f8dfb6f722aa92cf7c6445b4387d0d6b82fbbc333fa5f08d01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92917b2b7b8bdddefcb0a343055f8e0271d0309ecb7f49a9e73d7ce03c0b96bf [INFO] running `Command { std: "docker" "start" "-a" "92917b2b7b8bdddefcb0a343055f8e0271d0309ecb7f49a9e73d7ce03c0b96bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking near-sys v0.1.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking proc-macro-crate v1.1.0 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Checking borsh v0.8.2 [INFO] [stderr] Checking near-primitives-core v0.4.0 [INFO] [stderr] Checking near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Checking near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Checking near-sdk v4.0.0-pre.2 [INFO] [stderr] Checking near-contract-standards v4.0.0-pre.2 [INFO] [stderr] Checking contract-interface-types v0.0.1 (/opt/rustwide/workdir/contract-interface-types) [INFO] [stderr] Checking contract-interface-macros v0.0.1 (/opt/rustwide/workdir/contract-interface-macros) [INFO] [stdout] warning: field `contract_attr` is never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/inputs.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Arg { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 73 | pub contract_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` 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 `original` and `forward_attrs` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/impl_item_method_info.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ImplItemMethodInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 11 | /// The original AST of the impl item method. [INFO] [stdout] 12 | pub original: syn::ImplItemMethod, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub forward_attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplItemMethodInfo` 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 `consts` and `types` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct ImplItems { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 101 | pub consts: indexmap::IndexMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub types: indexmap::IndexMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplItems` 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 `serve` and `request` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct RawAttrs { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | serve: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | request: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawAttrs` 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 `consts` and `types` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct TraitItems { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub consts: indexmap::IndexMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub types: indexmap::IndexMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original` and `forward_attrs` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TraitItemMethodInfo { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 11 | /// The original AST of the trait item method. [INFO] [stdout] 12 | pub original: syn::TraitItemMethod, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub forward_attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `args_attr` and `return_attr` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Attrs { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | args_attr: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | return_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contract_attr` is never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/inputs.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Arg { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 73 | pub contract_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` 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 `original` and `forward_attrs` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/impl_item_method_info.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ImplItemMethodInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 11 | /// The original AST of the impl item method. [INFO] [stdout] 12 | pub original: syn::ImplItemMethod, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub forward_attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplItemMethodInfo` 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 `consts` and `types` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct ImplItems { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 101 | pub consts: indexmap::IndexMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub types: indexmap::IndexMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplItems` 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 `serve` and `request` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct RawAttrs { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | serve: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | request: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawAttrs` 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 `consts` and `types` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct TraitItems { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub consts: indexmap::IndexMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub types: indexmap::IndexMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original` and `forward_attrs` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TraitItemMethodInfo { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 11 | /// The original AST of the trait item method. [INFO] [stdout] 12 | pub original: syn::TraitItemMethod, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub forward_attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `args_attr` and `return_attr` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Attrs { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | args_attr: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | return_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contract_attr` is never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/inputs.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Arg { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 73 | pub contract_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` 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 `original` and `forward_attrs` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/impl_item_method_info.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ImplItemMethodInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 11 | /// The original AST of the impl item method. [INFO] [stdout] 12 | pub original: syn::ImplItemMethod, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub forward_attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplItemMethodInfo` 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 `consts` and `types` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct ImplItems { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 101 | pub consts: indexmap::IndexMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub types: indexmap::IndexMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplItems` 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 `serve` and `request` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct RawAttrs { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | serve: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | request: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawAttrs` 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 `consts` and `types` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct TraitItems { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub consts: indexmap::IndexMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub types: indexmap::IndexMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original` and `forward_attrs` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TraitItemMethodInfo { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 11 | /// The original AST of the trait item method. [INFO] [stdout] 12 | pub original: syn::TraitItemMethod, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub forward_attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `args_attr` and `return_attr` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Attrs { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | args_attr: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | return_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking contract-interface v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking contract-standards v0.1.0 (/opt/rustwide/workdir/contract-standards) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.57s [INFO] running `Command { std: "docker" "inspect" "92917b2b7b8bdddefcb0a343055f8e0271d0309ecb7f49a9e73d7ce03c0b96bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92917b2b7b8bdddefcb0a343055f8e0271d0309ecb7f49a9e73d7ce03c0b96bf", kill_on_drop: false }` [INFO] [stdout] 92917b2b7b8bdddefcb0a343055f8e0271d0309ecb7f49a9e73d7ce03c0b96bf [INFO] checking swfsql/contract-interface against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswfsql%2Fcontract-interface" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swfsql/contract-interface on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/swfsql/contract-interface [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/swfsql/contract-interface [INFO] tweaked toml for git repo https://github.com/swfsql/contract-interface written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/swfsql/contract-interface 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 427c4c14dd531b62efc87525a3d336aed65562e32e90321bb6ca766086d9b65f [INFO] running `Command { std: "docker" "start" "-a" "427c4c14dd531b62efc87525a3d336aed65562e32e90321bb6ca766086d9b65f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "427c4c14dd531b62efc87525a3d336aed65562e32e90321bb6ca766086d9b65f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "427c4c14dd531b62efc87525a3d336aed65562e32e90321bb6ca766086d9b65f", kill_on_drop: false }` [INFO] [stdout] 427c4c14dd531b62efc87525a3d336aed65562e32e90321bb6ca766086d9b65f [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31738c4f6c6c913cad5453e7a0a811c13943277dc344bdf9665f10359f07fb40 [INFO] running `Command { std: "docker" "start" "-a" "31738c4f6c6c913cad5453e7a0a811c13943277dc344bdf9665f10359f07fb40", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking near-sys v0.1.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking proc-macro-crate v1.1.0 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Checking borsh v0.8.2 [INFO] [stderr] Checking near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Checking near-primitives-core v0.4.0 [INFO] [stderr] Checking near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Checking near-sdk v4.0.0-pre.2 [INFO] [stderr] Checking near-contract-standards v4.0.0-pre.2 [INFO] [stderr] Checking contract-interface-types v0.0.1 (/opt/rustwide/workdir/contract-interface-types) [INFO] [stderr] Checking contract-interface-macros v0.0.1 (/opt/rustwide/workdir/contract-interface-macros) [INFO] [stdout] warning: field `contract_attr` is never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/inputs.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Arg { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 73 | pub contract_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` 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 `original` and `forward_attrs` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/impl_item_method_info.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ImplItemMethodInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 11 | /// The original AST of the impl item method. [INFO] [stdout] 12 | pub original: syn::ImplItemMethod, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub forward_attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplItemMethodInfo` 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 `consts` and `types` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct ImplItems { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 101 | pub consts: indexmap::IndexMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub types: indexmap::IndexMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplItems` 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 `serve` and `request` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct RawAttrs { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | serve: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | request: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawAttrs` 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 `consts` and `types` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct TraitItems { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub consts: indexmap::IndexMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub types: indexmap::IndexMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original` and `forward_attrs` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TraitItemMethodInfo { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 11 | /// The original AST of the trait item method. [INFO] [stdout] 12 | pub original: syn::TraitItemMethod, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub forward_attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `args_attr` and `return_attr` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Attrs { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | args_attr: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | return_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> contract-interface-macros/src/lib.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn contract(attr: TokenStream, item: TokenStream) -> TokenStream { [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] 33 | let attr_args = syn::parse_macro_input!(attr as syn::AttributeArgs); [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] 34 | match contract_internal(attr_args, item) { [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] --> contract-interface-macros/src/core_impl/info_extractor/inputs.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 293 | inputs: impl Iterator, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let mut receiver = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let mut args = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 365 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 366 | | receiver, [INFO] [stdout] 367 | | receiver_kind, [INFO] [stdout] 368 | | args, [INFO] [stdout] 369 | | }) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | .map(|lt| (lt.lifetime.clone(), lt.clone())) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | .map(|tp| (tp.ident.clone(), tp.clone())) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|cp| (cp.ident.clone(), cp.clone())) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:58:55 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|pl| (pl.lifetime.ident.clone(), pl.clone())) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|pt| (pt.bounded_ty.clone(), pt)) [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> contract-interface-macros/src/core_impl/info_extractor/meta_attrs.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 5 | additional_attrs: Vec, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | let (attrs, forward_attrs) = partition_attrs(attrs, name); [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] 9 | let mut attrs = into_nested_meta_attrs(attrs)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | attrs.extend(additional_attrs); [INFO] [stdout] 11 | Ok((Arg::from_list(&attrs)?, forward_attrs)) [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] --> contract-interface-macros/src/core_impl/info_extractor/meta_attrs.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn into_meta_attrs(attrs: Vec) -> syn::Result> { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | / attrs [INFO] [stdout] 27 | | .into_iter() [INFO] [stdout] 28 | | .map(|a| a.parse_meta()) [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] --> contract-interface-macros/src/core_impl/info_extractor/meta_attrs.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn into_nested_meta_attrs(attrs: Vec) -> syn::Result> { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | / attrs [INFO] [stdout] 70 | | .into_iter() [INFO] [stdout] 71 | | .map(|a| a.parse_meta().map(syn::NestedMeta::from)) [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] --> contract-interface-macros/src/core_impl/info_extractor/meta_attrs.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | .map(|a| a.parse_meta().map(syn::NestedMeta::from)) [INFO] [stdout] | - ^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> contract-interface-macros/src/core_impl/info_extractor/impl_item_method_info.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 63 | let (contract_attr, non_contract_attr) = [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] ... [INFO] [stdout] 67 | let (doc_attrs, forward_attrs) = meta_attrs::partition_attrs(&original.attrs, "doc"); [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] ... [INFO] [stdout] 70 | let meta_attrs = meta_attrs::into_meta_attrs(contract_attr)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let nested = meta_attrs::remove_first_layer(meta_attrs, "contract")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let generics = Generics::new(&original.sig.generics); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | [INFO] [stdout] 88 | let inputs = Inputs::new(original.sig.inputs.iter_mut(), attrs.init.is_some())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let ret: syn::ReturnType = original.sig.output.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | [INFO] [stdout] 126 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 127 | | original: original.clone(), [INFO] [stdout] 128 | | attrs, [INFO] [stdout] 129 | | doc_attrs, [INFO] [stdout] ... | [INFO] [stdout] 133 | | ret, [INFO] [stdout] 134 | | }) [INFO] [stdout] | | ^ [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 112 | let consts = items [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let types = items [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | let methods = items [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 149 | | consts, [INFO] [stdout] 150 | | types, [INFO] [stdout] 151 | | methods, [INFO] [stdout] 152 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | .map(|tim| Ok((tim.sig.ident.clone(), ImplItemMethodInfo::new(tim)?))) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 159 | attr_args: syn::AttributeArgs, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | ) -> error::Result { [INFO] [stdout] 161 | let (attrs, forward_attrs) = [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] 162 | meta_attrs::meta_attrs::(&original.attrs, attr_args, "contract")?; [INFO] [stdout] 163 | let (doc_attrs, forward_attrs) = meta_attrs::partition_attrs(&forward_attrs, "doc"); [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] 164 | let attrs = Attrs { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let generics = Generics::new(&original.generics); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | [INFO] [stdout] 172 | let self_ty = (*original.self_ty.as_ref()).clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let items = ImplItems::get_items(&mut original.items)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | [INFO] [stdout] 177 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 178 | | original: original.clone(), [INFO] [stdout] 179 | | attrs, [INFO] [stdout] 180 | | doc_attrs, [INFO] [stdout] ... | [INFO] [stdout] 185 | | items, [INFO] [stdout] 186 | | }) [INFO] [stdout] | | ^ [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] | [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] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 81 | let consts = items [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let types = items [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let methods = items [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 141 | | consts, [INFO] [stdout] 142 | | types, [INFO] [stdout] 143 | | methods, [INFO] [stdout] 144 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | .map(|tim| Ok((tim.sig.ident.clone(), TraitItemMethodInfo::new(tim)?))) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 151 | attr_args: syn::AttributeArgs, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | let (raw_attrs, non_contract_attrs) = [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | meta_attrs::meta_attrs::(&original.attrs, attr_args, "contract")?; [INFO] [stdout] 157 | let (doc_attrs, non_contract_attrs) = [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] ... [INFO] [stdout] 167 | let generics = Generics::new(&original.generics).replace_from_self_to_state(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | let self_trait_bounds = original [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | let items = TraitItems::replace_from_self_to_state(&mut original.items)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | [INFO] [stdout] 198 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 199 | | original_ident, [INFO] [stdout] 200 | | attrs, [INFO] [stdout] 201 | | doc_attrs, [INFO] [stdout] ... | [INFO] [stdout] 207 | | items, [INFO] [stdout] 208 | | }) [INFO] [stdout] | | ^ [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] | [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] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 64 | let (contract_attr, non_contract_attr) = [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] ... [INFO] [stdout] 68 | let (doc_attrs, forward_attrs) = meta_attrs::partition_attrs(&original.attrs, "doc"); [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] 69 | [INFO] [stdout] 70 | let attrs = { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let meta_attrs = meta_attrs::into_meta_attrs(contract_attr)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let nested = meta_attrs::remove_first_layer(meta_attrs, "contract")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | [INFO] [stdout] 74 | let attrs = RawAttrs::from_list(&nested)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | [INFO] [stdout] 76 | let args_attr = if let Some(fa) = attrs.args_attr { [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] ... [INFO] [stdout] 81 | let return_attr = if let Some(fa) = attrs.return_attr { [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] ... [INFO] [stdout] 98 | let generics = Generics::new(&original.sig.generics).replace_from_self_to_state(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | [INFO] [stdout] 100 | let inputs = Inputs::new(original.sig.inputs.iter_mut(), attrs.init.is_some())? [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let mut ret: syn::ReturnType = original.sig.output.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 116 | | original: original.clone(), [INFO] [stdout] 117 | | attrs, [INFO] [stdout] 118 | | doc_attrs, [INFO] [stdout] ... | [INFO] [stdout] 122 | | ret, [INFO] [stdout] 123 | | }) [INFO] [stdout] | | ^ [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] | | 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] | | 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] | [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 19 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `contract-interface-macros` (lib test) due to 20 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `contract_attr` is never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/inputs.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Arg { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 73 | pub contract_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` 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 `original` and `forward_attrs` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/impl_item_method_info.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ImplItemMethodInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 11 | /// The original AST of the impl item method. [INFO] [stdout] 12 | pub original: syn::ImplItemMethod, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub forward_attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplItemMethodInfo` 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 `consts` and `types` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct ImplItems { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 101 | pub consts: indexmap::IndexMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub types: indexmap::IndexMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplItems` 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 `serve` and `request` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct RawAttrs { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | serve: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | request: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawAttrs` 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 `consts` and `types` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct TraitItems { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub consts: indexmap::IndexMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub types: indexmap::IndexMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original` and `forward_attrs` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TraitItemMethodInfo { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 11 | /// The original AST of the trait item method. [INFO] [stdout] 12 | pub original: syn::TraitItemMethod, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub forward_attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `args_attr` and `return_attr` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Attrs { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | args_attr: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | return_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> contract-interface-macros/src/lib.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn contract(attr: TokenStream, item: TokenStream) -> TokenStream { [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] 33 | let attr_args = syn::parse_macro_input!(attr as syn::AttributeArgs); [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] 34 | match contract_internal(attr_args, item) { [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] --> contract-interface-macros/src/core_impl/info_extractor/inputs.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 293 | inputs: impl Iterator, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let mut receiver = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let mut args = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 365 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 366 | | receiver, [INFO] [stdout] 367 | | receiver_kind, [INFO] [stdout] 368 | | args, [INFO] [stdout] 369 | | }) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | .map(|lt| (lt.lifetime.clone(), lt.clone())) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | .map(|tp| (tp.ident.clone(), tp.clone())) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|cp| (cp.ident.clone(), cp.clone())) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:58:55 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|pl| (pl.lifetime.ident.clone(), pl.clone())) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|pt| (pt.bounded_ty.clone(), pt)) [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> contract-interface-macros/src/core_impl/info_extractor/meta_attrs.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 5 | additional_attrs: Vec, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | let (attrs, forward_attrs) = partition_attrs(attrs, name); [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] 9 | let mut attrs = into_nested_meta_attrs(attrs)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | attrs.extend(additional_attrs); [INFO] [stdout] 11 | Ok((Arg::from_list(&attrs)?, forward_attrs)) [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] --> contract-interface-macros/src/core_impl/info_extractor/meta_attrs.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn into_meta_attrs(attrs: Vec) -> syn::Result> { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | / attrs [INFO] [stdout] 27 | | .into_iter() [INFO] [stdout] 28 | | .map(|a| a.parse_meta()) [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] --> contract-interface-macros/src/core_impl/info_extractor/meta_attrs.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn into_nested_meta_attrs(attrs: Vec) -> syn::Result> { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | / attrs [INFO] [stdout] 70 | | .into_iter() [INFO] [stdout] 71 | | .map(|a| a.parse_meta().map(syn::NestedMeta::from)) [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] --> contract-interface-macros/src/core_impl/info_extractor/meta_attrs.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | .map(|a| a.parse_meta().map(syn::NestedMeta::from)) [INFO] [stdout] | - ^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> contract-interface-macros/src/core_impl/info_extractor/impl_item_method_info.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 63 | let (contract_attr, non_contract_attr) = [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] ... [INFO] [stdout] 67 | let (doc_attrs, forward_attrs) = meta_attrs::partition_attrs(&original.attrs, "doc"); [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] ... [INFO] [stdout] 70 | let meta_attrs = meta_attrs::into_meta_attrs(contract_attr)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let nested = meta_attrs::remove_first_layer(meta_attrs, "contract")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let generics = Generics::new(&original.sig.generics); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | [INFO] [stdout] 88 | let inputs = Inputs::new(original.sig.inputs.iter_mut(), attrs.init.is_some())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let ret: syn::ReturnType = original.sig.output.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | [INFO] [stdout] 126 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 127 | | original: original.clone(), [INFO] [stdout] 128 | | attrs, [INFO] [stdout] 129 | | doc_attrs, [INFO] [stdout] ... | [INFO] [stdout] 133 | | ret, [INFO] [stdout] 134 | | }) [INFO] [stdout] | | ^ [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 112 | let consts = items [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let types = items [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | let methods = items [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 149 | | consts, [INFO] [stdout] 150 | | types, [INFO] [stdout] 151 | | methods, [INFO] [stdout] 152 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | .map(|tim| Ok((tim.sig.ident.clone(), ImplItemMethodInfo::new(tim)?))) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 159 | attr_args: syn::AttributeArgs, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | ) -> error::Result { [INFO] [stdout] 161 | let (attrs, forward_attrs) = [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] 162 | meta_attrs::meta_attrs::(&original.attrs, attr_args, "contract")?; [INFO] [stdout] 163 | let (doc_attrs, forward_attrs) = meta_attrs::partition_attrs(&forward_attrs, "doc"); [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] 164 | let attrs = Attrs { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let generics = Generics::new(&original.generics); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | [INFO] [stdout] 172 | let self_ty = (*original.self_ty.as_ref()).clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let items = ImplItems::get_items(&mut original.items)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | [INFO] [stdout] 177 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 178 | | original: original.clone(), [INFO] [stdout] 179 | | attrs, [INFO] [stdout] 180 | | doc_attrs, [INFO] [stdout] ... | [INFO] [stdout] 185 | | items, [INFO] [stdout] 186 | | }) [INFO] [stdout] | | ^ [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] | [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] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 81 | let consts = items [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let types = items [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let methods = items [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 141 | | consts, [INFO] [stdout] 142 | | types, [INFO] [stdout] 143 | | methods, [INFO] [stdout] 144 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | .map(|tim| Ok((tim.sig.ident.clone(), TraitItemMethodInfo::new(tim)?))) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 151 | attr_args: syn::AttributeArgs, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | let (raw_attrs, non_contract_attrs) = [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | meta_attrs::meta_attrs::(&original.attrs, attr_args, "contract")?; [INFO] [stdout] 157 | let (doc_attrs, non_contract_attrs) = [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] ... [INFO] [stdout] 167 | let generics = Generics::new(&original.generics).replace_from_self_to_state(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | let self_trait_bounds = original [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | let items = TraitItems::replace_from_self_to_state(&mut original.items)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | [INFO] [stdout] 198 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 199 | | original_ident, [INFO] [stdout] 200 | | attrs, [INFO] [stdout] 201 | | doc_attrs, [INFO] [stdout] ... | [INFO] [stdout] 207 | | items, [INFO] [stdout] 208 | | }) [INFO] [stdout] | | ^ [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] | [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] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 64 | let (contract_attr, non_contract_attr) = [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] ... [INFO] [stdout] 68 | let (doc_attrs, forward_attrs) = meta_attrs::partition_attrs(&original.attrs, "doc"); [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] 69 | [INFO] [stdout] 70 | let attrs = { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let meta_attrs = meta_attrs::into_meta_attrs(contract_attr)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let nested = meta_attrs::remove_first_layer(meta_attrs, "contract")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | [INFO] [stdout] 74 | let attrs = RawAttrs::from_list(&nested)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | [INFO] [stdout] 76 | let args_attr = if let Some(fa) = attrs.args_attr { [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] ... [INFO] [stdout] 81 | let return_attr = if let Some(fa) = attrs.return_attr { [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] ... [INFO] [stdout] 98 | let generics = Generics::new(&original.sig.generics).replace_from_self_to_state(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | [INFO] [stdout] 100 | let inputs = Inputs::new(original.sig.inputs.iter_mut(), attrs.init.is_some())? [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let mut ret: syn::ReturnType = original.sig.output.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 116 | | original: original.clone(), [INFO] [stdout] 117 | | attrs, [INFO] [stdout] 118 | | doc_attrs, [INFO] [stdout] ... | [INFO] [stdout] 122 | | ret, [INFO] [stdout] 123 | | }) [INFO] [stdout] | | ^ [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] | | 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] | | 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] | [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 19 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `contract-interface-macros` (lib) due to 20 previous errors; 7 warnings emitted [INFO] [stdout] warning: field `contract_attr` is never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/inputs.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Arg { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 73 | pub contract_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` 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 `original` and `forward_attrs` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/impl_item_method_info.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ImplItemMethodInfo { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 11 | /// The original AST of the impl item method. [INFO] [stdout] 12 | pub original: syn::ImplItemMethod, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub forward_attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplItemMethodInfo` 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 `consts` and `types` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct ImplItems { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 101 | pub consts: indexmap::IndexMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub types: indexmap::IndexMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplItems` 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 `serve` and `request` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct RawAttrs { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | serve: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | request: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawAttrs` 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 `consts` and `types` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct TraitItems { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub consts: indexmap::IndexMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub types: indexmap::IndexMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original` and `forward_attrs` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TraitItemMethodInfo { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 11 | /// The original AST of the trait item method. [INFO] [stdout] 12 | pub original: syn::TraitItemMethod, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub forward_attrs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `args_attr` and `return_attr` are never read [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Attrs { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | args_attr: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | return_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> contract-interface-macros/src/lib.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn contract(attr: TokenStream, item: TokenStream) -> TokenStream { [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] 33 | let attr_args = syn::parse_macro_input!(attr as syn::AttributeArgs); [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] 34 | match contract_internal(attr_args, item) { [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] --> contract-interface-macros/src/core_impl/info_extractor/inputs.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 293 | inputs: impl Iterator, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let mut receiver = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let mut args = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 365 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 366 | | receiver, [INFO] [stdout] 367 | | receiver_kind, [INFO] [stdout] 368 | | args, [INFO] [stdout] 369 | | }) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | .map(|lt| (lt.lifetime.clone(), lt.clone())) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | .map(|tp| (tp.ident.clone(), tp.clone())) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|cp| (cp.ident.clone(), cp.clone())) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:58:55 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|pl| (pl.lifetime.ident.clone(), pl.clone())) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_generics.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|pt| (pt.bounded_ty.clone(), pt)) [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> contract-interface-macros/src/core_impl/info_extractor/meta_attrs.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 5 | additional_attrs: Vec, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8 | let (attrs, forward_attrs) = partition_attrs(attrs, name); [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] 9 | let mut attrs = into_nested_meta_attrs(attrs)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | attrs.extend(additional_attrs); [INFO] [stdout] 11 | Ok((Arg::from_list(&attrs)?, forward_attrs)) [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] --> contract-interface-macros/src/core_impl/info_extractor/meta_attrs.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn into_meta_attrs(attrs: Vec) -> syn::Result> { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | / attrs [INFO] [stdout] 27 | | .into_iter() [INFO] [stdout] 28 | | .map(|a| a.parse_meta()) [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] --> contract-interface-macros/src/core_impl/info_extractor/meta_attrs.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn into_nested_meta_attrs(attrs: Vec) -> syn::Result> { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | / attrs [INFO] [stdout] 70 | | .into_iter() [INFO] [stdout] 71 | | .map(|a| a.parse_meta().map(syn::NestedMeta::from)) [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] --> contract-interface-macros/src/core_impl/info_extractor/meta_attrs.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | .map(|a| a.parse_meta().map(syn::NestedMeta::from)) [INFO] [stdout] | - ^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> contract-interface-macros/src/core_impl/info_extractor/impl_item_method_info.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 63 | let (contract_attr, non_contract_attr) = [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] ... [INFO] [stdout] 67 | let (doc_attrs, forward_attrs) = meta_attrs::partition_attrs(&original.attrs, "doc"); [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] ... [INFO] [stdout] 70 | let meta_attrs = meta_attrs::into_meta_attrs(contract_attr)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let nested = meta_attrs::remove_first_layer(meta_attrs, "contract")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let generics = Generics::new(&original.sig.generics); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | [INFO] [stdout] 88 | let inputs = Inputs::new(original.sig.inputs.iter_mut(), attrs.init.is_some())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let ret: syn::ReturnType = original.sig.output.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | [INFO] [stdout] 126 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 127 | | original: original.clone(), [INFO] [stdout] 128 | | attrs, [INFO] [stdout] 129 | | doc_attrs, [INFO] [stdout] ... | [INFO] [stdout] 133 | | ret, [INFO] [stdout] 134 | | }) [INFO] [stdout] | | ^ [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 112 | let consts = items [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let types = items [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | let methods = items [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 149 | | consts, [INFO] [stdout] 150 | | types, [INFO] [stdout] 151 | | methods, [INFO] [stdout] 152 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | .map(|tim| Ok((tim.sig.ident.clone(), ImplItemMethodInfo::new(tim)?))) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_impl_info.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 159 | attr_args: syn::AttributeArgs, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | ) -> error::Result { [INFO] [stdout] 161 | let (attrs, forward_attrs) = [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] 162 | meta_attrs::meta_attrs::(&original.attrs, attr_args, "contract")?; [INFO] [stdout] 163 | let (doc_attrs, forward_attrs) = meta_attrs::partition_attrs(&forward_attrs, "doc"); [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] 164 | let attrs = Attrs { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let generics = Generics::new(&original.generics); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | [INFO] [stdout] 172 | let self_ty = (*original.self_ty.as_ref()).clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let items = ImplItems::get_items(&mut original.items)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | [INFO] [stdout] 177 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 178 | | original: original.clone(), [INFO] [stdout] 179 | | attrs, [INFO] [stdout] 180 | | doc_attrs, [INFO] [stdout] ... | [INFO] [stdout] 185 | | items, [INFO] [stdout] 186 | | }) [INFO] [stdout] | | ^ [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] | [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] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 81 | let consts = items [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let types = items [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let methods = items [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 141 | | consts, [INFO] [stdout] 142 | | types, [INFO] [stdout] 143 | | methods, [INFO] [stdout] 144 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | .map(|tim| Ok((tim.sig.ident.clone(), TraitItemMethodInfo::new(tim)?))) [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] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 151 | attr_args: syn::AttributeArgs, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | let (raw_attrs, non_contract_attrs) = [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | meta_attrs::meta_attrs::(&original.attrs, attr_args, "contract")?; [INFO] [stdout] 157 | let (doc_attrs, non_contract_attrs) = [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] ... [INFO] [stdout] 167 | let generics = Generics::new(&original.generics).replace_from_self_to_state(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | let self_trait_bounds = original [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | let items = TraitItems::replace_from_self_to_state(&mut original.items)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | [INFO] [stdout] 198 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 199 | | original_ident, [INFO] [stdout] 200 | | attrs, [INFO] [stdout] 201 | | doc_attrs, [INFO] [stdout] ... | [INFO] [stdout] 207 | | items, [INFO] [stdout] 208 | | }) [INFO] [stdout] | | ^ [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] | [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] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 64 | let (contract_attr, non_contract_attr) = [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] ... [INFO] [stdout] 68 | let (doc_attrs, forward_attrs) = meta_attrs::partition_attrs(&original.attrs, "doc"); [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] 69 | [INFO] [stdout] 70 | let attrs = { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let meta_attrs = meta_attrs::into_meta_attrs(contract_attr)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let nested = meta_attrs::remove_first_layer(meta_attrs, "contract")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | [INFO] [stdout] 74 | let attrs = RawAttrs::from_list(&nested)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | [INFO] [stdout] 76 | let args_attr = if let Some(fa) = attrs.args_attr { [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] ... [INFO] [stdout] 81 | let return_attr = if let Some(fa) = attrs.return_attr { [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] ... [INFO] [stdout] 98 | let generics = Generics::new(&original.sig.generics).replace_from_self_to_state(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | [INFO] [stdout] 100 | let inputs = Inputs::new(original.sig.inputs.iter_mut(), attrs.init.is_some())? [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let mut ret: syn::ReturnType = original.sig.output.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 116 | | original: original.clone(), [INFO] [stdout] 117 | | attrs, [INFO] [stdout] 118 | | doc_attrs, [INFO] [stdout] ... | [INFO] [stdout] 122 | | ret, [INFO] [stdout] 123 | | }) [INFO] [stdout] | | ^ [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] | | 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] | | 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] | [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 19 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `contract-interface-macros` (lib) due to 20 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "31738c4f6c6c913cad5453e7a0a811c13943277dc344bdf9665f10359f07fb40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31738c4f6c6c913cad5453e7a0a811c13943277dc344bdf9665f10359f07fb40", kill_on_drop: false }` [INFO] [stdout] 31738c4f6c6c913cad5453e7a0a811c13943277dc344bdf9665f10359f07fb40