[INFO] cloning repository https://github.com/Neopallium/nft_trader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Neopallium/nft_trader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeopallium%2Fnft_trader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeopallium%2Fnft_trader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 239942e5f2f0d474a02be43b48928f5e00810924 [INFO] checking Neopallium/nft_trader/239942e5f2f0d474a02be43b48928f5e00810924 against nightly-2024-10-25 for legacyreceiver_rename [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeopallium%2Fnft_trader" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Neopallium/nft_trader on toolchain nightly-2024-10-25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Neopallium/nft_trader [INFO] finished tweaking git repo https://github.com/Neopallium/nft_trader [INFO] tweaked toml for git repo https://github.com/Neopallium/nft_trader written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Neopallium/nft_trader 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" "+nightly-2024-10-25" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d62bc4140fcc0476d53d05c28716951c2000022ec75748e941eac1e99f24793 [INFO] running `Command { std: "docker" "start" "-a" "4d62bc4140fcc0476d53d05c28716951c2000022ec75748e941eac1e99f24793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d62bc4140fcc0476d53d05c28716951c2000022ec75748e941eac1e99f24793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d62bc4140fcc0476d53d05c28716951c2000022ec75748e941eac1e99f24793", kill_on_drop: false }` [INFO] [stdout] 4d62bc4140fcc0476d53d05c28716951c2000022ec75748e941eac1e99f24793 [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" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-25" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8488e14779b6409789cd69c6a9323ec33b97ab2b82b044757b739d57e80e234d [INFO] running `Command { std: "docker" "start" "-a" "8488e14779b6409789cd69c6a9323ec33b97ab2b82b044757b739d57e80e234d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rustix v0.36.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling wasmtime-runtime v8.0.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Checking sp-std v12.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking wasmtime-jit-debug v8.0.1 [INFO] [stderr] Checking ink_prelude v4.3.0 [INFO] [stderr] Checking wasmtime-asm-macros v8.0.1 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking xxhash-rust v0.8.10 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v8.0.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling wasmtime v8.0.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking memfd v0.6.4 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking crypto-mac v0.11.0 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking ink_allocator v4.3.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Compiling ink_ir v4.3.0 [INFO] [stderr] Checking sp-core-hashing v13.0.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling sp-debug-derive v12.0.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling scale-info-derive v2.11.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v15.0.0 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking merlin v2.0.1 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling scale-decode-derive v0.9.0 [INFO] [stderr] Compiling scale-encode-derive v0.5.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ed25519-zebra v3.1.0 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking substrate-bip39 v0.4.6 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking parity-scale-codec v3.6.12 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking cranelift-entity v0.95.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking bip39 v2.0.0 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking wasmparser v0.102.0 [INFO] [stderr] Checking object v0.30.4 [INFO] [stderr] Checking scale-info v2.11.3 [INFO] [stderr] Checking sp-storage v17.0.0 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking sp-externalities v0.23.0 [INFO] [stderr] Compiling ss58-registry v1.47.0 [INFO] [stderr] Checking scale-bits v0.4.0 [INFO] [stderr] Checking scale-encode v0.5.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking bounded-collections v0.1.9 [INFO] [stderr] Checking sp-arithmetic v21.0.0 [INFO] [stderr] Checking scale-decode v0.9.0 [INFO] [stderr] Checking sp-tracing v14.0.0 [INFO] [stderr] Compiling frame-metadata v15.1.0 [INFO] [stderr] Compiling polymesh-api-codegen v3.4.0 [INFO] [stderr] Checking wasmtime-types v8.0.1 [INFO] [stderr] Checking ink_primitives v4.3.0 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Checking ink_metadata v4.3.0 [INFO] [stderr] Checking ink_engine v4.3.0 [INFO] [stderr] Checking wasmtime-environ v8.0.1 [INFO] [stderr] Compiling polymesh-api-codegen-macro v3.4.0 [INFO] [stderr] Checking ink_storage_traits v4.3.0 [INFO] [stderr] Checking ink_env v4.3.0 [INFO] [stderr] Compiling ink_codegen v4.3.0 [INFO] [stderr] Checking ink_storage v4.3.0 [INFO] [stderr] Checking wasmtime-jit v8.0.1 [INFO] [stderr] Compiling ink_macro v4.3.0 [INFO] [stderr] Checking ink v4.3.0 [INFO] [stderr] Checking sp-wasm-interface v18.0.0 [INFO] [stderr] Checking sp-runtime-interface v22.0.0 [INFO] [stderr] Checking sp-core v26.0.0 [INFO] [stderr] Checking sp-weights v25.0.0 [INFO] [stderr] Checking polymesh-api-ink v1.3.0 [INFO] [stderr] Checking polymesh-api v3.7.0 [INFO] [stderr] Checking polymesh-ink v3.2.0 [INFO] [stderr] Checking nft_trader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 209 | / /// Contract to trade NFTs on Polymesh. [INFO] [stdout] 210 | | #[ink(storage)] [INFO] [stdout] 211 | | #[derive(Default)] [INFO] [stdout] 212 | | pub struct NftTrader { [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `scale-info`, and `std` [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:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | / /// Create NFT trader contract for `ticker` collection. [INFO] [stdout] 233 | | /// For testing. [INFO] [stdout] 234 | | #[ink(constructor)] [INFO] [stdout] 235 | | pub fn new(ticker: Ticker) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 240 | | }) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `scale-info`, and `std` [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: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 209 | / /// Contract to trade NFTs on Polymesh. [INFO] [stdout] 210 | | #[ink(storage)] [INFO] [stdout] 211 | | #[derive(Default)] [INFO] [stdout] 212 | | pub struct NftTrader { [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `scale-info`, and `std` [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:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | / /// Create NFT trader contract for `ticker` collection. [INFO] [stdout] 233 | | /// For testing. [INFO] [stdout] 234 | | #[ink(constructor)] [INFO] [stdout] 235 | | pub fn new(ticker: Ticker) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 240 | | }) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `scale-info`, and `std` [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[ink::contract] [INFO] [stdout] | ---------------- `CallBuilder` is not local [INFO] [stdout] ... [INFO] [stdout] 209 | /// Contract to trade NFTs on Polymesh. [INFO] [stdout] | ___^ [INFO] [stdout] 210 | | #[ink(storage)] [INFO] [stdout] 211 | | #[derive(Default)] [INFO] [stdout] 212 | | pub struct NftTrader { [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |___`Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::scale::Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[ink::contract] [INFO] [stdout] | ---------------- `CallBuilder` is not local [INFO] [stdout] ... [INFO] [stdout] 209 | /// Contract to trade NFTs on Polymesh. [INFO] [stdout] | ___^ [INFO] [stdout] 210 | | #[ink(storage)] [INFO] [stdout] 211 | | #[derive(Default)] [INFO] [stdout] 212 | | pub struct NftTrader { [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |___`EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::scale::Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `::scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[ink::contract] [INFO] [stdout] | ---------------- `CallBuilder` is not local [INFO] [stdout] ... [INFO] [stdout] 209 | /// Contract to trade NFTs on Polymesh. [INFO] [stdout] | ___^ [INFO] [stdout] 210 | | #[ink(storage)] [INFO] [stdout] 211 | | #[derive(Default)] [INFO] [stdout] 212 | | pub struct NftTrader { [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |___`Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::scale::Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::scale::Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `::scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[ink::contract] [INFO] [stdout] | ---------------- `CallBuilder` is not local [INFO] [stdout] ... [INFO] [stdout] 209 | /// Contract to trade NFTs on Polymesh. [INFO] [stdout] | ___^ [INFO] [stdout] 210 | | #[ink(storage)] [INFO] [stdout] 211 | | #[derive(Default)] [INFO] [stdout] 212 | | pub struct NftTrader { [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |___`TypeInfo` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::scale_info::TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::scale_info::TypeInfo` may come from an old version of the `scale_info_derive` crate, try updating your dependency with `cargo update -p scale_info_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `::scale_info::TypeInfo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[ink::contract] [INFO] [stdout] | ---------------- `CallBuilder` is not local [INFO] [stdout] ... [INFO] [stdout] 209 | /// Contract to trade NFTs on Polymesh. [INFO] [stdout] | ___^ [INFO] [stdout] 210 | | #[ink(storage)] [INFO] [stdout] 211 | | #[derive(Default)] [INFO] [stdout] 212 | | pub struct NftTrader { [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |___`StorageLayout` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::ink::storage::traits::StorageLayout` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::ink::storage::traits::StorageLayout` may come from an old version of the `ink_macro` crate, try updating your dependency with `cargo update -p ink_macro` [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 warning originates in the derive macro `::ink::storage::traits::StorageLayout` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 209 | // /// Contract to trade NFTs on Polymesh. [INFO] [stdout] 210 | || #[ink(storage)] [INFO] [stdout] 211 | || #[derive(Default)] [INFO] [stdout] 212 | || pub struct NftTrader { [INFO] [stdout] | ||______________--------^ [INFO] [stdout] | | | [INFO] [stdout] | | `NftTrader` is not local [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [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] [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:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `CallBuilder` is not local [INFO] [stdout] ... [INFO] [stdout] 209 | / /// Contract to trade NFTs on Polymesh. [INFO] [stdout] 210 | | #[ink(storage)] [INFO] [stdout] 211 | | #[derive(Default)] [INFO] [stdout] 212 | | pub struct NftTrader { [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |___`ContractEnv` 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 warning originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[ink::contract] [INFO] [stdout] | ---------------- `CallBuilder` is not local [INFO] [stdout] ... [INFO] [stdout] 209 | /// Contract to trade NFTs on Polymesh. [INFO] [stdout] | ___^ [INFO] [stdout] 210 | | #[ink(storage)] [INFO] [stdout] 211 | | #[derive(Default)] [INFO] [stdout] 212 | | pub struct NftTrader { [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |___`Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::scale::Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[ink::contract] [INFO] [stdout] | ---------------- `CallBuilder` is not local [INFO] [stdout] ... [INFO] [stdout] 209 | /// Contract to trade NFTs on Polymesh. [INFO] [stdout] | ___^ [INFO] [stdout] 210 | | #[ink(storage)] [INFO] [stdout] 211 | | #[derive(Default)] [INFO] [stdout] 212 | | pub struct NftTrader { [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |___`EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::scale::Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::scale::Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `::scale::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[ink::contract] [INFO] [stdout] | ---------------- `CallBuilder` is not local [INFO] [stdout] ... [INFO] [stdout] 209 | /// Contract to trade NFTs on Polymesh. [INFO] [stdout] | ___^ [INFO] [stdout] 210 | | #[ink(storage)] [INFO] [stdout] 211 | | #[derive(Default)] [INFO] [stdout] 212 | | pub struct NftTrader { [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |___`Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::scale::Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::scale::Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `::scale::Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[ink::contract] [INFO] [stdout] | ---------------- `CallBuilder` is not local [INFO] [stdout] ... [INFO] [stdout] 209 | /// Contract to trade NFTs on Polymesh. [INFO] [stdout] | ___^ [INFO] [stdout] 210 | | #[ink(storage)] [INFO] [stdout] 211 | | #[derive(Default)] [INFO] [stdout] 212 | | pub struct NftTrader { [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |___`TypeInfo` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::scale_info::TypeInfo` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::scale_info::TypeInfo` may come from an old version of the `scale_info_derive` crate, try updating your dependency with `cargo update -p scale_info_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `::scale_info::TypeInfo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[ink::contract] [INFO] [stdout] | ---------------- `CallBuilder` is not local [INFO] [stdout] ... [INFO] [stdout] 209 | /// Contract to trade NFTs on Polymesh. [INFO] [stdout] | ___^ [INFO] [stdout] 210 | | #[ink(storage)] [INFO] [stdout] 211 | | #[derive(Default)] [INFO] [stdout] 212 | | pub struct NftTrader { [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |___`StorageLayout` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::ink::storage::traits::StorageLayout` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::ink::storage::traits::StorageLayout` may come from an old version of the `ink_macro` crate, try updating your dependency with `cargo update -p ink_macro` [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 warning originates in the derive macro `::ink::storage::traits::StorageLayout` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 209 | // /// Contract to trade NFTs on Polymesh. [INFO] [stdout] 210 | || #[ink(storage)] [INFO] [stdout] 211 | || #[derive(Default)] [INFO] [stdout] 212 | || pub struct NftTrader { [INFO] [stdout] | ||______________--------^ [INFO] [stdout] | | | [INFO] [stdout] | | `NftTrader` is not local [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [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] [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:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[ink::contract] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `CallBuilder` is not local [INFO] [stdout] ... [INFO] [stdout] 209 | / /// Contract to trade NFTs on Polymesh. [INFO] [stdout] 210 | | #[ink(storage)] [INFO] [stdout] 211 | | #[derive(Default)] [INFO] [stdout] 212 | | pub struct NftTrader { [INFO] [stdout] ... | [INFO] [stdout] 228 | | nfts: BTreeSet, [INFO] [stdout] 229 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |___`ContractEnv` 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 warning originates in the attribute macro `ink::contract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.57s [INFO] running `Command { std: "docker" "inspect" "8488e14779b6409789cd69c6a9323ec33b97ab2b82b044757b739d57e80e234d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8488e14779b6409789cd69c6a9323ec33b97ab2b82b044757b739d57e80e234d", kill_on_drop: false }` [INFO] [stdout] 8488e14779b6409789cd69c6a9323ec33b97ab2b82b044757b739d57e80e234d