[INFO] fetching crate psp34-full 0.2.1... [INFO] checking psp34-full-0.2.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate psp34-full 0.2.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate psp34-full 0.2.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate psp34-full 0.2.1 [INFO] finished tweaking crates.io crate psp34-full 0.2.1 [INFO] tweaked toml for crates.io crate psp34-full 0.2.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 112 packages to latest compatible versions [INFO] [stderr] Adding darling v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.5) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding impl-serde v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding ink v4.3.0 (available: v5.0.0) [INFO] [stderr] Adding ink_allocator v4.3.0 (available: v5.0.0) [INFO] [stderr] Adding ink_codegen v4.3.0 (available: v5.0.0) [INFO] [stderr] Adding ink_engine v4.3.0 (available: v5.0.0) [INFO] [stderr] Adding ink_env v4.3.0 (available: v5.0.0) [INFO] [stderr] Adding ink_ir v4.3.0 (available: v5.0.0) [INFO] [stderr] Adding ink_macro v4.3.0 (available: v5.0.0) [INFO] [stderr] Adding ink_metadata v4.3.0 (available: v5.0.0) [INFO] [stderr] Adding ink_prelude v4.3.0 (available: v5.0.0) [INFO] [stderr] Adding ink_primitives v4.3.0 (available: v5.0.0) [INFO] [stderr] Adding ink_storage v4.3.0 (available: v5.0.0) [INFO] [stderr] Adding ink_storage_traits v4.3.0 (available: v5.0.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.2.0) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding scale-bits v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding scale-decode v0.9.0 (available: v0.13.1) [INFO] [stderr] Adding scale-decode-derive v0.9.0 (available: v0.13.1) [INFO] [stderr] Adding scale-encode v0.5.0 (available: v0.7.1) [INFO] [stderr] Adding scale-encode-derive v0.5.0 (available: v0.7.1) [INFO] [stderr] Adding secp256k1 v0.27.0 (available: v0.29.1) [INFO] [stderr] Adding secp256k1-sys v0.8.1 (available: v0.10.1) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [INFO] [stderr] Adding wyz v0.5.1 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11f1607c046818363929ab05b3192e3486aaca822224ad21817c0c071f2fa91d [INFO] running `Command { std: "docker" "start" "-a" "11f1607c046818363929ab05b3192e3486aaca822224ad21817c0c071f2fa91d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11f1607c046818363929ab05b3192e3486aaca822224ad21817c0c071f2fa91d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f1607c046818363929ab05b3192e3486aaca822224ad21817c0c071f2fa91d", kill_on_drop: false }` [INFO] [stdout] 11f1607c046818363929ab05b3192e3486aaca822224ad21817c0c071f2fa91d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3266b9dd747aaf734a77b346b3fc53888024122c4a57306cfa3a55c333bddcc [INFO] running `Command { std: "docker" "start" "-a" "c3266b9dd747aaf734a77b346b3fc53888024122c4a57306cfa3a55c333bddcc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Checking ink_prelude v4.3.0 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking ink_allocator v4.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling ink_ir v4.3.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling scale-info-derive v2.11.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling scale-encode-derive v0.5.0 [INFO] [stderr] Compiling scale-decode-derive v0.9.0 [INFO] [stderr] Compiling parity-scale-codec v3.6.12 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Checking scale-info v2.11.3 [INFO] [stderr] Compiling scale-bits v0.4.0 [INFO] [stderr] Compiling scale-encode v0.5.0 [INFO] [stderr] Compiling scale-decode v0.9.0 [INFO] [stderr] Compiling ink_primitives v4.3.0 [INFO] [stderr] Checking ink_metadata v4.3.0 [INFO] [stderr] Checking ink_engine v4.3.0 [INFO] [stderr] Compiling ink_codegen v4.3.0 [INFO] [stderr] Checking ink_storage_traits v4.3.0 [INFO] [stderr] Checking ink_env v4.3.0 [INFO] [stderr] Checking ink_storage v4.3.0 [INFO] [stderr] Compiling ink_macro v4.3.0 [INFO] [stderr] Checking ink v4.3.0 [INFO] [stderr] Checking psp34-full v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / pub struct Token { [INFO] [stdout] 37 | | pub data: PSP34Data, [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / pub fn new() -> Self { [INFO] [stdout] 43 | | Self { [INFO] [stdout] 44 | | data: PSP34Data::new(), [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ink::prelude::string::ToString` [INFO] [stdout] --> lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use ink::prelude::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::Data` [INFO] [stdout] --> lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::data::Data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / pub struct Token { [INFO] [stdout] 37 | | pub data: PSP34Data, [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / pub fn new() -> Self { [INFO] [stdout] 43 | | Self { [INFO] [stdout] 44 | | data: PSP34Data::new(), [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `contract`, `default`, `enumerable`, `ink-as-dependency`, `scale-info`, `std`, and `test-only` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ink::prelude::string::ToString` [INFO] [stdout] --> lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use ink::prelude::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::Data` [INFO] [stdout] --> lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::data::Data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_attribute` and `set_attribute` are never used [INFO] [stdout] --> data.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 348 | impl Data { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 349 | pub fn get_attribute(&self, id: Id, key: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn set_attribute( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> data.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 256 | impl Balances { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 257 | pub fn new() -> Balances { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn insert(&mut self, key: &Option, value: &Id){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Token { [INFO] [stdout] | -^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | _____| `Token` is not local [INFO] [stdout] | | [INFO] [stdout] 37 | | pub data: PSP34Data, [INFO] [stdout] 38 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_____`ContractCallBuilder` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_attribute` and `set_attribute` are never used [INFO] [stdout] --> data.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 348 | impl Data { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 349 | pub fn get_attribute(&self, id: Id, key: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn set_attribute( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> data.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 256 | impl Balances { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 257 | pub fn new() -> Balances { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn insert(&mut self, key: &Option, value: &Id){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Token { [INFO] [stdout] | -^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | _____| `Token` is not local [INFO] [stdout] | | [INFO] [stdout] 37 | | pub data: PSP34Data, [INFO] [stdout] 38 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_____`ContractCallBuilder` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.11s [INFO] running `Command { std: "docker" "inspect" "c3266b9dd747aaf734a77b346b3fc53888024122c4a57306cfa3a55c333bddcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3266b9dd747aaf734a77b346b3fc53888024122c4a57306cfa3a55c333bddcc", kill_on_drop: false }` [INFO] [stdout] c3266b9dd747aaf734a77b346b3fc53888024122c4a57306cfa3a55c333bddcc