[INFO] fetching crate pallet-contracts 25.0.0... [INFO] checking pallet-contracts-25.0.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate pallet-contracts 25.0.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate pallet-contracts 25.0.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-contracts 25.0.0 [INFO] finished tweaking crates.io crate pallet-contracts 25.0.0 [INFO] tweaked toml for crates.io crate pallet-contracts 25.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 433 packages [INFO] [stderr] Adding addr2line v0.19.0 (latest: v0.21.0) [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding aquamarine v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.4) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.0) [INFO] [stderr] Adding bitcoin_hashes v0.11.0 (latest: v0.14.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding block-buffer v0.7.3 (latest: v0.10.4) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding block-padding v0.1.5 (latest: v0.3.3) [INFO] [stderr] Adding bounded-collections v0.1.9 (latest: v0.2.0) [INFO] [stderr] Adding constcat v0.3.1 (latest: v0.5.0) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding cpp_demangle v0.3.5 (latest: v0.4.3) [INFO] [stderr] Adding cranelift-entity v0.95.1 (latest: v0.106.0) [INFO] [stderr] Adding crypto-mac v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding curve25519-dalek v2.1.3 (latest: v4.1.2) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (latest: v4.1.2) [INFO] [stderr] Adding derive-syn-parse v0.1.5 (latest: v0.2.0) [INFO] [stderr] Adding digest v0.8.1 (latest: v0.10.7) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding ed25519-zebra v3.1.0 (latest: v4.0.3) [INFO] [stderr] Adding env_logger v0.9.3 (latest: v0.11.3) [INFO] [stderr] Adding fallible-iterator v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding frame-benchmarking v26.0.0 (latest: v31.0.0) [INFO] [stderr] Adding frame-support v26.0.0 (latest: v31.0.0) [INFO] [stderr] Adding frame-support-procedural v21.0.0 (latest: v26.0.0) [INFO] [stderr] Adding frame-support-procedural-tools v9.0.0 (latest: v11.0.0) [INFO] [stderr] Adding frame-support-procedural-tools-derive v10.0.0 (latest: v12.0.0) [INFO] [stderr] Adding frame-system v26.0.0 (latest: v31.0.0) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.12) [INFO] [stderr] Adding gimli v0.27.3 (latest: v0.28.1) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding hashbrown v0.13.2 (latest: v0.14.3) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding hmac v0.8.1 (latest: v0.12.1) [INFO] [stderr] Adding hmac v0.11.0 (latest: v0.12.1) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding io-lifetimes v1.0.11 (latest: v2.0.3) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding linux-raw-sys v0.1.4 (latest: v0.6.4) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding matchers v0.0.1 (latest: v0.1.0) [INFO] [stderr] Adding memoffset v0.8.0 (latest: v0.9.1) [INFO] [stderr] Adding merlin v2.0.1 (latest: v3.0.0) [INFO] [stderr] Adding object v0.30.4 (latest: v0.34.0) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding opaque-debug v0.2.3 (latest: v0.3.1) [INFO] [stderr] Adding pallet-balances v26.0.0 (latest: v31.0.0) [INFO] [stderr] Adding pallet-contracts-proc-macro v16.0.0 (latest: v21.0.0) [INFO] [stderr] Adding pallet-transaction-payment v26.0.0 (latest: v31.0.0) [INFO] [stderr] Adding pbkdf2 v0.8.0 (latest: v0.12.2) [INFO] [stderr] Adding polkadot-core-primitives v5.0.0 (latest: v10.0.0) [INFO] [stderr] Adding polkadot-parachain-primitives v4.0.0 (latest: v9.0.0) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.1.0) [INFO] [stderr] Adding proc-macro-crate v2.0.2 (latest: v3.1.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.6) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.3) [INFO] [stderr] Adding rustix v0.36.17 (latest: v0.38.32) [INFO] [stderr] Adding schnorrkel v0.9.1 (latest: v0.11.4) [INFO] [stderr] Adding secp256k1 v0.24.3 (latest: v0.28.2) [INFO] [stderr] Adding secp256k1-sys v0.6.1 (latest: v0.9.2) [INFO] [stderr] Adding sha2 v0.8.2 (latest: v0.10.8) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding sp-api v24.0.0 (latest: v29.0.0) [INFO] [stderr] Adding sp-api-proc-macro v13.0.0 (latest: v17.0.0) [INFO] [stderr] Adding sp-application-crypto v28.0.0 (latest: v33.0.0) [INFO] [stderr] Adding sp-arithmetic v21.0.0 (latest: v25.0.0) [INFO] [stderr] Adding sp-core v26.0.0 (latest: v31.0.0) [INFO] [stderr] Adding sp-core-hashing v13.0.0 (latest: v16.0.0) [INFO] [stderr] Adding sp-core-hashing-proc-macro v13.0.0 (latest: v16.0.0) [INFO] [stderr] Adding sp-debug-derive v12.0.0 (latest: v14.0.0) [INFO] [stderr] Adding sp-externalities v0.23.0 (latest: v0.27.0) [INFO] [stderr] Adding sp-genesis-builder v0.5.0 (latest: v0.10.0) [INFO] [stderr] Adding sp-inherents v24.0.0 (latest: v29.0.0) [INFO] [stderr] Adding sp-io v28.0.0 (latest: v33.0.0) [INFO] [stderr] Adding sp-keystore v0.32.0 (latest: v0.37.0) [INFO] [stderr] Adding sp-metadata-ir v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding sp-panic-handler v12.0.0 (latest: v13.0.0) [INFO] [stderr] Adding sp-runtime v29.0.0 (latest: v34.0.0) [INFO] [stderr] Adding sp-runtime-interface v22.0.0 (latest: v26.0.0) [INFO] [stderr] Adding sp-runtime-interface-proc-macro v15.0.0 (latest: v18.0.0) [INFO] [stderr] Adding sp-staking v24.0.0 (latest: v29.0.0) [INFO] [stderr] Adding sp-state-machine v0.33.0 (latest: v0.38.0) [INFO] [stderr] Adding sp-std v12.0.0 (latest: v14.0.0) [INFO] [stderr] Adding sp-storage v17.0.0 (latest: v20.0.0) [INFO] [stderr] Adding sp-tracing v14.0.0 (latest: v16.0.0) [INFO] [stderr] Adding sp-trie v27.0.0 (latest: v32.0.0) [INFO] [stderr] Adding sp-version v27.0.0 (latest: v32.0.0) [INFO] [stderr] Adding sp-version-proc-macro v12.0.0 (latest: v13.0.0) [INFO] [stderr] Adding sp-wasm-interface v18.0.0 (latest: v20.0.0) [INFO] [stderr] Adding sp-weights v25.0.0 (latest: v30.0.0) [INFO] [stderr] Adding staging-xcm v5.0.0 (latest: v10.0.0) [INFO] [stderr] Adding staging-xcm-builder v5.0.0 (latest: v10.0.0) [INFO] [stderr] Adding staging-xcm-executor v5.0.0 (latest: v10.0.0) [INFO] [stderr] Adding substrate-bip39 v0.4.6 (latest: v0.5.0) [INFO] [stderr] Adding subtle v2.4.1 (latest: v2.5.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding toml v0.8.2 (latest: v0.8.12) [INFO] [stderr] Adding toml_datetime v0.6.3 (latest: v0.6.5) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.9) [INFO] [stderr] Adding toml_edit v0.20.2 (latest: v0.22.9) [INFO] [stderr] Adding tracing-log v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding tracing-subscriber v0.2.25 (latest: v0.3.18) [INFO] [stderr] Adding unicode-normalization v0.1.22 (latest: v0.1.23) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding wasmi_arena v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding wasmi_core v0.13.0 (latest: v0.17.0) [INFO] [stderr] Adding wasmparser v0.102.0 (latest: v0.202.0) [INFO] [stderr] Adding wasmtime v8.0.1 (latest: v19.0.0) [INFO] [stderr] Adding wasmtime-asm-macros v8.0.1 (latest: v19.0.0) [INFO] [stderr] Adding wasmtime-environ v8.0.1 (latest: v19.0.0) [INFO] [stderr] Adding wasmtime-jit v8.0.1 (latest: v17.0.2) [INFO] [stderr] Adding wasmtime-jit-debug v8.0.1 (latest: v19.0.0) [INFO] [stderr] Adding wasmtime-jit-icache-coherence v8.0.1 (latest: v19.0.0) [INFO] [stderr] Adding wasmtime-runtime v8.0.1 (latest: v19.0.0) [INFO] [stderr] Adding wasmtime-types v8.0.1 (latest: v19.0.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] [stderr] Adding windows-sys v0.45.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.5) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] [stderr] Adding xcm-procedural v5.0.0 (latest: v8.0.0) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmi_arena v0.4.1 [INFO] [stderr] Downloaded polkadot-core-primitives v5.0.0 [INFO] [stderr] Downloaded wasmi v0.31.2 [INFO] [stderr] Downloaded pallet-balances v26.0.0 [INFO] [stderr] Downloaded pallet-contracts-primitives v29.0.0 [INFO] [stderr] Downloaded pallet-contracts-proc-macro v16.0.0 [INFO] [stderr] Downloaded rand_pcg v0.3.1 [INFO] [stderr] Downloaded pallet-transaction-payment v26.0.0 [INFO] [stderr] Downloaded staging-xcm v5.0.0 [INFO] [stderr] Downloaded staging-xcm-builder v5.0.0 [INFO] [stderr] Downloaded wasmparser-nostd v0.100.1 [INFO] [stderr] Downloaded wast v202.0.0 [INFO] [stderr] Downloaded polkadot-parachain-primitives v4.0.0 [INFO] [stderr] Downloaded xcm-procedural v5.0.0 [INFO] [stderr] Downloaded staging-xcm-executor v5.0.0 [INFO] [stderr] Downloaded wasm-instrument v0.4.0 [INFO] [stderr] Downloaded wasmi_core v0.13.0 [INFO] [stderr] Downloaded indexmap-nostd v0.4.0 [INFO] [stderr] Downloaded wasm-encoder v0.202.0 [INFO] [stderr] Downloaded wat v1.202.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10cd1c67021ad529ca670639daa1585c439d2f8480851fa897bfb34638ec7a5b [INFO] running `Command { std: "docker" "start" "-a" "10cd1c67021ad529ca670639daa1585c439d2f8480851fa897bfb34638ec7a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10cd1c67021ad529ca670639daa1585c439d2f8480851fa897bfb34638ec7a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10cd1c67021ad529ca670639daa1585c439d2f8480851fa897bfb34638ec7a5b", kill_on_drop: false }` [INFO] [stdout] 10cd1c67021ad529ca670639daa1585c439d2f8480851fa897bfb34638ec7a5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c2ae754a2e8c489182a133e2a6a4acfbf8c157fea680ddd9d0eb172200735ec [INFO] running `Command { std: "docker" "start" "-a" "9c2ae754a2e8c489182a133e2a6a4acfbf8c157fea680ddd9d0eb172200735ec", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling rustix v0.36.17 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking sp-std v12.0.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling wasmtime-runtime v8.0.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking memfd v0.6.4 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking wasmtime-jit-debug v8.0.1 [INFO] [stderr] Checking wasmtime-asm-macros v8.0.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v8.0.1 [INFO] [stderr] Compiling wasmtime v8.0.1 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking num-format v0.4.4 [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] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking trie-db v0.28.0 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking memory-db v0.32.0 [INFO] [stderr] Checking schnellru v0.2.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sp-io v28.0.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling prettier-please v0.2.0 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling expander v2.1.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling cfg-expr v0.15.7 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling proc-macro-warning v1.0.2 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling sp-core-hashing v13.0.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking indexmap-nostd v0.4.0 [INFO] [stderr] Checking wasm-encoder v0.202.0 [INFO] [stderr] Checking bumpalo v3.15.4 [INFO] [stderr] Compiling pallet-contracts v25.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking wasmi_arena v0.4.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking wasmparser-nostd v0.100.1 [INFO] [stderr] Checking wasm-instrument v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking wasmi_core v0.13.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling derive-syn-parse v0.1.5 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling sp-debug-derive v12.0.0 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.0 [INFO] [stderr] Compiling sp-core-hashing-proc-macro v13.0.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v10.0.0 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling aquamarine v0.3.3 [INFO] [stderr] Checking sp-panic-handler v12.0.0 [INFO] [stderr] Compiling macro_magic_core v0.5.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling xcm-procedural v5.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 secrecy v0.8.0 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling macro_magic_macros v0.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking wast v202.0.0 [INFO] [stderr] Compiling pallet-contracts-proc-macro v16.0.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ed25519-zebra v3.1.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling macro_magic v0.5.0 [INFO] [stderr] Checking wasmi v0.31.2 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking substrate-bip39 v0.4.6 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking wat v1.202.0 [INFO] [stderr] Checking nalgebra v0.32.5 [INFO] [stderr] Checking cranelift-entity v0.95.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking bip39 v2.0.0 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking wasmparser v0.102.0 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking object v0.30.4 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Compiling ss58-registry v1.47.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling frame-support-procedural-tools v9.0.0 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling scale-info-derive v2.11.1 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v15.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v13.0.0 [INFO] [stderr] Compiling frame-support-procedural v21.0.0 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.9 [INFO] [stderr] Compiling docify_macros v0.2.7 [INFO] [stderr] Checking wasmtime-types v8.0.1 [INFO] [stderr] Checking wasmtime-environ v8.0.1 [INFO] [stderr] Checking parity-scale-codec v3.6.9 [INFO] [stderr] Checking docify v0.2.7 [INFO] [stderr] Checking scale-info v2.11.1 [INFO] [stderr] Checking sp-storage v17.0.0 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking sp-tracing v14.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v12.0.0 [INFO] [stderr] Checking sp-externalities v0.23.0 [INFO] [stderr] Checking wasmtime-jit v8.0.1 [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 frame-metadata v16.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.4.0 [INFO] [stderr] Checking linregress v0.5.3 [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-trie v27.0.0 [INFO] [stderr] Checking sp-keystore v0.32.0 [INFO] [stderr] Checking sp-weights v25.0.0 [INFO] [stderr] Checking staging-xcm v5.0.0 [INFO] [stderr] Checking sp-state-machine v0.33.0 [INFO] [stderr] Checking sp-application-crypto v28.0.0 [INFO] [stderr] Checking sp-runtime v29.0.0 [INFO] [stderr] Checking sp-version v27.0.0 [INFO] [stderr] Checking sp-inherents v24.0.0 [INFO] [stderr] Checking sp-staking v24.0.0 [INFO] [stderr] Checking polkadot-core-primitives v5.0.0 [INFO] [stderr] Checking pallet-contracts-primitives v29.0.0 [INFO] [stderr] Checking polkadot-parachain-primitives v4.0.0 [INFO] [stderr] Checking sp-api v24.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.5.0 [INFO] [stderr] Checking frame-support v26.0.0 [INFO] [stderr] Checking frame-system v26.0.0 [INFO] [stderr] Checking frame-benchmarking v26.0.0 [INFO] [stderr] Checking pallet-transaction-payment v26.0.0 [INFO] [stderr] Checking staging-xcm-executor v5.0.0 [INFO] [stderr] Checking staging-xcm-builder v5.0.0 [INFO] [stdout] error[E0432]: unresolved import `pallet_balances` [INFO] [stdout] --> src/exec.rs:3147:8 [INFO] [stdout] | [INFO] [stdout] 3147 | use pallet_balances::Call as BalanceCall; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_utility` [INFO] [stdout] --> src/exec.rs:3148:8 [INFO] [stdout] | [INFO] [stdout] 3148 | use pallet_utility::Call as UtilCall; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_utility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::tests::RuntimeCall`, `crate::tests::RuntimeEvent`, `crate::tests::Test` [INFO] [stdout] --> src/exec.rs:1612:16 [INFO] [stdout] | [INFO] [stdout] 1612 | ExtBuilder, RuntimeCall, RuntimeEvent as MetaEvent, Test, TestFilter, ALICE, BOB, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Test` in `tests` [INFO] [stdout] | | | help: a similar name exists in the module: `test` [INFO] [stdout] | | no `RuntimeEvent` in `tests` [INFO] [stdout] | no `RuntimeCall` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tests::Test` [INFO] [stdout] --> src/gas.rs:264:6 [INFO] [stdout] | [INFO] [stdout] 264 | use crate::tests::Test; [INFO] [stdout] | ^^^^^^^^^^^^^^---- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `test` [INFO] [stdout] | no `Test` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tests::Test` [INFO] [stdout] --> src/schedule.rs:495:6 [INFO] [stdout] | [INFO] [stdout] 495 | use crate::tests::Test; [INFO] [stdout] | ^^^^^^^^^^^^^^---- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `test` [INFO] [stdout] | no `Test` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tests::Test` [INFO] [stdout] --> src/storage/meter.rs:629:11 [INFO] [stdout] | [INFO] [stdout] 629 | tests::{Test, ALICE, BOB, CHARLIE}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Test` in `tests` [INFO] [stdout] | help: a similar name exists in the module: `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tests::Test` [INFO] [stdout] --> src/wasm/prepare.rs:338:11 [INFO] [stdout] | [INFO] [stdout] 338 | tests::{Test, ALICE}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Test` in `tests` [INFO] [stdout] | help: a similar name exists in the module: `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::tests::RuntimeCall`, `crate::tests::Test` [INFO] [stdout] --> src/wasm/mod.rs:440:11 [INFO] [stdout] | [INFO] [stdout] 440 | tests::{RuntimeCall, Test, ALICE, BOB}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | no `Test` in `tests` [INFO] [stdout] | | help: a similar name exists in the module: `test` [INFO] [stdout] | no `RuntimeCall` in `tests` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::wasm::prepare::tests::entrypoints::Test` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tests::Test` [INFO] [stdout] --> src/migration.rs:556:23 [INFO] [stdout] | [INFO] [stdout] 556 | tests::{ExtBuilder, Test}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Test` in `tests` [INFO] [stdout] | help: a similar name exists in the module: `test` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::wasm::prepare::tests::entrypoints::Test` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_keystore` [INFO] [stdout] --> src/tests.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use sp_keystore::{testing::MemoryKeystore, KeystoreExt}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `sp_keystore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_contracts_fixtures` [INFO] [stdout] --> src/tests.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | use pallet_contracts_fixtures::compile_module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_contracts_fixtures` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 56 | use pallet_contracts_primitives::compile_module; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_keystore` [INFO] [stdout] --> src/tests.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use sp_keystore::{testing::MemoryKeystore, KeystoreExt}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `sp_keystore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::Contracts`, `super::Test` [INFO] [stdout] --> src/tests.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | use super::{Contracts, DepositPerByte, DepositPerItem, Hash, SysConfig, Test}; [INFO] [stdout] | ^^^^^^^^^ no `Contracts` in `tests` ^^^^ no `Test` in `tests` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: unresolved item `crate::wasm::prepare::tests::entrypoints::Test` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 99 | use super::{Contains, DepositPerByte, DepositPerItem, Hash, SysConfig, Test}; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 99 | use super::{Contracts, DepositPerByte, DepositPerItem, Hash, SysConfig, test}; [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_proxy` [INFO] [stdout] --> src/tests.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | Proxy: pallet_proxy::{Pallet, Call, Storage, Event}, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `pallet_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/exec.rs:52:64 [INFO] [stdout] | [INFO] [stdout] 52 | use sp_std::{fmt::Debug, marker::PhantomData, mem, prelude::*, vec::Vec}; [INFO] [stdout] | ---------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `Vec` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/storage/meter.rs:41:52 [INFO] [stdout] | [INFO] [stdout] 41 | use sp_std::{fmt::Debug, marker::PhantomData, vec, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CallFlags`, `ReturnCode` [INFO] [stdout] --> src/wasm/mod.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | AllowDeprecatedInterface, AllowUnstableInterface, CallFlags, Environment, ReturnCode, Runtime, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/chain_extension.rs:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | use sp_std::{marker::PhantomData, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Weight` is imported redundantly [INFO] [stdout] --> src/migration/v09.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | CodeHash, Config, Determinism, Pallet, Weight, LOG_TARGET, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | use frame_support::{pallet_prelude::*, storage_alias, DefaultNoBound, Identity}; [INFO] [stdout] | ----------------- the item `Weight` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Weight` is imported redundantly [INFO] [stdout] --> src/migration/v10.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | CodeHash, Config, Pallet, TrieId, Weight, LOG_TARGET, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pallet_prelude::*, [INFO] [stdout] | ----------------- the item `Weight` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Weight` is imported redundantly [INFO] [stdout] --> src/migration/v11.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | Config, Pallet, TrieId, Weight, LOG_TARGET, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | use frame_support::{pallet_prelude::*, storage_alias, DefaultNoBound}; [INFO] [stdout] | ----------------- the item `Weight` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PhantomData` is imported redundantly [INFO] [stdout] --> src/migration/v11.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 30 | use frame_support::{pallet_prelude::*, storage_alias, DefaultNoBound}; [INFO] [stdout] | ----------------- the item `PhantomData` is already imported here [INFO] [stdout] 31 | use sp_std::{marker::PhantomData, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Weight` is imported redundantly [INFO] [stdout] --> src/migration/v12.rs:24:65 [INFO] [stdout] | [INFO] [stdout] 24 | AccountIdOf, BalanceOf, CodeHash, Config, Determinism, Pallet, Weight, LOG_TARGET, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pallet_prelude::*, storage_alias, traits::ReservableCurrency, DefaultNoBound, Identity, [INFO] [stdout] | ----------------- the item `Weight` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Weight` is imported redundantly [INFO] [stdout] --> src/migration/v13.rs:24:60 [INFO] [stdout] | [INFO] [stdout] 24 | AccountIdOf, BalanceOf, CodeHash, Config, Pallet, TrieId, Weight, LOG_TARGET, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | use frame_support::{pallet_prelude::*, storage_alias, DefaultNoBound}; [INFO] [stdout] | ----------------- the item `Weight` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BoundedBTreeMap` is imported redundantly [INFO] [stdout] --> src/migration/v13.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | use frame_support::{pallet_prelude::*, storage_alias, DefaultNoBound}; [INFO] [stdout] | ----------------- the item `BoundedBTreeMap` is already imported here [INFO] [stdout] 28 | use sp_runtime::BoundedBTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Weight` is imported redundantly [INFO] [stdout] --> src/migration/v14.rs:27:64 [INFO] [stdout] | [INFO] [stdout] 27 | BalanceOf, CodeHash, Config, Determinism, HoldReason, Pallet, Weight, LOG_TARGET, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pallet_prelude::*, [INFO] [stdout] | ----------------- the item `Weight` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Weight` is imported redundantly [INFO] [stdout] --> src/migration/v15.rs:28:72 [INFO] [stdout] | [INFO] [stdout] 28 | AccountIdOf, BalanceOf, CodeHash, Config, HoldReason, Pallet, TrieId, Weight, LOG_TARGET, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pallet_prelude::*, [INFO] [stdout] | ----------------- the item `Weight` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Weight` is imported redundantly [INFO] [stdout] --> src/migration.rs:69:78 [INFO] [stdout] | [INFO] [stdout] 69 | use crate::{weights::WeightInfo, Config, Error, MigrationInProgress, Pallet, Weight, LOG_TARGET}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pallet_prelude::*, [INFO] [stdout] | ----------------- the item `Weight` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ConstU32` is imported redundantly [INFO] [stdout] --> src/migration.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 72 | pallet_prelude::*, [INFO] [stdout] | ----------------- the item `ConstU32` is already imported here [INFO] [stdout] 73 | traits::{ConstU32, OnRuntimeUpgrade}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PhantomData` is imported redundantly [INFO] [stdout] --> src/migration.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 72 | pallet_prelude::*, [INFO] [stdout] | ----------------- the item `PhantomData` is already imported here [INFO] [stdout] ... [INFO] [stdout] 76 | use sp_std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `code_len` is never used [INFO] [stdout] --> src/exec.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 390 | pub trait Executable: Sized { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 423 | fn code_len(&self) -> u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `frame_support::traits::Imbalance` that must be used [INFO] [stdout] --> src/migration/v10.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | OldCurrency::deposit_creating(&deposit_account, min_balance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/exec.rs:3178:26 [INFO] [stdout] | [INFO] [stdout] 3178 | RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { .. }) => false, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1606 + use crate::Call; [INFO] [stdout] | [INFO] [stdout] 1606 + use frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3178 - RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { .. }) => false, [INFO] [stdout] 3178 + RuntimeCall::Balances(Call::transfer_allow_death { .. }) => false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_utility` [INFO] [stdout] --> src/exec.rs:3219:33 [INFO] [stdout] | [INFO] [stdout] 3219 | event: MetaEvent::Utility(pallet_utility::Event::ItemCompleted), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_utility` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1606 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 1606 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3219 - event: MetaEvent::Utility(pallet_utility::Event::ItemCompleted), [INFO] [stdout] 3219 + event: MetaEvent::Utility(Event::ItemCompleted), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_utility` [INFO] [stdout] --> src/exec.rs:3224:33 [INFO] [stdout] | [INFO] [stdout] 3224 | event: MetaEvent::Utility(pallet_utility::Event::BatchInterrupted { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_utility` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1606 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 1606 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3224 - event: MetaEvent::Utility(pallet_utility::Event::BatchInterrupted { [INFO] [stdout] 3224 + event: MetaEvent::Utility(Event::BatchInterrupted { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/test_debug.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | impl Tracing for TestDebug { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | impl Tracing for TestDebug { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/test_debug.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | contract_account: &AccountIdOf, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | impl Tracing for TestDebug { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/test_debug.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | impl CallInterceptor for TestDebug { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | impl CallInterceptor for TestDebug { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/test_debug.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | contract_address: &::AccountId, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/test_debug.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | let (wasm_caller, _) = compile_module::("call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 102 | fn debugging_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/test_debug.rs:104:42 [INFO] [stdout] | [INFO] [stdout] 104 | let (wasm_callee, _) = compile_module::("store_call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 102 | fn debugging_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests/test_debug.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests/test_debug.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/test_debug.rs:190:35 [INFO] [stdout] | [INFO] [stdout] 190 | let (wasm, _) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 189 | fn call_interception_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests/test_debug.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | let account_id = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests/test_debug.rs:212:14 [INFO] [stdout] | [INFO] [stdout] 212 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests/test_debug.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | Contracts::call(RuntimeOrigin::signed(ALICE), account_id, 0, GAS_LIMIT, None, vec![],), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/test_debug.rs:226:11 [INFO] [stdout] | [INFO] [stdout] 226 | >::ContractReverted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 189 | fn call_interception_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:68:47 [INFO] [stdout] | [INFO] [stdout] 68 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 68 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:166:6 [INFO] [stdout] | [INFO] [stdout] 166 | impl Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | impl ChainExtension for TestExtension { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 214 | impl ChainExtension for TestExtension { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 217 | E: Ext, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:242:48 [INFO] [stdout] | [INFO] [stdout] 242 | u32::decode(&mut enc).map_err(|_| Error::::ContractTrapped)?.into(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 214 | impl ChainExtension for TestExtension { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:260:31 [INFO] [stdout] | [INFO] [stdout] 260 | impl RegisteredChainExtension for TestExtension { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 260 | impl RegisteredChainExtension for TestExtension { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | impl ChainExtension for RevertingExtension { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 264 | impl ChainExtension for RevertingExtension { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | E: Ext, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:277:31 [INFO] [stdout] | [INFO] [stdout] 277 | impl RegisteredChainExtension for RevertingExtension { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 277 | impl RegisteredChainExtension for RevertingExtension { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | impl ChainExtension for DisabledExtension { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 281 | impl ChainExtension for DisabledExtension { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | E: Ext, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:294:31 [INFO] [stdout] | [INFO] [stdout] 294 | impl RegisteredChainExtension for DisabledExtension { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 294 | impl RegisteredChainExtension for DisabledExtension { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | impl ChainExtension for TempStorageExtension { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 298 | impl ChainExtension for TempStorageExtension { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 301 | E: Ext, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | impl RegisteredChainExtension for TempStorageExtension { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 324 | impl RegisteredChainExtension for TempStorageExtension { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:335:31 [INFO] [stdout] | [INFO] [stdout] 335 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:340:23 [INFO] [stdout] | [INFO] [stdout] 340 | type RuntimeOrigin = RuntimeOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 340 | type RuntimeOrigin = Self::RuntimeOrigin; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 343 | type RuntimeCall = Self::RuntimeCall; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:348:22 [INFO] [stdout] | [INFO] [stdout] 348 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 348 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/tests.rs:351:20 [INFO] [stdout] | [INFO] [stdout] 351 | type PalletInfo = PalletInfo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 351 | type PalletInfo = Self::PalletInfo; [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] 21 + use xcm::opaque::lts::PalletInfo; [INFO] [stdout] | [INFO] [stdout] 21 + use xcm_builder::test_utils::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:360:61 [INFO] [stdout] | [INFO] [stdout] 360 | impl pallet_insecure_randomness_collective_flip::Config for Test {} [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:361:34 [INFO] [stdout] | [INFO] [stdout] 361 | impl pallet_balances::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 369 | type AccountStore = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeHoldReason` in this scope [INFO] [stdout] --> src/tests.rs:373:27 [INFO] [stdout] | [INFO] [stdout] 373 | type RuntimeHoldReason = RuntimeHoldReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeFreezeReason` in this scope [INFO] [stdout] --> src/tests.rs:374:29 [INFO] [stdout] | [INFO] [stdout] 374 | type RuntimeFreezeReason = RuntimeFreezeReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:378:35 [INFO] [stdout] | [INFO] [stdout] 378 | impl pallet_timestamp::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:384:33 [INFO] [stdout] | [INFO] [stdout] 384 | impl pallet_utility::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:385:22 [INFO] [stdout] | [INFO] [stdout] 385 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:386:21 [INFO] [stdout] | [INFO] [stdout] 386 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginCaller` in this scope [INFO] [stdout] --> src/tests.rs:387:23 [INFO] [stdout] | [INFO] [stdout] 387 | type PalletsOrigin = OriginCaller; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:391:31 [INFO] [stdout] | [INFO] [stdout] 391 | impl pallet_proxy::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:392:22 [INFO] [stdout] | [INFO] [stdout] 392 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:393:21 [INFO] [stdout] | [INFO] [stdout] 393 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:394:18 [INFO] [stdout] | [INFO] [stdout] 394 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / type BalanceOf = [INFO] [stdout] 161 | | <::Currency as Inspect<::AccountId>>::Balance; [INFO] [stdout] | |__________________________________________________________________________________________- similarly named type alias `BalanceOf` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:406:31 [INFO] [stdout] | [INFO] [stdout] 406 | impl pallet_dummy::Config for Test {} [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:409:27 [INFO] [stdout] | [INFO] [stdout] 409 | pub MySchedule: Schedule = { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:410:28 [INFO] [stdout] | [INFO] [stdout] 410 | let schedule = >::default(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:413:39 [INFO] [stdout] | [INFO] [stdout] 413 | pub static DepositPerByte: BalanceOf = 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:414:38 [INFO] [stdout] | [INFO] [stdout] 414 | pub const DepositPerItem: BalanceOf = 2; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:419:44 [INFO] [stdout] | [INFO] [stdout] 419 | pub static DefaultDepositLimit: BalanceOf = 10_000_000; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:422:43 [INFO] [stdout] | [INFO] [stdout] 422 | impl Convert> for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:433:14 [INFO] [stdout] | [INFO] [stdout] 433 | filter: fn(&RuntimeCall) -> bool, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:447:32 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn set_filter(filter: fn(&RuntimeCall) -> bool) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:452:15 [INFO] [stdout] | [INFO] [stdout] 452 | impl Contains for TestFilter { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 452 | impl Contains for TestFilter { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:453:21 [INFO] [stdout] | [INFO] [stdout] 453 | fn contains(call: &RuntimeCall) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | impl Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timestamp` in this scope [INFO] [stdout] --> src/tests.rs:463:14 [INFO] [stdout] | [INFO] [stdout] 463 | type Time = Timestamp; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use env_logger::fmt::Timestamp; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_api::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_core::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_runtime::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Randomness` in this scope [INFO] [stdout] --> src/tests.rs:464:20 [INFO] [stdout] | [INFO] [stdout] 464 | type Randomness = Randomness; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 464 | type Randomness = Self::Randomness; [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Randomness; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_support::traits::Randomness; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:465:18 [INFO] [stdout] | [INFO] [stdout] 465 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / type BalanceOf = [INFO] [stdout] 161 | | <::Currency as Inspect<::AccountId>>::Balance; [INFO] [stdout] | |__________________________________________________________________________________________- similarly named type alias `BalanceOf` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:466:22 [INFO] [stdout] | [INFO] [stdout] 466 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 466 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:467:21 [INFO] [stdout] | [INFO] [stdout] 467 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 467 | type RuntimeCall = Self::RuntimeCall; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeHoldReason` in this scope [INFO] [stdout] --> src/tests.rs:483:27 [INFO] [stdout] | [INFO] [stdout] 483 | type RuntimeHoldReason = RuntimeHoldReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 483 | type RuntimeHoldReason = Self::RuntimeHoldReason; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:502:28 [INFO] [stdout] | [INFO] [stdout] 502 | code_hashes: Vec>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 499 | pub struct ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:520:62 [INFO] [stdout] | [INFO] [stdout] 520 | pub fn with_code_hashes(mut self, code_hashes: Vec>) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 515 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:536:45 [INFO] [stdout] | [INFO] [stdout] 536 | let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 515 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:537:36 [INFO] [stdout] | [INFO] [stdout] 537 | pallet_balances::GenesisConfig:: { balances: vec![] } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 515 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:545:13 [INFO] [stdout] | [INFO] [stdout] 545 | Pallet::::on_genesis(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 515 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:547:34 [INFO] [stdout] | [INFO] [stdout] 547 | storage_version.put::>(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 515 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:549:4 [INFO] [stdout] | [INFO] [stdout] 549 | System::set_block_number(1) [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:553:18 [INFO] [stdout] | [INFO] [stdout] 553 | CodeInfoOf::::insert(code_hash, crate::CodeInfo::new(ALICE)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 515 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:561:2 [INFO] [stdout] | [INFO] [stdout] 561 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:562:2 [INFO] [stdout] | [INFO] [stdout] 562 | System::initialize(&number, &[0u8; 32].into(), &Default::default()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:588:25 [INFO] [stdout] | [INFO] [stdout] 588 | impl Default for Origin { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 588 | impl Default for Origin { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:599:12 [INFO] [stdout] | [INFO] [stdout] 599 | let _ = ::Currency::set_balance(&ALICE, 100_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:600:21 [INFO] [stdout] | [INFO] [stdout] 600 | let base_cost = <::WeightInfo as WeightInfo>::call(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:603:4 [INFO] [stdout] | [INFO] [stdout] 603 | Contracts::call(RuntimeOrigin::signed(ALICE), BOB, 0, GAS_LIMIT, None, Vec::new()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:605:20 [INFO] [stdout] | [INFO] [stdout] 605 | error: Error::::ContractNotFound.into(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 597 | fn calling_plain_account_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:620:5 [INFO] [stdout] | [INFO] [stdout] 620 | (::WeightInfo::migrate() + 1.into(), LATEST_MIGRATION_VERSION - 1), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:629:27 [INFO] [stdout] | [INFO] [stdout] 629 | MigrationInProgress::::set(Some(Default::default())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 616 | fn migration_on_idle_hooks_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 630 | Contracts::on_idle(System::block_number(), weight); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:630:24 [INFO] [stdout] | [INFO] [stdout] 630 | Contracts::on_idle(System::block_number(), weight); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:631:45 [INFO] [stdout] | [INFO] [stdout] 631 | assert_eq!(StorageVersion::get::>(), expected_version); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 616 | fn migration_on_idle_hooks_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:638:43 [INFO] [stdout] | [INFO] [stdout] 638 | let (wasm, code_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 637 | fn migration_in_progress_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:642:25 [INFO] [stdout] | [INFO] [stdout] 642 | MigrationInProgress::::set(Some(Default::default())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 637 | fn migration_in_progress_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:645:4 [INFO] [stdout] | [INFO] [stdout] 645 | Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:651:12 [INFO] [stdout] | [INFO] [stdout] 651 | Error::::MigrationInProgress, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 637 | fn migration_in_progress_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:654:4 [INFO] [stdout] | [INFO] [stdout] 654 | Contracts::remove_code(RuntimeOrigin::signed(ALICE), code_hash), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:655:12 [INFO] [stdout] | [INFO] [stdout] 655 | Error::::MigrationInProgress, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 637 | fn migration_in_progress_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:658:4 [INFO] [stdout] | [INFO] [stdout] 658 | Contracts::set_code(RuntimeOrigin::signed(ALICE), BOB.clone(), code_hash), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | Error::::MigrationInProgress, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 637 | fn migration_in_progress_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:662:4 [INFO] [stdout] | [INFO] [stdout] 662 | Contracts::call(RuntimeOrigin::signed(ALICE), BOB, 0, GAS_LIMIT, None, vec![],), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:663:12 [INFO] [stdout] | [INFO] [stdout] 663 | Error::::MigrationInProgress, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 637 | fn migration_in_progress_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:666:4 [INFO] [stdout] | [INFO] [stdout] 666 | Contracts::instantiate_with_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:675:12 [INFO] [stdout] | [INFO] [stdout] 675 | Error::::MigrationInProgress, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 637 | fn migration_in_progress_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:678:4 [INFO] [stdout] | [INFO] [stdout] 678 | Contracts::instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:687:12 [INFO] [stdout] | [INFO] [stdout] 687 | Error::::MigrationInProgress, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 637 | fn migration_in_progress_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:694:43 [INFO] [stdout] | [INFO] [stdout] 694 | let (wasm, code_hash) = compile_module::("event_and_return_on_deploy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 693 | fn instantiate_and_call_and_deposit_event() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:697:12 [INFO] [stdout] | [INFO] [stdout] 697 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:698:21 [INFO] [stdout] | [INFO] [stdout] 698 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:703:14 [INFO] [stdout] | [INFO] [stdout] 703 | assert_ok!(Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:714:14 [INFO] [stdout] | [INFO] [stdout] 714 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:728:28 [INFO] [stdout] | [INFO] [stdout] 728 | assert!(ContractInfoOf::::contains_key(&addr)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 693 | fn instantiate_and_call_and_deposit_event() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:731:4 [INFO] [stdout] | [INFO] [stdout] 731 | System::events(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:742:36 [INFO] [stdout] | [INFO] [stdout] 742 | event: RuntimeEvent::Balances(pallet_balances::Event::Endowed { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 742 - event: RuntimeEvent::Balances(pallet_balances::Event::Endowed { [INFO] [stdout] 742 + event: RuntimeEvent::Balances(Event::Endowed { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:750:36 [INFO] [stdout] | [INFO] [stdout] 750 | event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 750 - event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] 750 + event: RuntimeEvent::Balances(Event::Transfer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:759:36 [INFO] [stdout] | [INFO] [stdout] 759 | event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 759 - event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] 759 + event: RuntimeEvent::Balances(Event::Transfer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:800:44 [INFO] [stdout] | [INFO] [stdout] 800 | let (wasm, _code_hash) = compile_module::("event_size").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 799 | fn deposit_event_max_value_limit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:804:12 [INFO] [stdout] | [INFO] [stdout] 804 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:805:14 [INFO] [stdout] | [INFO] [stdout] 805 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:821:14 [INFO] [stdout] | [INFO] [stdout] 821 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:827:5 [INFO] [stdout] | [INFO] [stdout] 827 | ::Schedule::get().limits.payload_len.encode(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:832:4 [INFO] [stdout] | [INFO] [stdout] 832 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:838:7 [INFO] [stdout] | [INFO] [stdout] 838 | (::Schedule::get().limits.payload_len + 1).encode(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:840:12 [INFO] [stdout] | [INFO] [stdout] 840 | Error::::ValueTooLarge, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 799 | fn deposit_event_max_value_limit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:848:44 [INFO] [stdout] | [INFO] [stdout] 848 | let (wasm, _code_hash) = compile_module::("run_out_of_gas_start_fn").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 847 | fn run_out_of_fuel_start_fun() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:852:4 [INFO] [stdout] | [INFO] [stdout] 852 | Contracts::instantiate_with_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:861:12 [INFO] [stdout] | [INFO] [stdout] 861 | Error::::OutOfGas, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 847 | fn run_out_of_fuel_start_fun() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:869:44 [INFO] [stdout] | [INFO] [stdout] 869 | let (wasm, _code_hash) = compile_module::("run_out_of_gas").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 868 | fn run_out_of_fuel_engine() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:871:21 [INFO] [stdout] | [INFO] [stdout] 871 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:872:12 [INFO] [stdout] | [INFO] [stdout] 872 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:874:14 [INFO] [stdout] | [INFO] [stdout] 874 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:892:4 [INFO] [stdout] | [INFO] [stdout] 892 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:900:12 [INFO] [stdout] | [INFO] [stdout] 900 | Error::::OutOfGas, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 868 | fn run_out_of_fuel_engine() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:908:39 [INFO] [stdout] | [INFO] [stdout] 908 | let (code, _hash) = compile_module::("chain_extension").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 907 | fn run_out_of_fuel_host() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:910:21 [INFO] [stdout] | [INFO] [stdout] 910 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:911:12 [INFO] [stdout] | [INFO] [stdout] 911 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:913:14 [INFO] [stdout] | [INFO] [stdout] 913 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:931:16 [INFO] [stdout] | [INFO] [stdout] 931 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:943:30 [INFO] [stdout] | [INFO] [stdout] 943 | assert_err!(result, >::OutOfGas); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 907 | fn run_out_of_fuel_host() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:949:45 [INFO] [stdout] | [INFO] [stdout] 949 | let (wasm0, _code_hash) = compile_module::("seal_input_noop").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 948 | fn gas_syncs_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:950:45 [INFO] [stdout] | [INFO] [stdout] 950 | let (wasm1, _code_hash) = compile_module::("seal_input_once").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 948 | fn gas_syncs_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:951:45 [INFO] [stdout] | [INFO] [stdout] 951 | let (wasm2, _code_hash) = compile_module::("seal_input_twice").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 948 | fn gas_syncs_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:953:12 [INFO] [stdout] | [INFO] [stdout] 953 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:955:15 [INFO] [stdout] | [INFO] [stdout] 955 | let addr0 = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:971:15 [INFO] [stdout] | [INFO] [stdout] 971 | let addr1 = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:987:15 [INFO] [stdout] | [INFO] [stdout] 987 | let addr2 = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1002:16 [INFO] [stdout] | [INFO] [stdout] 1002 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1016:16 [INFO] [stdout] | [INFO] [stdout] 1016 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1029:29 [INFO] [stdout] | [INFO] [stdout] 1029 | let host_consumed_once = ::Schedule::get().host_fn_weights.input.ref_time(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1032:16 [INFO] [stdout] | [INFO] [stdout] 1032 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1058:43 [INFO] [stdout] | [INFO] [stdout] 1058 | let (wasm, code_hash) = compile_module::("self_destruct").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1057 | fn instantiate_unique_trie_id() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1061:12 [INFO] [stdout] | [INFO] [stdout] 1061 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1062:3 [INFO] [stdout] | [INFO] [stdout] 1062 | Contracts::upload_code(RuntimeOrigin::signed(ALICE), wasm, None, Determinism::Enforced) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1066:14 [INFO] [stdout] | [INFO] [stdout] 1066 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1084:4 [INFO] [stdout] | [INFO] [stdout] 1084 | Contracts::instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1093:11 [INFO] [stdout] | [INFO] [stdout] 1093 | >::DuplicateContract, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1057 | fn instantiate_unique_trie_id() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1097:14 [INFO] [stdout] | [INFO] [stdout] 1097 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1107:14 [INFO] [stdout] | [INFO] [stdout] 1107 | assert_ok!(Contracts::instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1124:44 [INFO] [stdout] | [INFO] [stdout] 1124 | let (wasm, _code_hash) = compile_module::("storage_size").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1123 | fn storage_max_value_limit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1128:12 [INFO] [stdout] | [INFO] [stdout] 1128 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1129:14 [INFO] [stdout] | [INFO] [stdout] 1129 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1146:14 [INFO] [stdout] | [INFO] [stdout] 1146 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1152:5 [INFO] [stdout] | [INFO] [stdout] 1152 | ::Schedule::get().limits.payload_len.encode(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1157:4 [INFO] [stdout] | [INFO] [stdout] 1157 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1163:7 [INFO] [stdout] | [INFO] [stdout] 1163 | (::Schedule::get().limits.payload_len + 1).encode(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1165:12 [INFO] [stdout] | [INFO] [stdout] 1165 | Error::::ValueTooLarge, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1123 | fn storage_max_value_limit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1172:58 [INFO] [stdout] | [INFO] [stdout] 1172 | let (caller_wasm, _caller_code_hash) = compile_module::("caller_contract").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1171 | fn deploy_and_call_other_contract() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1173:57 [INFO] [stdout] | [INFO] [stdout] 1173 | let (callee_wasm, callee_code_hash) = compile_module::("return_with_data").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1171 | fn deploy_and_call_other_contract() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1176:21 [INFO] [stdout] | [INFO] [stdout] 1176 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1179:12 [INFO] [stdout] | [INFO] [stdout] 1179 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1180:21 [INFO] [stdout] | [INFO] [stdout] 1180 | let caller_addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1194:3 [INFO] [stdout] | [INFO] [stdout] 1194 | Contracts::bare_upload_code(ALICE, callee_wasm, None, Determinism::Enforced).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1196:21 [INFO] [stdout] | [INFO] [stdout] 1196 | let callee_addr = Contracts::contract_address( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1208:14 [INFO] [stdout] | [INFO] [stdout] 1208 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1218:4 [INFO] [stdout] | [INFO] [stdout] 1218 | System::events(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:1229:36 [INFO] [stdout] | [INFO] [stdout] 1229 | event: RuntimeEvent::Balances(pallet_balances::Event::Endowed { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1229 - event: RuntimeEvent::Balances(pallet_balances::Event::Endowed { [INFO] [stdout] 1229 + event: RuntimeEvent::Balances(Event::Endowed { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:1237:36 [INFO] [stdout] | [INFO] [stdout] 1237 | event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1237 - event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] 1237 + event: RuntimeEvent::Balances(Event::Transfer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:1246:36 [INFO] [stdout] | [INFO] [stdout] 1246 | event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1246 - event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] 1246 + event: RuntimeEvent::Balances(Event::Transfer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:1263:36 [INFO] [stdout] | [INFO] [stdout] 1263 | event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1263 - event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] 1263 + event: RuntimeEvent::Balances(Event::Transfer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1277:22 [INFO] [stdout] | [INFO] [stdout] 1277 | hash(&Origin::::from_account_id(caller_addr.clone())), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1171 | fn deploy_and_call_other_contract() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1287:34 [INFO] [stdout] | [INFO] [stdout] 1287 | topics: vec![hash(&Origin::::from_account_id(ALICE)), hash(&caller_addr)], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1171 | fn deploy_and_call_other_contract() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1307:58 [INFO] [stdout] | [INFO] [stdout] 1307 | let (caller_wasm, _caller_code_hash) = compile_module::("delegate_call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1306 | fn delegate_call() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1308:57 [INFO] [stdout] | [INFO] [stdout] 1308 | let (callee_wasm, callee_code_hash) = compile_module::("delegate_call_lib").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1306 | fn delegate_call() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1311:12 [INFO] [stdout] | [INFO] [stdout] 1311 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1314:21 [INFO] [stdout] | [INFO] [stdout] 1314 | let caller_addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1329:14 [INFO] [stdout] | [INFO] [stdout] 1329 | assert_ok!(Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1336:14 [INFO] [stdout] | [INFO] [stdout] 1336 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1349:44 [INFO] [stdout] | [INFO] [stdout] 1349 | let (wasm, _code_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1348 | fn transfer_expendable_cannot_kill_account() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1351:12 [INFO] [stdout] | [INFO] [stdout] 1351 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1354:14 [INFO] [stdout] | [INFO] [stdout] 1354 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1372:24 [INFO] [stdout] | [INFO] [stdout] 1372 | let total_balance = ::Currency::total_balance(&addr); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1381:6 [INFO] [stdout] | [INFO] [stdout] 1381 | <::Currency as Mutate>::transfer( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1390:15 [INFO] [stdout] | [INFO] [stdout] 1390 | assert_eq!(::Currency::total_balance(&addr), total_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1396:44 [INFO] [stdout] | [INFO] [stdout] 1396 | let (wasm, _code_hash) = compile_module::("drain").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1395 | fn cannot_self_destruct_through_draning() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1398:12 [INFO] [stdout] | [INFO] [stdout] 1398 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1400:21 [INFO] [stdout] | [INFO] [stdout] 1400 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1403:14 [INFO] [stdout] | [INFO] [stdout] 1403 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1423:14 [INFO] [stdout] | [INFO] [stdout] 1423 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1434:5 [INFO] [stdout] | [INFO] [stdout] 1434 | ::Currency::total_balance(&addr), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1442:44 [INFO] [stdout] | [INFO] [stdout] 1442 | let (wasm, _code_hash) = compile_module::("store_call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1441 | fn cannot_self_destruct_through_storage_refund_after_price_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1444:12 [INFO] [stdout] | [INFO] [stdout] 1444 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1445:21 [INFO] [stdout] | [INFO] [stdout] 1445 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1448:14 [INFO] [stdout] | [INFO] [stdout] 1448 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1468:15 [INFO] [stdout] | [INFO] [stdout] 1468 | assert_eq!(::Currency::total_balance(&addr), info_deposit + min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1471:14 [INFO] [stdout] | [INFO] [stdout] 1471 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1484:14 [INFO] [stdout] | [INFO] [stdout] 1484 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1495:5 [INFO] [stdout] | [INFO] [stdout] 1495 | ::Currency::total_balance(&addr), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1504:44 [INFO] [stdout] | [INFO] [stdout] 1504 | let (wasm, _code_hash) = compile_module::("self_destruct").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1503 | fn cannot_self_destruct_while_live() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1506:12 [INFO] [stdout] | [INFO] [stdout] 1506 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1509:14 [INFO] [stdout] | [INFO] [stdout] 1509 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1530:4 [INFO] [stdout] | [INFO] [stdout] 1530 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1538:12 [INFO] [stdout] | [INFO] [stdout] 1538 | Error::::ContractTrapped, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1503 | fn cannot_self_destruct_while_live() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1548:43 [INFO] [stdout] | [INFO] [stdout] 1548 | let (wasm, code_hash) = compile_module::("self_destruct").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1547 | fn self_destruct_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1550:12 [INFO] [stdout] | [INFO] [stdout] 1550 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1551:12 [INFO] [stdout] | [INFO] [stdout] 1551 | let _ = ::Currency::set_balance(&DJANGO, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1552:21 [INFO] [stdout] | [INFO] [stdout] 1552 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1555:14 [INFO] [stdout] | [INFO] [stdout] 1555 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1580:4 [INFO] [stdout] | [INFO] [stdout] 1580 | Contracts::call(RuntimeOrigin::signed(ALICE), addr.clone(), 0, GAS_LIMIT, None, vec![],), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 1585 | assert_refcount!(&code_hash, 0); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1547 | fn self_destruct_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1589:15 [INFO] [stdout] | [INFO] [stdout] 1589 | assert_eq!(::Currency::total_balance(&addr), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1593:5 [INFO] [stdout] | [INFO] [stdout] 1593 | ::Currency::free_balance(DJANGO), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1600:5 [INFO] [stdout] | [INFO] [stdout] 1600 | ::Currency::total_balance(&ALICE), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1605:4 [INFO] [stdout] | [INFO] [stdout] 1605 | System::events(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1621:34 [INFO] [stdout] | [INFO] [stdout] 1621 | topics: vec![hash(&Origin::::from_account_id(ALICE)), hash(&addr)], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1547 | fn self_destruct_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:1643:36 [INFO] [stdout] | [INFO] [stdout] 1643 | event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1643 - event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] 1643 + event: RuntimeEvent::Balances(Event::Transfer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1659:57 [INFO] [stdout] | [INFO] [stdout] 1659 | let (callee_wasm, callee_code_hash) = compile_module::("self_destruct").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1658 | fn destroy_contract_and_transfer_funds() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1660:58 [INFO] [stdout] | [INFO] [stdout] 1660 | let (caller_wasm, _caller_code_hash) = compile_module::("destroy_and_transfer").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1658 | fn destroy_contract_and_transfer_funds() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1664:12 [INFO] [stdout] | [INFO] [stdout] 1664 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1665:3 [INFO] [stdout] | [INFO] [stdout] 1665 | Contracts::bare_upload_code(ALICE, callee_wasm, None, Determinism::Enforced).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1669:18 [INFO] [stdout] | [INFO] [stdout] 1669 | let addr_bob = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1686:4 [INFO] [stdout] | [INFO] [stdout] 1686 | Contracts::contract_address(&addr_bob, &callee_code_hash, &[], &[0x47, 0x11]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1690:14 [INFO] [stdout] | [INFO] [stdout] 1690 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1706:35 [INFO] [stdout] | [INFO] [stdout] 1706 | let (wasm, _) = compile_module::("self_destructing_constructor").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1705 | fn cannot_self_destruct_in_constructor() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1708:12 [INFO] [stdout] | [INFO] [stdout] 1708 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1712:4 [INFO] [stdout] | [INFO] [stdout] 1712 | Contracts::instantiate_with_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1721:12 [INFO] [stdout] | [INFO] [stdout] 1721 | Error::::TerminatedInConstructor, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1705 | fn cannot_self_destruct_in_constructor() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1728:44 [INFO] [stdout] | [INFO] [stdout] 1728 | let (wasm, _code_hash) = compile_module::("crypto_hashes").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1727 | fn crypto_hashes() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1731:12 [INFO] [stdout] | [INFO] [stdout] 1731 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1734:14 [INFO] [stdout] | [INFO] [stdout] 1734 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1769:25 [INFO] [stdout] | [INFO] [stdout] 1769 | let result = >::bare_call( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1727 | fn crypto_hashes() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1791:44 [INFO] [stdout] | [INFO] [stdout] 1791 | let (wasm, _code_hash) = compile_module::("transfer_return_code").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1790 | fn transfer_return_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1793:21 [INFO] [stdout] | [INFO] [stdout] 1793 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1794:12 [INFO] [stdout] | [INFO] [stdout] 1794 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1796:14 [INFO] [stdout] | [INFO] [stdout] 1796 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1812:4 [INFO] [stdout] | [INFO] [stdout] 1812 | ::Currency::set_balance(&addr, min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1813:16 [INFO] [stdout] | [INFO] [stdout] 1813 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1832:53 [INFO] [stdout] | [INFO] [stdout] 1832 | let (caller_code, _caller_hash) = compile_module::("call_return_code").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1831 | fn call_return_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1833:53 [INFO] [stdout] | [INFO] [stdout] 1833 | let (callee_code, _callee_hash) = compile_module::("ok_trap_revert").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1831 | fn call_return_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1835:21 [INFO] [stdout] | [INFO] [stdout] 1835 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1836:12 [INFO] [stdout] | [INFO] [stdout] 1836 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1837:12 [INFO] [stdout] | [INFO] [stdout] 1837 | let _ = ::Currency::set_balance(&CHARLIE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1839:18 [INFO] [stdout] | [INFO] [stdout] 1839 | let addr_bob = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1853:4 [INFO] [stdout] | [INFO] [stdout] 1853 | ::Currency::set_balance(&addr_bob, min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1856:16 [INFO] [stdout] | [INFO] [stdout] 1856 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1871:21 [INFO] [stdout] | [INFO] [stdout] 1871 | let addr_django = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1885:4 [INFO] [stdout] | [INFO] [stdout] 1885 | ::Currency::set_balance(&addr_django, min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1888:16 [INFO] [stdout] | [INFO] [stdout] 1888 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1908:4 [INFO] [stdout] | [INFO] [stdout] 1908 | ::Currency::set_balance(&addr_bob, min_balance + 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1909:16 [INFO] [stdout] | [INFO] [stdout] 1909 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1929:16 [INFO] [stdout] | [INFO] [stdout] 1929 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1952:53 [INFO] [stdout] | [INFO] [stdout] 1952 | let (caller_code, _caller_hash) = compile_module::("instantiate_return_code").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1951 | fn instantiate_return_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1953:52 [INFO] [stdout] | [INFO] [stdout] 1953 | let (callee_code, callee_hash) = compile_module::("ok_trap_revert").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1951 | fn instantiate_return_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1955:21 [INFO] [stdout] | [INFO] [stdout] 1955 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1956:12 [INFO] [stdout] | [INFO] [stdout] 1956 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1957:12 [INFO] [stdout] | [INFO] [stdout] 1957 | let _ = ::Currency::set_balance(&CHARLIE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1960:14 [INFO] [stdout] | [INFO] [stdout] 1960 | assert_ok!(Contracts::instantiate_with_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1970:14 [INFO] [stdout] | [INFO] [stdout] 1970 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1986:4 [INFO] [stdout] | [INFO] [stdout] 1986 | ::Currency::set_balance(&addr, min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:1987:16 [INFO] [stdout] | [INFO] [stdout] 1987 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2003:4 [INFO] [stdout] | [INFO] [stdout] 2003 | ::Currency::set_balance(&addr, min_balance + 10_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2004:16 [INFO] [stdout] | [INFO] [stdout] 2004 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2020:16 [INFO] [stdout] | [INFO] [stdout] 2020 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2036:16 [INFO] [stdout] | [INFO] [stdout] 2036 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2055:39 [INFO] [stdout] | [INFO] [stdout] 2055 | let (code, _hash) = compile_module::("chain_extension").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2054 | fn disabled_chain_extension_wont_deploy() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2057:21 [INFO] [stdout] | [INFO] [stdout] 2057 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2058:12 [INFO] [stdout] | [INFO] [stdout] 2058 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2061:4 [INFO] [stdout] | [INFO] [stdout] 2061 | Contracts::instantiate_with_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2070:11 [INFO] [stdout] | [INFO] [stdout] 2070 | >::CodeRejected, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2054 | fn disabled_chain_extension_wont_deploy() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2077:39 [INFO] [stdout] | [INFO] [stdout] 2077 | let (code, _hash) = compile_module::("chain_extension").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2076 | fn disabled_chain_extension_errors_on_call() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2079:21 [INFO] [stdout] | [INFO] [stdout] 2079 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2080:12 [INFO] [stdout] | [INFO] [stdout] 2080 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2081:14 [INFO] [stdout] | [INFO] [stdout] 2081 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2097:4 [INFO] [stdout] | [INFO] [stdout] 2097 | Contracts::call(RuntimeOrigin::signed(ALICE), addr.clone(), 0, GAS_LIMIT, None, vec![],), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2098:12 [INFO] [stdout] | [INFO] [stdout] 2098 | Error::::CodeRejected, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2076 | fn disabled_chain_extension_errors_on_call() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2105:39 [INFO] [stdout] | [INFO] [stdout] 2105 | let (code, _hash) = compile_module::("chain_extension").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2104 | fn chain_extension_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2107:21 [INFO] [stdout] | [INFO] [stdout] 2107 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2108:12 [INFO] [stdout] | [INFO] [stdout] 2108 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2109:14 [INFO] [stdout] | [INFO] [stdout] 2109 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2126:16 [INFO] [stdout] | [INFO] [stdout] 2126 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2141:3 [INFO] [stdout] | [INFO] [stdout] 2141 | Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2158:16 [INFO] [stdout] | [INFO] [stdout] 2158 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2171:16 [INFO] [stdout] | [INFO] [stdout] 2171 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2184:16 [INFO] [stdout] | [INFO] [stdout] 2184 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2199:16 [INFO] [stdout] | [INFO] [stdout] 2199 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2218:16 [INFO] [stdout] | [INFO] [stdout] 2218 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2237:4 [INFO] [stdout] | [INFO] [stdout] 2237 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2245:12 [INFO] [stdout] | [INFO] [stdout] 2245 | Error::::NoChainExtension, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2104 | fn chain_extension_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2252:39 [INFO] [stdout] | [INFO] [stdout] 2252 | let (code, _hash) = compile_module::("chain_extension_temp_storage").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2251 | fn chain_extension_temp_storage_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2254:21 [INFO] [stdout] | [INFO] [stdout] 2254 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2255:12 [INFO] [stdout] | [INFO] [stdout] 2255 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2256:14 [INFO] [stdout] | [INFO] [stdout] 2256 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2281:4 [INFO] [stdout] | [INFO] [stdout] 2281 | Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2299:39 [INFO] [stdout] | [INFO] [stdout] 2299 | let (code, _hash) = compile_module::("self_destruct").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2298 | fn lazy_removal_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2301:21 [INFO] [stdout] | [INFO] [stdout] 2301 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2302:12 [INFO] [stdout] | [INFO] [stdout] 2302 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2304:14 [INFO] [stdout] | [INFO] [stdout] 2304 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2326:14 [INFO] [stdout] | [INFO] [stdout] 2326 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2336:30 [INFO] [stdout] | [INFO] [stdout] 2336 | assert!(!>::contains_key(&addr)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2298 | fn lazy_removal_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2342:3 [INFO] [stdout] | [INFO] [stdout] 2342 | Contracts::on_idle(System::block_number(), Weight::MAX); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:2342:22 [INFO] [stdout] | [INFO] [stdout] 2342 | Contracts::on_idle(System::block_number(), Weight::MAX); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2351:39 [INFO] [stdout] | [INFO] [stdout] 2351 | let (code, _hash) = compile_module::("self_destruct").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2350 | fn lazy_batch_removal_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2353:21 [INFO] [stdout] | [INFO] [stdout] 2353 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2354:12 [INFO] [stdout] | [INFO] [stdout] 2354 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2358:15 [INFO] [stdout] | [INFO] [stdout] 2358 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2381:15 [INFO] [stdout] | [INFO] [stdout] 2381 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2390:31 [INFO] [stdout] | [INFO] [stdout] 2390 | assert!(!>::contains_key(&addr)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2350 | fn lazy_batch_removal_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2397:3 [INFO] [stdout] | [INFO] [stdout] 2397 | Contracts::on_idle(System::block_number(), Weight::MAX); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:2397:22 [INFO] [stdout] | [INFO] [stdout] 2397 | Contracts::on_idle(System::block_number(), Weight::MAX); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2408:39 [INFO] [stdout] | [INFO] [stdout] 2408 | let (code, _hash) = compile_module::("self_destruct").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2407 | fn lazy_removal_partial_remove_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2413:37 [INFO] [stdout] | [INFO] [stdout] 2413 | let (_, max_keys) = ContractInfo::::deletion_budget(weight_limit); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2407 | fn lazy_removal_partial_remove_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2421:21 [INFO] [stdout] | [INFO] [stdout] 2421 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2422:12 [INFO] [stdout] | [INFO] [stdout] 2422 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2424:14 [INFO] [stdout] | [INFO] [stdout] 2424 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2445:19 [INFO] [stdout] | [INFO] [stdout] 2445 | >::insert(&addr, info.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2407 | fn lazy_removal_partial_remove_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2448:14 [INFO] [stdout] | [INFO] [stdout] 2448 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2458:30 [INFO] [stdout] | [INFO] [stdout] 2458 | assert!(!>::contains_key(&addr)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2407 | fn lazy_removal_partial_remove_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2476:36 [INFO] [stdout] | [INFO] [stdout] 2476 | let weight_used = ContractInfo::::process_deletion_queue_batch(weight_limit); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2407 | fn lazy_removal_partial_remove_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2501:39 [INFO] [stdout] | [INFO] [stdout] 2501 | let (code, _hash) = compile_module::("self_destruct").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2500 | fn lazy_removal_does_no_run_on_low_remaining_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2503:21 [INFO] [stdout] | [INFO] [stdout] 2503 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2504:12 [INFO] [stdout] | [INFO] [stdout] 2504 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2506:14 [INFO] [stdout] | [INFO] [stdout] 2506 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2528:14 [INFO] [stdout] | [INFO] [stdout] 2528 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2538:30 [INFO] [stdout] | [INFO] [stdout] 2538 | assert!(!>::contains_key(&addr)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2500 | fn lazy_removal_does_no_run_on_low_remaining_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2545:6 [INFO] [stdout] | [INFO] [stdout] 2545 | <::WeightInfo as WeightInfo>::on_process_deletion_queue_batch(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2548:3 [INFO] [stdout] | [INFO] [stdout] 2548 | Contracts::on_idle(System::block_number(), low_remaining_weight); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:2548:22 [INFO] [stdout] | [INFO] [stdout] 2548 | Contracts::on_idle(System::block_number(), low_remaining_weight); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2554:3 [INFO] [stdout] | [INFO] [stdout] 2554 | Contracts::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:2554:28 [INFO] [stdout] | [INFO] [stdout] 2554 | Contracts::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2560:3 [INFO] [stdout] | [INFO] [stdout] 2560 | Contracts::on_idle(System::block_number(), Weight::MAX); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:2560:22 [INFO] [stdout] | [INFO] [stdout] 2560 | Contracts::on_idle(System::block_number(), Weight::MAX); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2569:39 [INFO] [stdout] | [INFO] [stdout] 2569 | let (code, _hash) = compile_module::("self_destruct").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2568 | fn lazy_removal_does_not_use_all_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2575:21 [INFO] [stdout] | [INFO] [stdout] 2575 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2576:12 [INFO] [stdout] | [INFO] [stdout] 2576 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2578:14 [INFO] [stdout] | [INFO] [stdout] 2578 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2594:51 [INFO] [stdout] | [INFO] [stdout] 2594 | let (weight_per_key, max_keys) = ContractInfo::::deletion_budget(weight_limit); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2568 | fn lazy_removal_does_not_use_all_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2605:19 [INFO] [stdout] | [INFO] [stdout] 2605 | >::insert(&addr, info.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2568 | fn lazy_removal_does_not_use_all_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2608:14 [INFO] [stdout] | [INFO] [stdout] 2608 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2618:30 [INFO] [stdout] | [INFO] [stdout] 2618 | assert!(!>::contains_key(&addr)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2568 | fn lazy_removal_does_not_use_all_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2636:36 [INFO] [stdout] | [INFO] [stdout] 2636 | let weight_used = ContractInfo::::process_deletion_queue_batch(weight_limit); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2568 | fn lazy_removal_does_not_use_all_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2650:39 [INFO] [stdout] | [INFO] [stdout] 2650 | let (code, _hash) = compile_module::("self_destruct").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2649 | fn deletion_queue_ring_buffer_overflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2656:25 [INFO] [stdout] | [INFO] [stdout] 2656 | >::set(queue); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2649 | fn deletion_queue_ring_buffer_overflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2663:21 [INFO] [stdout] | [INFO] [stdout] 2663 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2664:12 [INFO] [stdout] | [INFO] [stdout] 2664 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2669:15 [INFO] [stdout] | [INFO] [stdout] 2669 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2692:15 [INFO] [stdout] | [INFO] [stdout] 2692 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2701:31 [INFO] [stdout] | [INFO] [stdout] 2701 | assert!(!>::contains_key(&addr)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2649 | fn deletion_queue_ring_buffer_overflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2708:3 [INFO] [stdout] | [INFO] [stdout] 2708 | Contracts::on_idle(System::block_number(), Weight::MAX); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:2708:22 [INFO] [stdout] | [INFO] [stdout] 2708 | Contracts::on_idle(System::block_number(), Weight::MAX); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2716:36 [INFO] [stdout] | [INFO] [stdout] 2716 | assert_eq!(>::get().as_test_tuple(), (1, 1)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2649 | fn deletion_queue_ring_buffer_overflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2721:43 [INFO] [stdout] | [INFO] [stdout] 2721 | let (wasm, code_hash) = compile_module::("self_destruct").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2720 | fn refcounter() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2723:12 [INFO] [stdout] | [INFO] [stdout] 2723 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2724:21 [INFO] [stdout] | [INFO] [stdout] 2724 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2727:15 [INFO] [stdout] | [INFO] [stdout] 2727 | let addr0 = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2741:15 [INFO] [stdout] | [INFO] [stdout] 2741 | let addr1 = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 2755 | assert_refcount!(code_hash, 2); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2720 | fn refcounter() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2758:15 [INFO] [stdout] | [INFO] [stdout] 2758 | let addr2 = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 2772 | assert_refcount!(code_hash, 3); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2720 | fn refcounter() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2775:14 [INFO] [stdout] | [INFO] [stdout] 2775 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 2783 | assert_refcount!(code_hash, 2); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2720 | fn refcounter() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2786:14 [INFO] [stdout] | [INFO] [stdout] 2786 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 2794 | assert_refcount!(code_hash, 1); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2720 | fn refcounter() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2797:18 [INFO] [stdout] | [INFO] [stdout] 2797 | PristineCode::::get(code_hash).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2720 | fn refcounter() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2800:14 [INFO] [stdout] | [INFO] [stdout] 2800 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 2808 | assert_refcount!(code_hash, 0); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2720 | fn refcounter() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2811:33 [INFO] [stdout] | [INFO] [stdout] 2811 | assert!(crate::PristineCode::::contains_key(&code_hash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2720 | fn refcounter() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2817:44 [INFO] [stdout] | [INFO] [stdout] 2817 | let (wasm, _code_hash) = compile_module::("debug_message_works").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2816 | fn debug_message_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2820:12 [INFO] [stdout] | [INFO] [stdout] 2820 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2821:14 [INFO] [stdout] | [INFO] [stdout] 2821 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2835:16 [INFO] [stdout] | [INFO] [stdout] 2835 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2854:44 [INFO] [stdout] | [INFO] [stdout] 2854 | let (wasm, _code_hash) = compile_module::("debug_message_logging_disabled").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2853 | fn debug_message_logging_disabled() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2857:12 [INFO] [stdout] | [INFO] [stdout] 2857 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2858:14 [INFO] [stdout] | [INFO] [stdout] 2858 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2873:16 [INFO] [stdout] | [INFO] [stdout] 2873 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2886:14 [INFO] [stdout] | [INFO] [stdout] 2886 | assert_ok!(Contracts::call(RuntimeOrigin::signed(ALICE), addr, 0, GAS_LIMIT, None, vec![])); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2893:44 [INFO] [stdout] | [INFO] [stdout] 2893 | let (wasm, _code_hash) = compile_module::("debug_message_invalid_utf8").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2892 | fn debug_message_invalid_utf8() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2896:12 [INFO] [stdout] | [INFO] [stdout] 2896 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2897:14 [INFO] [stdout] | [INFO] [stdout] 2897 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2911:16 [INFO] [stdout] | [INFO] [stdout] 2911 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2929:53 [INFO] [stdout] | [INFO] [stdout] 2929 | let (caller_code, _caller_hash) = compile_module::("call_with_limit").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2928 | fn gas_estimation_nested_call_fixed_limit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2930:53 [INFO] [stdout] | [INFO] [stdout] 2930 | let (callee_code, _callee_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2928 | fn gas_estimation_nested_call_fixed_limit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2932:21 [INFO] [stdout] | [INFO] [stdout] 2932 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2933:12 [INFO] [stdout] | [INFO] [stdout] 2933 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2935:21 [INFO] [stdout] | [INFO] [stdout] 2935 | let addr_caller = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2950:21 [INFO] [stdout] | [INFO] [stdout] 2950 | let addr_callee = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2973:16 [INFO] [stdout] | [INFO] [stdout] 2973 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:2991:4 [INFO] [stdout] | [INFO] [stdout] 2991 | Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3006:16 [INFO] [stdout] | [INFO] [stdout] 3006 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3018:30 [INFO] [stdout] | [INFO] [stdout] 3018 | assert_err!(result, >::OutOfGas); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2928 | fn gas_estimation_nested_call_fixed_limit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3025:53 [INFO] [stdout] | [INFO] [stdout] 3025 | let (caller_code, _caller_hash) = compile_module::("call_runtime").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3023 | fn gas_estimation_call_runtime() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3026:53 [INFO] [stdout] | [INFO] [stdout] 3026 | let (callee_code, _callee_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3023 | fn gas_estimation_call_runtime() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3028:21 [INFO] [stdout] | [INFO] [stdout] 3028 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3029:12 [INFO] [stdout] | [INFO] [stdout] 3029 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3030:12 [INFO] [stdout] | [INFO] [stdout] 3030 | let _ = ::Currency::set_balance(&CHARLIE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3032:21 [INFO] [stdout] | [INFO] [stdout] 3032 | let addr_caller = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3047:3 [INFO] [stdout] | [INFO] [stdout] 3047 | Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3067:16 [INFO] [stdout] | [INFO] [stdout] 3067 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3085:4 [INFO] [stdout] | [INFO] [stdout] 3085 | Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3103:53 [INFO] [stdout] | [INFO] [stdout] 3103 | let (caller_code, _caller_hash) = compile_module::("call_runtime").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3102 | fn call_runtime_reentrancy_guarded() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3104:53 [INFO] [stdout] | [INFO] [stdout] 3104 | let (callee_code, _callee_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3102 | fn call_runtime_reentrancy_guarded() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3106:21 [INFO] [stdout] | [INFO] [stdout] 3106 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3107:12 [INFO] [stdout] | [INFO] [stdout] 3107 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3108:12 [INFO] [stdout] | [INFO] [stdout] 3108 | let _ = ::Currency::set_balance(&CHARLIE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3110:21 [INFO] [stdout] | [INFO] [stdout] 3110 | let addr_caller = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3125:21 [INFO] [stdout] | [INFO] [stdout] 3125 | let addr_callee = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3151:16 [INFO] [stdout] | [INFO] [stdout] 3151 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3171:44 [INFO] [stdout] | [INFO] [stdout] 3171 | let (wasm, _code_hash) = compile_module::("ecdsa_recover").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3170 | fn ecdsa_recover() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3174:12 [INFO] [stdout] | [INFO] [stdout] 3174 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3177:14 [INFO] [stdout] | [INFO] [stdout] 3177 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3215:24 [INFO] [stdout] | [INFO] [stdout] 3215 | let result = >::bare_call( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3170 | fn ecdsa_recover() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3235:44 [INFO] [stdout] | [INFO] [stdout] 3235 | let (wasm, _code_hash) = compile_module::("transfer_return_code").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3234 | fn bare_instantiate_returns_events() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3237:21 [INFO] [stdout] | [INFO] [stdout] 3237 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3238:12 [INFO] [stdout] | [INFO] [stdout] 3238 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3240:16 [INFO] [stdout] | [INFO] [stdout] 3240 | let result = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3254:22 [INFO] [stdout] | [INFO] [stdout] 3254 | assert_eq!(events, System::events()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3260:44 [INFO] [stdout] | [INFO] [stdout] 3260 | let (wasm, _code_hash) = compile_module::("transfer_return_code").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3259 | fn bare_instantiate_does_not_return_events() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3262:21 [INFO] [stdout] | [INFO] [stdout] 3262 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3263:12 [INFO] [stdout] | [INFO] [stdout] 3263 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3265:16 [INFO] [stdout] | [INFO] [stdout] 3265 | let result = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3278:12 [INFO] [stdout] | [INFO] [stdout] 3278 | assert!(!System::events().is_empty()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3285:44 [INFO] [stdout] | [INFO] [stdout] 3285 | let (wasm, _code_hash) = compile_module::("transfer_return_code").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3284 | fn bare_call_returns_events() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3287:21 [INFO] [stdout] | [INFO] [stdout] 3287 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3288:12 [INFO] [stdout] | [INFO] [stdout] 3288 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3290:14 [INFO] [stdout] | [INFO] [stdout] 3290 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3305:16 [INFO] [stdout] | [INFO] [stdout] 3305 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3320:22 [INFO] [stdout] | [INFO] [stdout] 3320 | assert_eq!(events, System::events()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3326:44 [INFO] [stdout] | [INFO] [stdout] 3326 | let (wasm, _code_hash) = compile_module::("transfer_return_code").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3325 | fn bare_call_does_not_return_events() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3328:21 [INFO] [stdout] | [INFO] [stdout] 3328 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3329:12 [INFO] [stdout] | [INFO] [stdout] 3329 | let _ = ::Currency::set_balance(&ALICE, 1000 * min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3331:14 [INFO] [stdout] | [INFO] [stdout] 3331 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3346:16 [INFO] [stdout] | [INFO] [stdout] 3346 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3360:12 [INFO] [stdout] | [INFO] [stdout] 3360 | assert!(!System::events().is_empty()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3367:44 [INFO] [stdout] | [INFO] [stdout] 3367 | let (wasm, _code_hash) = compile_module::("sr25519_verify").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3366 | fn sr25519_verify() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3370:12 [INFO] [stdout] | [INFO] [stdout] 3370 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3373:14 [INFO] [stdout] | [INFO] [stdout] 3373 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3410:12 [INFO] [stdout] | [INFO] [stdout] 3410 | >::bare_call( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3366 | fn sr25519_verify() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3435:42 [INFO] [stdout] | [INFO] [stdout] 3435 | let (wasm_caller, _) = compile_module::("call_runtime_and_call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3434 | fn failed_deposit_charge_should_roll_back_call() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3436:42 [INFO] [stdout] | [INFO] [stdout] 3436 | let (wasm_callee, _) = compile_module::("store_call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3434 | fn failed_deposit_charge_should_roll_back_call() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3441:13 [INFO] [stdout] | [INFO] [stdout] 3441 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3444:22 [INFO] [stdout] | [INFO] [stdout] 3444 | let addr_caller = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3458:22 [INFO] [stdout] | [INFO] [stdout] 3458 | let addr_callee = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:3478:36 [INFO] [stdout] | [INFO] [stdout] 3478 | Box::new(RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Call; [INFO] [stdout] | [INFO] [stdout] 21 + use crate::tests::pallet_dummy::Call; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3478 - Box::new(RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { [INFO] [stdout] 3478 + Box::new(RuntimeCall::Balances(Call::transfer_allow_death { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:3480:13 [INFO] [stdout] | [INFO] [stdout] 3480 | value: pallet_balances::Pallet::::free_balance(&ALICE) - 2 * ED, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Pallet; [INFO] [stdout] | [INFO] [stdout] 21 + use crate::tests::pallet_dummy::Pallet; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Pallet; [INFO] [stdout] | [INFO] [stdout] help: if you import `Pallet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3480 - value: pallet_balances::Pallet::::free_balance(&ALICE) - 2 * ED, [INFO] [stdout] 3480 + value: Pallet::::free_balance(&ALICE) - 2 * ED, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3480:39 [INFO] [stdout] | [INFO] [stdout] 3480 | value: pallet_balances::Pallet::::free_balance(&ALICE) - 2 * ED, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3434 | fn failed_deposit_charge_should_roll_back_call() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_proxy` [INFO] [stdout] --> src/tests.rs:3484:49 [INFO] [stdout] | [INFO] [stdout] 3484 | let transfer_proxy_call = RuntimeCall::Proxy(pallet_proxy::Call::proxy { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `pallet_proxy` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Call; [INFO] [stdout] | [INFO] [stdout] 21 + use crate::tests::pallet_dummy::Call; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3484 - let transfer_proxy_call = RuntimeCall::Proxy(pallet_proxy::Call::proxy { [INFO] [stdout] 3484 + let transfer_proxy_call = RuntimeCall::Proxy(Call::proxy { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3496:12 [INFO] [stdout] | [INFO] [stdout] 3496 | >::call( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3434 | fn failed_deposit_charge_should_roll_back_call() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3517:43 [INFO] [stdout] | [INFO] [stdout] 3517 | let (wasm, code_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3516 | fn upload_code_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3520:12 [INFO] [stdout] | [INFO] [stdout] 3520 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3525:27 [INFO] [stdout] | [INFO] [stdout] 3525 | assert!(!PristineCode::::contains_key(&code_hash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3516 | fn upload_code_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3527:14 [INFO] [stdout] | [INFO] [stdout] 3527 | assert_ok!(Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3537:4 [INFO] [stdout] | [INFO] [stdout] 3537 | System::events(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3553:44 [INFO] [stdout] | [INFO] [stdout] 3553 | let (wasm, _code_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3552 | fn upload_code_limit_too_low() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3558:12 [INFO] [stdout] | [INFO] [stdout] 3558 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3564:4 [INFO] [stdout] | [INFO] [stdout] 3564 | Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3570:11 [INFO] [stdout] | [INFO] [stdout] 3570 | >::StorageDepositLimitExhausted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3552 | fn upload_code_limit_too_low() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3573:14 [INFO] [stdout] | [INFO] [stdout] 3573 | assert_eq!(System::events(), vec![]); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3579:44 [INFO] [stdout] | [INFO] [stdout] 3579 | let (wasm, _code_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3578 | fn upload_code_not_enough_balance() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3584:12 [INFO] [stdout] | [INFO] [stdout] 3584 | let _ = ::Currency::set_balance(&ALICE, deposit_insufficient); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3590:4 [INFO] [stdout] | [INFO] [stdout] 3590 | Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3596:11 [INFO] [stdout] | [INFO] [stdout] 3596 | >::StorageDepositNotEnoughFunds, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3578 | fn upload_code_not_enough_balance() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3599:14 [INFO] [stdout] | [INFO] [stdout] 3599 | assert_eq!(System::events(), vec![]); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3605:43 [INFO] [stdout] | [INFO] [stdout] 3605 | let (wasm, code_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3604 | fn remove_code_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3608:12 [INFO] [stdout] | [INFO] [stdout] 3608 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3613:14 [INFO] [stdout] | [INFO] [stdout] 3613 | assert_ok!(Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3622:14 [INFO] [stdout] | [INFO] [stdout] 3622 | assert_ok!(Contracts::remove_code(RuntimeOrigin::signed(ALICE), code_hash)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3624:4 [INFO] [stdout] | [INFO] [stdout] 3624 | System::events(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3651:43 [INFO] [stdout] | [INFO] [stdout] 3651 | let (wasm, code_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3650 | fn remove_code_wrong_origin() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3654:12 [INFO] [stdout] | [INFO] [stdout] 3654 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3659:14 [INFO] [stdout] | [INFO] [stdout] 3659 | assert_ok!(Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3669:4 [INFO] [stdout] | [INFO] [stdout] 3669 | Contracts::remove_code(RuntimeOrigin::signed(BOB), code_hash), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3674:4 [INFO] [stdout] | [INFO] [stdout] 3674 | System::events(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3690:43 [INFO] [stdout] | [INFO] [stdout] 3690 | let (wasm, code_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3689 | fn remove_code_in_use() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3693:12 [INFO] [stdout] | [INFO] [stdout] 3693 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3695:14 [INFO] [stdout] | [INFO] [stdout] 3695 | assert_ok!(Contracts::instantiate_with_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3709:4 [INFO] [stdout] | [INFO] [stdout] 3709 | Contracts::remove_code(RuntimeOrigin::signed(ALICE), code_hash), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3710:11 [INFO] [stdout] | [INFO] [stdout] 3710 | >::CodeInUse, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3689 | fn remove_code_in_use() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3713:14 [INFO] [stdout] | [INFO] [stdout] 3713 | assert_eq!(System::events(), vec![]); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3719:44 [INFO] [stdout] | [INFO] [stdout] 3719 | let (_wasm, code_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3718 | fn remove_code_not_found() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3722:12 [INFO] [stdout] | [INFO] [stdout] 3722 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3728:4 [INFO] [stdout] | [INFO] [stdout] 3728 | Contracts::remove_code(RuntimeOrigin::signed(ALICE), code_hash), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3729:11 [INFO] [stdout] | [INFO] [stdout] 3729 | >::CodeNotFound, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3718 | fn remove_code_not_found() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3732:14 [INFO] [stdout] | [INFO] [stdout] 3732 | assert_eq!(System::events(), vec![]); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3738:43 [INFO] [stdout] | [INFO] [stdout] 3738 | let (wasm, code_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3737 | fn instantiate_with_zero_balance_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3740:12 [INFO] [stdout] | [INFO] [stdout] 3740 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3741:21 [INFO] [stdout] | [INFO] [stdout] 3741 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3747:14 [INFO] [stdout] | [INFO] [stdout] 3747 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3766:15 [INFO] [stdout] | [INFO] [stdout] 3766 | assert_eq!(::Currency::free_balance(&addr), min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3768:5 [INFO] [stdout] | [INFO] [stdout] 3768 | ::Currency::total_balance(&addr), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3773:4 [INFO] [stdout] | [INFO] [stdout] 3773 | System::events(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:3793:36 [INFO] [stdout] | [INFO] [stdout] 3793 | event: RuntimeEvent::Balances(pallet_balances::Event::Endowed { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3793 - event: RuntimeEvent::Balances(pallet_balances::Event::Endowed { [INFO] [stdout] 3793 + event: RuntimeEvent::Balances(Event::Endowed { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:3801:36 [INFO] [stdout] | [INFO] [stdout] 3801 | event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3801 - event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] 3801 + event: RuntimeEvent::Balances(Event::Transfer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3834:43 [INFO] [stdout] | [INFO] [stdout] 3834 | let (wasm, code_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3833 | fn instantiate_with_below_existential_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3836:12 [INFO] [stdout] | [INFO] [stdout] 3836 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3837:21 [INFO] [stdout] | [INFO] [stdout] 3837 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3844:14 [INFO] [stdout] | [INFO] [stdout] 3844 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3862:15 [INFO] [stdout] | [INFO] [stdout] 3862 | assert_eq!(::Currency::free_balance(&addr), min_balance + value); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3864:5 [INFO] [stdout] | [INFO] [stdout] 3864 | ::Currency::total_balance(&addr), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3869:4 [INFO] [stdout] | [INFO] [stdout] 3869 | System::events(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:3889:36 [INFO] [stdout] | [INFO] [stdout] 3889 | event: RuntimeEvent::Balances(pallet_balances::Event::Endowed { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3889 - event: RuntimeEvent::Balances(pallet_balances::Event::Endowed { [INFO] [stdout] 3889 + event: RuntimeEvent::Balances(Event::Endowed { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:3897:36 [INFO] [stdout] | [INFO] [stdout] 3897 | event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3897 - event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] 3897 + event: RuntimeEvent::Balances(Event::Transfer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:3906:36 [INFO] [stdout] | [INFO] [stdout] 3906 | event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3906 - event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] 3906 + event: RuntimeEvent::Balances(Event::Transfer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3939:44 [INFO] [stdout] | [INFO] [stdout] 3939 | let (wasm, _code_hash) = compile_module::("multi_store").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3938 | fn storage_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3941:12 [INFO] [stdout] | [INFO] [stdout] 3941 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3943:14 [INFO] [stdout] | [INFO] [stdout] 3943 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3964:14 [INFO] [stdout] | [INFO] [stdout] 3964 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3978:14 [INFO] [stdout] | [INFO] [stdout] 3978 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:3991:14 [INFO] [stdout] | [INFO] [stdout] 3991 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4005:4 [INFO] [stdout] | [INFO] [stdout] 4005 | System::events(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:4009:36 [INFO] [stdout] | [INFO] [stdout] 4009 | event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 21 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4009 - event: RuntimeEvent::Balances(pallet_balances::Event::Transfer { [INFO] [stdout] 4009 + event: RuntimeEvent::Balances(Event::Transfer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4022:34 [INFO] [stdout] | [INFO] [stdout] 4022 | topics: vec![hash(&Origin::::from_account_id(ALICE)), hash(&addr)], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3938 | fn storage_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4041:34 [INFO] [stdout] | [INFO] [stdout] 4041 | topics: vec![hash(&Origin::::from_account_id(ALICE)), hash(&addr)], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3938 | fn storage_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4060:34 [INFO] [stdout] | [INFO] [stdout] 4060 | topics: vec![hash(&Origin::::from_account_id(ALICE)), hash(&addr)], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3938 | fn storage_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4080:58 [INFO] [stdout] | [INFO] [stdout] 4080 | let (wasm_caller, _code_hash_caller) = compile_module::("call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4079 | fn storage_deposit_callee_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4081:58 [INFO] [stdout] | [INFO] [stdout] 4081 | let (wasm_callee, _code_hash_callee) = compile_module::("store_call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4079 | fn storage_deposit_callee_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4083:12 [INFO] [stdout] | [INFO] [stdout] 4083 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4084:21 [INFO] [stdout] | [INFO] [stdout] 4084 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4087:21 [INFO] [stdout] | [INFO] [stdout] 4087 | let addr_caller = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4101:21 [INFO] [stdout] | [INFO] [stdout] 4101 | let addr_callee = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4116:14 [INFO] [stdout] | [INFO] [stdout] 4116 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4138:43 [INFO] [stdout] | [INFO] [stdout] 4138 | let (wasm, code_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn set_code_extrinsic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4139:51 [INFO] [stdout] | [INFO] [stdout] 4139 | let (new_wasm, new_code_hash) = compile_module::("crypto_hashes").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn set_code_extrinsic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4144:12 [INFO] [stdout] | [INFO] [stdout] 4144 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4146:14 [INFO] [stdout] | [INFO] [stdout] 4146 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4161:14 [INFO] [stdout] | [INFO] [stdout] 4161 | assert_ok!(Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 4172 | assert_refcount!(&code_hash, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn set_code_extrinsic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 4173 | assert_refcount!(&new_code_hash, 0); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn set_code_extrinsic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4177:4 [INFO] [stdout] | [INFO] [stdout] 4177 | Contracts::set_code(RuntimeOrigin::signed(ALICE), addr.clone(), new_code_hash), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 4181 | assert_refcount!(&code_hash, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn set_code_extrinsic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 4182 | assert_refcount!(&new_code_hash, 0); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn set_code_extrinsic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4183:14 [INFO] [stdout] | [INFO] [stdout] 4183 | assert_eq!(System::events(), vec![],); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4187:4 [INFO] [stdout] | [INFO] [stdout] 4187 | Contracts::set_code(RuntimeOrigin::root(), BOB, new_code_hash), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4188:11 [INFO] [stdout] | [INFO] [stdout] 4188 | >::ContractNotFound, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn set_code_extrinsic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 4191 | assert_refcount!(&code_hash, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn set_code_extrinsic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 4192 | assert_refcount!(&new_code_hash, 0); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn set_code_extrinsic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4193:14 [INFO] [stdout] | [INFO] [stdout] 4193 | assert_eq!(System::events(), vec![],); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4197:4 [INFO] [stdout] | [INFO] [stdout] 4197 | Contracts::set_code(RuntimeOrigin::root(), addr.clone(), Default::default()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4198:11 [INFO] [stdout] | [INFO] [stdout] 4198 | >::CodeNotFound, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn set_code_extrinsic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 4201 | assert_refcount!(&code_hash, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn set_code_extrinsic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 4202 | assert_refcount!(&new_code_hash, 0); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn set_code_extrinsic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4203:14 [INFO] [stdout] | [INFO] [stdout] 4203 | assert_eq!(System::events(), vec![],); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4206:14 [INFO] [stdout] | [INFO] [stdout] 4206 | assert_ok!(Contracts::set_code(RuntimeOrigin::root(), addr.clone(), new_code_hash)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 4208 | assert_refcount!(&code_hash, 0); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn set_code_extrinsic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | let is = crate::CodeInfoOf::::get($code_hash).map(|m| m.refcount()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 4209 | assert_refcount!(&new_code_hash, 1); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_refcount` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn set_code_extrinsic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4211:4 [INFO] [stdout] | [INFO] [stdout] 4211 | System::events(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4227:44 [INFO] [stdout] | [INFO] [stdout] 4227 | let (wasm, _code_hash) = compile_module::("dummy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4226 | fn slash_cannot_kill_account() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4230:12 [INFO] [stdout] | [INFO] [stdout] 4230 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4231:21 [INFO] [stdout] | [INFO] [stdout] 4231 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4233:14 [INFO] [stdout] | [INFO] [stdout] 4233 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4259:5 [INFO] [stdout] | [INFO] [stdout] 4259 | ::Currency::total_balance(&addr), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4266:12 [INFO] [stdout] | [INFO] [stdout] 4266 | let _ = ::Currency::slash( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4269:5 [INFO] [stdout] | [INFO] [stdout] 4269 | ::Currency::total_balance(&addr), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4273:15 [INFO] [stdout] | [INFO] [stdout] 4273 | assert_eq!(::Currency::total_balance(&addr), value + min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4279:43 [INFO] [stdout] | [INFO] [stdout] 4279 | let (wasm, code_hash) = compile_module::("return_with_data").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4278 | fn contract_reverted() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4282:12 [INFO] [stdout] | [INFO] [stdout] 4282 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4288:14 [INFO] [stdout] | [INFO] [stdout] 4288 | assert_ok!(Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4297:4 [INFO] [stdout] | [INFO] [stdout] 4297 | Contracts::instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4306:11 [INFO] [stdout] | [INFO] [stdout] 4306 | >::ContractReverted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4278 | fn contract_reverted() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4311:4 [INFO] [stdout] | [INFO] [stdout] 4311 | Contracts::instantiate_with_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4320:11 [INFO] [stdout] | [INFO] [stdout] 4320 | >::ContractReverted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4278 | fn contract_reverted() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4327:16 [INFO] [stdout] | [INFO] [stdout] 4327 | let result = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4342:28 [INFO] [stdout] | [INFO] [stdout] 4342 | assert!(!>::contains_key(result.account_id)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4278 | fn contract_reverted() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4345:14 [INFO] [stdout] | [INFO] [stdout] 4345 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4362:4 [INFO] [stdout] | [INFO] [stdout] 4362 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4370:11 [INFO] [stdout] | [INFO] [stdout] 4370 | >::ContractReverted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4278 | fn contract_reverted() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4374:16 [INFO] [stdout] | [INFO] [stdout] 4374 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4395:12 [INFO] [stdout] | [INFO] [stdout] 4395 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4397:36 [INFO] [stdout] | [INFO] [stdout] 4397 | let (wasm, _) = compile_module::("invalid_module").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4393 | fn code_rejected_error_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4399:4 [INFO] [stdout] | [INFO] [stdout] 4399 | Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4405:11 [INFO] [stdout] | [INFO] [stdout] 4405 | >::CodeRejected, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4393 | fn code_rejected_error_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4407:16 [INFO] [stdout] | [INFO] [stdout] 4407 | let result = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4418:37 [INFO] [stdout] | [INFO] [stdout] 4418 | assert_err!(result.result, >::CodeRejected); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4393 | fn code_rejected_error_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4424:36 [INFO] [stdout] | [INFO] [stdout] 4424 | let (wasm, _) = compile_module::("invalid_contract_no_call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4393 | fn code_rejected_error_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4426:4 [INFO] [stdout] | [INFO] [stdout] 4426 | Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4432:11 [INFO] [stdout] | [INFO] [stdout] 4432 | >::CodeRejected, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4393 | fn code_rejected_error_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4435:16 [INFO] [stdout] | [INFO] [stdout] 4435 | let result = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4446:37 [INFO] [stdout] | [INFO] [stdout] 4446 | assert_err!(result.result, >::CodeRejected); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4393 | fn code_rejected_error_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4452:36 [INFO] [stdout] | [INFO] [stdout] 4452 | let (wasm, _) = compile_module::("invalid_contract_no_memory").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4393 | fn code_rejected_error_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4454:4 [INFO] [stdout] | [INFO] [stdout] 4454 | Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4460:11 [INFO] [stdout] | [INFO] [stdout] 4460 | >::CodeRejected, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4393 | fn code_rejected_error_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4463:16 [INFO] [stdout] | [INFO] [stdout] 4463 | let result = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4474:37 [INFO] [stdout] | [INFO] [stdout] 4474 | assert_err!(result.result, >::CodeRejected); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4393 | fn code_rejected_error_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4484:43 [INFO] [stdout] | [INFO] [stdout] 4484 | let (wasm, code_hash) = compile_module::("set_code_hash").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4483 | fn set_code_hash() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4485:51 [INFO] [stdout] | [INFO] [stdout] 4485 | let (new_wasm, new_code_hash) = compile_module::("new_set_code_hash_contract").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4483 | fn set_code_hash() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4488:12 [INFO] [stdout] | [INFO] [stdout] 4488 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4491:23 [INFO] [stdout] | [INFO] [stdout] 4491 | let contract_addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4506:14 [INFO] [stdout] | [INFO] [stdout] 4506 | assert_ok!(Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4513:3 [INFO] [stdout] | [INFO] [stdout] 4513 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4516:16 [INFO] [stdout] | [INFO] [stdout] 4516 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4532:16 [INFO] [stdout] | [INFO] [stdout] 4532 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4549:5 [INFO] [stdout] | [INFO] [stdout] 4549 | &System::events(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 + use crate::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4567:22 [INFO] [stdout] | [INFO] [stdout] 4567 | hash(&Origin::::from_account_id(ALICE)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4483 | fn set_code_hash() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4578:22 [INFO] [stdout] | [INFO] [stdout] 4578 | hash(&Origin::::from_account_id(ALICE)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4483 | fn set_code_hash() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4589:44 [INFO] [stdout] | [INFO] [stdout] 4589 | let (wasm, _code_hash) = compile_module::("store_call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4588 | fn storage_deposit_limit_is_enforced() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4591:12 [INFO] [stdout] | [INFO] [stdout] 4591 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4592:21 [INFO] [stdout] | [INFO] [stdout] 4592 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4596:4 [INFO] [stdout] | [INFO] [stdout] 4596 | Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4609:11 [INFO] [stdout] | [INFO] [stdout] 4609 | >::StorageDepositLimitExhausted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4588 | fn storage_deposit_limit_is_enforced() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4613:14 [INFO] [stdout] | [INFO] [stdout] 4613 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4631:15 [INFO] [stdout] | [INFO] [stdout] 4631 | assert_eq!(::Currency::total_balance(&addr), info_deposit + min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4637:4 [INFO] [stdout] | [INFO] [stdout] 4637 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4645:11 [INFO] [stdout] | [INFO] [stdout] 4645 | >::StorageDepositLimitExhausted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4588 | fn storage_deposit_limit_is_enforced() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4655:14 [INFO] [stdout] | [INFO] [stdout] 4655 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4667:4 [INFO] [stdout] | [INFO] [stdout] 4667 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4675:11 [INFO] [stdout] | [INFO] [stdout] 4675 | >::StorageDepositLimitExhausted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4588 | fn storage_deposit_limit_is_enforced() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4683:20 [INFO] [stdout] | [INFO] [stdout] 4683 | compile_module::("create_storage_and_call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4681 | fn deposit_limit_in_nested_calls() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4684:58 [INFO] [stdout] | [INFO] [stdout] 4684 | let (wasm_callee, _code_hash_callee) = compile_module::("store_call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4681 | fn deposit_limit_in_nested_calls() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4686:12 [INFO] [stdout] | [INFO] [stdout] 4686 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4689:21 [INFO] [stdout] | [INFO] [stdout] 4689 | let addr_caller = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4703:21 [INFO] [stdout] | [INFO] [stdout] 4703 | let addr_callee = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4720:14 [INFO] [stdout] | [INFO] [stdout] 4720 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4735:4 [INFO] [stdout] | [INFO] [stdout] 4735 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4743:11 [INFO] [stdout] | [INFO] [stdout] 4743 | >::StorageDepositLimitExhausted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4681 | fn deposit_limit_in_nested_calls() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4752:4 [INFO] [stdout] | [INFO] [stdout] 4752 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4760:11 [INFO] [stdout] | [INFO] [stdout] 4760 | >::StorageDepositLimitExhausted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4681 | fn deposit_limit_in_nested_calls() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4769:4 [INFO] [stdout] | [INFO] [stdout] 4769 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4777:11 [INFO] [stdout] | [INFO] [stdout] 4777 | >::StorageDepositLimitExhausted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4681 | fn deposit_limit_in_nested_calls() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4784:4 [INFO] [stdout] | [INFO] [stdout] 4784 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4792:11 [INFO] [stdout] | [INFO] [stdout] 4792 | >::StorageDepositLimitExhausted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4681 | fn deposit_limit_in_nested_calls() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4795:12 [INFO] [stdout] | [INFO] [stdout] 4795 | let _ = ::Currency::set_balance(&ALICE, 1_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4800:4 [INFO] [stdout] | [INFO] [stdout] 4800 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4808:11 [INFO] [stdout] | [INFO] [stdout] 4808 | >::StorageDepositLimitExhausted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4681 | fn deposit_limit_in_nested_calls() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4814:14 [INFO] [stdout] | [INFO] [stdout] 4814 | assert_ok!(Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4828:20 [INFO] [stdout] | [INFO] [stdout] 4828 | compile_module::("create_storage_and_instantiate").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4826 | fn deposit_limit_in_nested_instantiate() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4829:57 [INFO] [stdout] | [INFO] [stdout] 4829 | let (wasm_callee, code_hash_callee) = compile_module::("store_deploy").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4826 | fn deposit_limit_in_nested_instantiate() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4832:12 [INFO] [stdout] | [INFO] [stdout] 4832 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4833:12 [INFO] [stdout] | [INFO] [stdout] 4833 | let _ = ::Currency::set_balance(&BOB, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4835:21 [INFO] [stdout] | [INFO] [stdout] 4835 | let addr_caller = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4850:14 [INFO] [stdout] | [INFO] [stdout] 4850 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4865:42 [INFO] [stdout] | [INFO] [stdout] 4865 | let callee_info_len = ContractInfoOf::::get(&addr).unwrap().encoded_size() as u64; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4826 | fn deposit_limit_in_nested_instantiate() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4879:4 [INFO] [stdout] | [INFO] [stdout] 4879 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4887:11 [INFO] [stdout] | [INFO] [stdout] 4887 | >::StorageDepositLimitExhausted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4826 | fn deposit_limit_in_nested_instantiate() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4890:15 [INFO] [stdout] | [INFO] [stdout] 4890 | assert_eq!(::Currency::free_balance(&BOB), 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4896:4 [INFO] [stdout] | [INFO] [stdout] 4896 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4904:11 [INFO] [stdout] | [INFO] [stdout] 4904 | >::StorageDepositLimitExhausted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4826 | fn deposit_limit_in_nested_instantiate() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4907:15 [INFO] [stdout] | [INFO] [stdout] 4907 | assert_eq!(::Currency::free_balance(&BOB), 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4913:4 [INFO] [stdout] | [INFO] [stdout] 4913 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4921:11 [INFO] [stdout] | [INFO] [stdout] 4921 | >::StorageDepositLimitExhausted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4826 | fn deposit_limit_in_nested_instantiate() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4924:15 [INFO] [stdout] | [INFO] [stdout] 4924 | assert_eq!(::Currency::free_balance(&BOB), 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4931:4 [INFO] [stdout] | [INFO] [stdout] 4931 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4939:11 [INFO] [stdout] | [INFO] [stdout] 4939 | >::StorageDepositLimitExhausted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4826 | fn deposit_limit_in_nested_instantiate() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4942:15 [INFO] [stdout] | [INFO] [stdout] 4942 | assert_eq!(::Currency::free_balance(&BOB), 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4945:16 [INFO] [stdout] | [INFO] [stdout] 4945 | let result = Contracts::bare_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4960:15 [INFO] [stdout] | [INFO] [stdout] 4960 | assert_eq!(::Currency::free_balance(&addr_caller), ED); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4965:15 [INFO] [stdout] | [INFO] [stdout] 4965 | assert_eq!(::Currency::free_balance(&addr_callee), 10_000 + ED); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4971:5 [INFO] [stdout] | [INFO] [stdout] 4971 | ::Currency::free_balance(&BOB), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4981:44 [INFO] [stdout] | [INFO] [stdout] 4981 | let (wasm, _code_hash) = compile_module::("store_call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4980 | fn deposit_limit_honors_liquidity_restrictions() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4984:12 [INFO] [stdout] | [INFO] [stdout] 4984 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4985:12 [INFO] [stdout] | [INFO] [stdout] 4985 | let _ = ::Currency::set_balance(&BOB, bobs_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4986:21 [INFO] [stdout] | [INFO] [stdout] 4986 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:4989:14 [INFO] [stdout] | [INFO] [stdout] 4989 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5007:15 [INFO] [stdout] | [INFO] [stdout] 5007 | assert_eq!(::Currency::total_balance(&addr), info_deposit + min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5010:4 [INFO] [stdout] | [INFO] [stdout] 5010 | ::Currency::hold( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5017:4 [INFO] [stdout] | [INFO] [stdout] 5017 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5025:11 [INFO] [stdout] | [INFO] [stdout] 5025 | >::StorageDepositNotEnoughFunds, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4980 | fn deposit_limit_honors_liquidity_restrictions() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5027:15 [INFO] [stdout] | [INFO] [stdout] 5027 | assert_eq!(::Currency::free_balance(&BOB), min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5033:44 [INFO] [stdout] | [INFO] [stdout] 5033 | let (wasm, _code_hash) = compile_module::("store_call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5032 | fn deposit_limit_honors_existential_deposit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5035:12 [INFO] [stdout] | [INFO] [stdout] 5035 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5036:12 [INFO] [stdout] | [INFO] [stdout] 5036 | let _ = ::Currency::set_balance(&BOB, 1_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5037:21 [INFO] [stdout] | [INFO] [stdout] 5037 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5040:14 [INFO] [stdout] | [INFO] [stdout] 5040 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5059:15 [INFO] [stdout] | [INFO] [stdout] 5059 | assert_eq!(::Currency::total_balance(&addr), min_balance + info_deposit); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5063:4 [INFO] [stdout] | [INFO] [stdout] 5063 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5071:11 [INFO] [stdout] | [INFO] [stdout] 5071 | >::StorageDepositNotEnoughFunds, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5032 | fn deposit_limit_honors_existential_deposit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5073:15 [INFO] [stdout] | [INFO] [stdout] 5073 | assert_eq!(::Currency::free_balance(&BOB), 1_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5079:44 [INFO] [stdout] | [INFO] [stdout] 5079 | let (wasm, _code_hash) = compile_module::("store_call").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5078 | fn deposit_limit_honors_min_leftover() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5081:12 [INFO] [stdout] | [INFO] [stdout] 5081 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5082:12 [INFO] [stdout] | [INFO] [stdout] 5082 | let _ = ::Currency::set_balance(&BOB, 1_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5083:21 [INFO] [stdout] | [INFO] [stdout] 5083 | let min_balance = Contracts::min_balance(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5086:14 [INFO] [stdout] | [INFO] [stdout] 5086 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5106:15 [INFO] [stdout] | [INFO] [stdout] 5106 | assert_eq!(::Currency::total_balance(&addr), info_deposit + min_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5110:4 [INFO] [stdout] | [INFO] [stdout] 5110 | Contracts::call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5118:11 [INFO] [stdout] | [INFO] [stdout] 5118 | >::StorageDepositNotEnoughFunds, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5078 | fn deposit_limit_honors_min_leftover() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5120:15 [INFO] [stdout] | [INFO] [stdout] 5120 | assert_eq!(::Currency::free_balance(&BOB), 1_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5126:43 [INFO] [stdout] | [INFO] [stdout] 5126 | let (wasm, code_hash) = compile_module::("float_instruction").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5125 | fn cannot_instantiate_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5127:42 [INFO] [stdout] | [INFO] [stdout] 5127 | let (caller_wasm, _) = compile_module::("instantiate_return_code").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5125 | fn cannot_instantiate_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5129:12 [INFO] [stdout] | [INFO] [stdout] 5129 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5133:4 [INFO] [stdout] | [INFO] [stdout] 5133 | Contracts::instantiate_with_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5142:11 [INFO] [stdout] | [INFO] [stdout] 5142 | >::CodeRejected, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5125 | fn cannot_instantiate_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5145:4 [INFO] [stdout] | [INFO] [stdout] 5145 | Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5157:11 [INFO] [stdout] | [INFO] [stdout] 5157 | >::CodeRejected, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5125 | fn cannot_instantiate_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5162:4 [INFO] [stdout] | [INFO] [stdout] 5162 | Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5168:11 [INFO] [stdout] | [INFO] [stdout] 5168 | >::CodeRejected, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5125 | fn cannot_instantiate_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5172:14 [INFO] [stdout] | [INFO] [stdout] 5172 | assert_ok!(Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5180:4 [INFO] [stdout] | [INFO] [stdout] 5180 | Contracts::instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5189:11 [INFO] [stdout] | [INFO] [stdout] 5189 | >::Indeterministic, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5125 | fn cannot_instantiate_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5192:4 [INFO] [stdout] | [INFO] [stdout] 5192 | Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5204:11 [INFO] [stdout] | [INFO] [stdout] 5204 | >::Indeterministic, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5125 | fn cannot_instantiate_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5208:14 [INFO] [stdout] | [INFO] [stdout] 5208 | let addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5225:12 [INFO] [stdout] | [INFO] [stdout] 5225 | >::bare_call( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5125 | fn cannot_instantiate_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5237:11 [INFO] [stdout] | [INFO] [stdout] 5237 | >::Indeterministic, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5125 | fn cannot_instantiate_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5242:12 [INFO] [stdout] | [INFO] [stdout] 5242 | >::bare_call( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5125 | fn cannot_instantiate_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5254:11 [INFO] [stdout] | [INFO] [stdout] 5254 | >::Indeterministic, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5125 | fn cannot_instantiate_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5261:43 [INFO] [stdout] | [INFO] [stdout] 5261 | let (wasm, code_hash) = compile_module::("float_instruction").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5260 | fn cannot_set_code_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5262:42 [INFO] [stdout] | [INFO] [stdout] 5262 | let (caller_wasm, _) = compile_module::("set_code_hash").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5260 | fn cannot_set_code_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5264:12 [INFO] [stdout] | [INFO] [stdout] 5264 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5267:14 [INFO] [stdout] | [INFO] [stdout] 5267 | assert_ok!(Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5275:21 [INFO] [stdout] | [INFO] [stdout] 5275 | let caller_addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5292:12 [INFO] [stdout] | [INFO] [stdout] 5292 | >::bare_call( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5260 | fn cannot_set_code_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5304:11 [INFO] [stdout] | [INFO] [stdout] 5304 | >::Indeterministic, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5260 | fn cannot_set_code_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5311:43 [INFO] [stdout] | [INFO] [stdout] 5311 | let (wasm, code_hash) = compile_module::("float_instruction").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5310 | fn delegate_call_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5312:42 [INFO] [stdout] | [INFO] [stdout] 5312 | let (caller_wasm, _) = compile_module::("delegate_call_simple").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5310 | fn delegate_call_indeterministic_code() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5314:12 [INFO] [stdout] | [INFO] [stdout] 5314 | let _ = ::Currency::set_balance(&ALICE, 1_000_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5317:14 [INFO] [stdout] | [INFO] [stdout] 5317 | assert_ok!(Contracts::upload_code( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contracts` [INFO] [stdout] --> src/tests.rs:5325:21 [INFO] [stdout] | [INFO] [stdout] 5325 | let caller_addr = Contracts::bare_instantiate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Contracts` [INFO] [stdout] | help: a trait with a similar name exists: `Contains` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::exec::tests::Contracts` exists but is inaccessible [INFO] [stdout] --> src/lib.rs:232:2 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Pallet(_); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5342:12 [INFO] [stdout] | [INFO] [stdout] 5342 | >::bare_call( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [WARN] too many lines in the log, truncating it