[INFO] fetching crate pallet-lottery 46.0.0...
[INFO] testing pallet-lottery-46.0.0 against 1.95.0 for beta-1.96-2
[INFO] extracting crate pallet-lottery 46.0.0 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate pallet-lottery 46.0.0
[INFO] finished tweaking crates.io crate pallet-lottery 46.0.0
[INFO] tweaked toml for crates.io crate pallet-lottery 46.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate pallet-lottery 46.0.0 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate pallet-lottery 46.0.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 271e6b5b40bb33cae3bfb97c38c707d10340f15ef92829e624753112bd9a3b93
[INFO] running `Command { std: "docker" "start" "-a" "271e6b5b40bb33cae3bfb97c38c707d10340f15ef92829e624753112bd9a3b93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "271e6b5b40bb33cae3bfb97c38c707d10340f15ef92829e624753112bd9a3b93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "271e6b5b40bb33cae3bfb97c38c707d10340f15ef92829e624753112bd9a3b93", kill_on_drop: false }`
[INFO] [stdout] 271e6b5b40bb33cae3bfb97c38c707d10340f15ef92829e624753112bd9a3b93
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4f3a670041acc0fb5164c8c4de294349e717d98278ee284bee8a928a52fc406
[INFO] running `Command { std: "docker" "start" "-a" "c4f3a670041acc0fb5164c8c4de294349e717d98278ee284bee8a928a52fc406", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling winnow v0.5.15
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling const-oid v0.9.5
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling semver v1.0.18
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling keccak v0.1.4
[INFO] [stderr]    Compiling proc-macro-warning v1.0.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]    Compiling aho-corasick v1.0.4
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling cc v1.2.35
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling ff v0.13.0
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]    Compiling parity-scale-codec v3.7.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling jam-codec v0.1.0
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling bitcoin-internals v0.2.0
[INFO] [stderr]    Compiling prettyplease v0.2.12
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling thiserror v1.0.65
[INFO] [stderr]    Compiling integer-sqrt v0.1.5
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling winnow v0.6.18
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling httparse v1.10.0
[INFO] [stderr]    Compiling getrandom_or_panic v0.0.3
[INFO] [stderr]    Compiling uint v0.10.0
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling const_format v0.2.34
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling hex-conservative v0.1.1
[INFO] [stderr]    Compiling atomic-waker v1.1.1
[INFO] [stderr]    Compiling expander v2.2.1
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling bitcoin_hashes v0.13.0
[INFO] [stderr]    Compiling impl-num-traits v0.2.0
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling fixed-hash v0.8.0
[INFO] [stderr]    Compiling blake2b_simd v1.0.2
[INFO] [stderr]    Compiling num-format v0.4.4
[INFO] [stderr]    Compiling file-guard v0.2.0
[INFO] [stderr]    Compiling sp-std v14.0.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling fs-err v2.9.0
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling prometheus v0.13.3
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling hash256-std-hasher v0.15.2
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]    Compiling gimli v0.28.0
[INFO] [stderr]    Compiling dyn-clone v1.0.17
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling array-bytes v6.2.2
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling sharded-slab v0.1.4
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling schnellru v0.2.3
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling trie-db v0.31.0
[INFO] [stderr]    Compiling memory-db v0.34.0
[INFO] [stderr]    Compiling sp-io v45.0.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling twox-hash v1.6.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling const-random-macro v0.1.15
[INFO] [stderr]    Compiling sp-crypto-hashing v0.1.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling include_dir_macros v0.7.3
[INFO] [stderr]    Compiling const-random v0.1.15
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling cfg-expr v0.15.5
[INFO] [stderr]    Compiling tt-call v1.0.9
[INFO] [stderr]    Compiling include_dir v0.7.3
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling secp256k1 v0.28.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.0
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling sp-debug-derive v15.0.0
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]    Compiling sp-crypto-hashing-proc-macro v0.1.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v12.0.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling der v0.7.8
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling merlin v3.0.0
[INFO] [stderr]    Compiling secrecy v0.8.0
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]    Compiling aquamarine v0.5.0
[INFO] [stderr]    Compiling crypto-bigint v0.5.2
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling derive_more v1.0.0
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling signature v2.1.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling ed25519 v2.2.2
[INFO] [stderr]    Compiling h2 v0.4.5
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]    Compiling spki v0.7.2
[INFO] [stderr]    Compiling sp-panic-handler v13.0.2
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling ed25519-zebra v4.0.3
[INFO] [stderr]    Compiling ed25519-dalek v2.1.1
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_spanned v0.6.7
[INFO] [stderr]    Compiling serdect v0.2.0
[INFO] [stderr]    Compiling impl-serde v0.5.0
[INFO] [stderr]    Compiling serde_bytes v0.11.12
[INFO] [stderr]    Compiling bip39 v2.2.0
[INFO] [stderr]    Compiling toml_edit v0.21.0
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling schnorrkel v0.11.4
[INFO] [stderr]    Compiling ecdsa v0.16.8
[INFO] [stderr]    Compiling ss58-registry v1.43.0
[INFO] [stderr]    Compiling substrate-bip39 v0.6.1
[INFO] [stderr]    Compiling k256 v0.13.4
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling frame-support-procedural-tools v13.0.1
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.5
[INFO] [stderr]    Compiling scale-info-derive v2.11.6
[INFO] [stderr]    Compiling jam-codec-derive v0.1.0
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v21.0.0
[INFO] [stderr]    Compiling sp-api-proc-macro v27.0.0
[INFO] [stderr]    Compiling docify_macros v0.2.9
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling docify v0.2.9
[INFO] [stderr]    Compiling frame-support-procedural v37.0.0
[INFO] [stderr]    Compiling sp-version-proc-macro v15.0.0
[INFO] [stderr]    Compiling scale-info v2.11.6
[INFO] [stderr]    Compiling sp-storage v23.0.0
[INFO] [stderr]    Compiling impl-codec v0.7.1
[INFO] [stderr]    Compiling sp-tracing v19.0.0
[INFO] [stderr]    Compiling sp-wasm-interface v24.0.0
[INFO] [stderr]    Compiling binary-merkle-tree v16.1.1
[INFO] [stderr]    Compiling sp-externalities v0.32.0
[INFO] [stderr]    Compiling sp-runtime-interface v34.0.0
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling substrate-prometheus-endpoint v0.17.7
[INFO] [stderr]    Compiling bounded-collections v0.3.2
[INFO] [stderr]    Compiling primitive-types v0.13.1
[INFO] [stderr]    Compiling sp-arithmetic v28.0.1
[INFO] [stderr]    Compiling frame-metadata v23.0.1
[INFO] [stderr]    Compiling sp-core v40.0.0
[INFO] [stderr]    Compiling sp-metadata-ir v0.12.3
[INFO] [stderr]    Compiling sp-weights v34.0.0
[INFO] [stderr]    Compiling sp-trie v43.0.0
[INFO] [stderr]    Compiling sp-keystore v0.46.0
[INFO] [stderr]    Compiling sp-state-machine v0.50.0
[INFO] [stderr]    Compiling sp-application-crypto v45.0.0
[INFO] [stderr]    Compiling sp-runtime v46.0.0
[INFO] [stderr]    Compiling sp-version v44.0.0
[INFO] [stderr]    Compiling sp-staking v43.0.0
[INFO] [stderr]    Compiling sp-inherents v41.0.0
[INFO] [stderr]    Compiling sp-api v41.0.0
[INFO] [stderr]    Compiling sp-genesis-builder v0.22.0
[INFO] [stderr]    Compiling frame-support v46.0.0
[INFO] [stderr]    Compiling frame-system v46.0.0
[INFO] [stderr]    Compiling pallet-lottery v46.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 23s
[INFO] running `Command { std: "docker" "inspect" "c4f3a670041acc0fb5164c8c4de294349e717d98278ee284bee8a928a52fc406", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4f3a670041acc0fb5164c8c4de294349e717d98278ee284bee8a928a52fc406", kill_on_drop: false }`
[INFO] [stdout] c4f3a670041acc0fb5164c8c4de294349e717d98278ee284bee8a928a52fc406
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f1476a5cf4177726fc1a320c5c95ad4728459e2f6366b08db340ac9566a32275
[INFO] running `Command { std: "docker" "start" "-a" "f1476a5cf4177726fc1a320c5c95ad4728459e2f6366b08db340ac9566a32275", kill_on_drop: false }`
[INFO] [stderr]    Compiling pallet-lottery v46.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `frame_support_test`
[INFO] [stdout]   --> src/mock.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use frame_support_test::TestRandomness;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_support_test`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 24 - use frame_support_test::TestRandomness;
[INFO] [stdout] 24 + use frame_support::TestRandomness;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope
[INFO] [stdout]   --> src/mock.rs:49:15
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope
[INFO] [stdout]   --> src/mock.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         Balances: pallet_balances,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:28:47
[INFO] [stdout]    |
[INFO] [stdout] 28 | type Block = frame_system::mocking::MockBlock<Test>;
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 28 | type Block<Test> = frame_system::mocking::MockBlock<Test>;
[INFO] [stdout]    |           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl frame_system::Config for Test {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:43:1
[INFO] [stdout]     |
[INFO] [stdout]  43 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 |             type Self::RuntimeEvent = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/mock.rs:43:1
[INFO] [stdout]     |
[INFO] [stdout]  43 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:352:9
[INFO] [stdout]     |
[INFO] [stdout] 352 |             type Self::RuntimeOrigin = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/mock.rs:43:1
[INFO] [stdout]     |
[INFO] [stdout]  43 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 354 |             type Self::RuntimeCall = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PalletInfo` in this scope
[INFO] [stdout]    --> src/mock.rs:43:1
[INFO] [stdout]     |
[INFO] [stdout]  43 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/lib.rs:142:1
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub struct PalletId(pub [u8; 8]);
[INFO] [stdout]     | ------------------- similarly named struct `PalletId` defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |             type Self::PalletInfo = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 -             type PalletInfo = ();
[INFO] [stdout] 356 +             type PalletId = ();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RuntimeTask` in this scope
[INFO] [stdout]    --> src/mock.rs:43:1
[INFO] [stdout]     |
[INFO] [stdout]  43 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:358:9
[INFO] [stdout]     |
[INFO] [stdout] 358 |             type Self::RuntimeTask = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl Config for Test {
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |     type RuntimeCall = RuntimeCall;
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 60 |     type RuntimeCall = Self::RuntimeCall;
[INFO] [stdout]    |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Balances` in this scope
[INFO] [stdout]   --> src/mock.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |       type Currency = Balances;
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout] 76 | / type BalanceOf<T> =
[INFO] [stdout] 77 | |     <<T as Config>::Currency as Currency<<T as frame_system::Config>::AccountId>>::Balance;
[INFO] [stdout]    | |___________________________________________________________________________________________- similarly named type alias `BalanceOf` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 61 -     type Currency = Balances;
[INFO] [stdout] 61 +     type Currency = BalanceOf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/mock.rs:63:22
[INFO] [stdout]    |
[INFO] [stdout] 63 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]    |                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 63 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]    |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub type SystemCall = frame_system::Call<Test>;
[INFO] [stdout]    |                                          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub type SystemCall<Test> = frame_system::Call<Test>;
[INFO] [stdout]    |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:72:47
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub type BalancesCall = pallet_balances::Call<Test>;
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub type BalancesCall<Test> = pallet_balances::Call<Test>;
[INFO] [stdout]    |                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:75:44
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut t = frame_system::GenesisConfig::<Test>::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] 74 | pub fn new_test_ext<Test>() -> sp_io::TestExternalities {
[INFO] [stdout]    |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:76:35
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pallet_balances::GenesisConfig::<Test> {
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn new_test_ext<Test>() -> sp_io::TestExternalities {
[INFO] [stdout]    |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:31:28
[INFO] [stdout]    |
[INFO] [stdout] 31 |         assert!(crate::Lottery::<Test>::get().is_none());
[INFO] [stdout]    |                                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn initial_state<Test>() {
[INFO] [stdout]    |                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |         assert_eq!(Participants::<Test>::get(&1), (0, 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] 28 | fn initial_state<Test>() {
[INFO] [stdout]    |                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |         assert_eq!(TicketsCount::<Test>::get(), 0);
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn initial_state<Test>() {
[INFO] [stdout]    |                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |         assert!(Tickets::<Test>::get(0).is_none());
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn initial_state<Test>() {
[INFO] [stdout]    |                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:54:28
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert!(crate::Lottery::<Test>::get().is_some());
[INFO] [stdout]    |                                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn basic_end_to_end_works<Test>() {
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:64:29
[INFO] [stdout]    |
[INFO] [stdout] 64 |         assert_eq!(Participants::<Test>::get(&1).1.len(), 1);
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn basic_end_to_end_works<Test>() {
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:65:29
[INFO] [stdout]    |
[INFO] [stdout] 65 |         assert_eq!(TicketsCount::<Test>::get(), 1);
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn basic_end_to_end_works<Test>() {
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:67:24
[INFO] [stdout]    |
[INFO] [stdout] 67 |         assert_eq!(Tickets::<Test>::get(0), Some(1));
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn basic_end_to_end_works<Test>() {
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:73:29
[INFO] [stdout]    |
[INFO] [stdout] 73 |         assert_eq!(TicketsCount::<Test>::get(), 4);
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn basic_end_to_end_works<Test>() {
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]   --> src/tests.rs:76:3
[INFO] [stdout]    |
[INFO] [stdout] 76 |         System::run_to_block::<AllPalletsWithSystem>(20);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AllPalletsWithSystem` in this scope
[INFO] [stdout]   --> src/tests.rs:76:26
[INFO] [stdout]    |
[INFO] [stdout] 76 |         System::run_to_block::<AllPalletsWithSystem>(20);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn basic_end_to_end_works<AllPalletsWithSystem>() {
[INFO] [stdout]    |                          ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:79:29
[INFO] [stdout]    |
[INFO] [stdout] 79 |         assert_eq!(TicketsCount::<Test>::get(), 4);
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn basic_end_to_end_works<Test>() {
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]   --> src/tests.rs:82:3
[INFO] [stdout]    |
[INFO] [stdout] 82 |         System::run_to_block::<AllPalletsWithSystem>(25);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AllPalletsWithSystem` in this scope
[INFO] [stdout]   --> src/tests.rs:82:26
[INFO] [stdout]    |
[INFO] [stdout] 82 |         System::run_to_block::<AllPalletsWithSystem>(25);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn basic_end_to_end_works<AllPalletsWithSystem>() {
[INFO] [stdout]    |                          ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 86 |         assert_eq!(TicketsCount::<Test>::get(), 0);
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn basic_end_to_end_works<Test>() {
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |         assert_eq!(LotteryIndex::<Test>::get(), 2);
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn basic_end_to_end_works<Test>() {
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:89:21
[INFO] [stdout]    |
[INFO] [stdout] 89 |             crate::Lottery::<Test>::get().unwrap(),
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn basic_end_to_end_works<Test>() {
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:115:28
[INFO] [stdout]     |
[INFO] [stdout] 115 |         assert!(crate::Lottery::<Test>::get().is_some());
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  97 | fn stop_repeat_works<Test>() {
[INFO] [stdout]     |                     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:117:3
[INFO] [stdout]     |
[INFO] [stdout] 117 |         System::run_to_block::<AllPalletsWithSystem>(length + delay);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AllPalletsWithSystem` in this scope
[INFO] [stdout]    --> src/tests.rs:117:26
[INFO] [stdout]     |
[INFO] [stdout] 117 |         System::run_to_block::<AllPalletsWithSystem>(length + delay);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  97 | fn stop_repeat_works<AllPalletsWithSystem>() {
[INFO] [stdout]     |                     ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:120:28
[INFO] [stdout]     |
[INFO] [stdout] 120 |         assert!(crate::Lottery::<Test>::get().is_none());
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  97 | fn stop_repeat_works<Test>() {
[INFO] [stdout]     |                     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:121:3
[INFO] [stdout]     |
[INFO] [stdout] 121 |         System::run_to_block::<AllPalletsWithSystem>(length + delay + 1);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AllPalletsWithSystem` in this scope
[INFO] [stdout]    --> src/tests.rs:121:26
[INFO] [stdout]     |
[INFO] [stdout] 121 |         System::run_to_block::<AllPalletsWithSystem>(length + delay + 1);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  97 | fn stop_repeat_works<AllPalletsWithSystem>() {
[INFO] [stdout]     |                     ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:122:28
[INFO] [stdout]     |
[INFO] [stdout] 122 |         assert!(crate::Lottery::<Test>::get().is_none());
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  97 | fn stop_repeat_works<Test>() {
[INFO] [stdout]     |                     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:129:26
[INFO] [stdout]     |
[INFO] [stdout] 129 |         assert!(!CallIndices::<Test>::exists());
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 127 | fn set_calls_works<Test>() {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:137:25
[INFO] [stdout]     |
[INFO] [stdout] 137 |         assert!(CallIndices::<Test>::exists());
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 127 | fn set_calls_works<Test>() {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:147:12
[INFO] [stdout]     |
[INFO] [stdout] 147 |             Error::<Test>::TooManyCalls,
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 127 | fn set_calls_works<Test>() {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:152:25
[INFO] [stdout]     |
[INFO] [stdout] 152 |         assert!(CallIndices::<Test>::get().is_empty());
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 127 | fn set_calls_works<Test>() {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:173:68
[INFO] [stdout]     |
[INFO] [stdout] 173 |         assert_noop!(Lottery::calls_to_indices(&too_many_calls), Error::<Test>::TooManyCalls);
[INFO] [stdout]     |                                                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 157 | fn call_to_indices_works<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout] 196 |             Error::<Test>::InProgress,
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn start_lottery_works<Test>() {
[INFO] [stdout]     |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:214:29
[INFO] [stdout]     |
[INFO] [stdout] 214 |         assert_eq!(TicketsCount::<Test>::get(), 0);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 202 | fn buy_ticket_works_as_simple_passthrough<Test>() {
[INFO] [stdout]     |                                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:227:29
[INFO] [stdout]     |
[INFO] [stdout] 227 |         assert_eq!(TicketsCount::<Test>::get(), 0);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 202 | fn buy_ticket_works_as_simple_passthrough<Test>() {
[INFO] [stdout]     |                                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:250:29
[INFO] [stdout]     |
[INFO] [stdout] 250 |         assert_eq!(TicketsCount::<Test>::get(), 0);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 202 | fn buy_ticket_works_as_simple_passthrough<Test>() {
[INFO] [stdout]     |                                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:257:29
[INFO] [stdout]     |
[INFO] [stdout] 257 |         assert_eq!(TicketsCount::<Test>::get(), 1);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 202 | fn buy_ticket_works_as_simple_passthrough<Test>() {
[INFO] [stdout]     |                                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:277:29
[INFO] [stdout]     |
[INFO] [stdout] 277 |         assert_eq!(TicketsCount::<Test>::get(), 0);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn buy_ticket_works<Test>() {
[INFO] [stdout]     |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:283:3
[INFO] [stdout]     |
[INFO] [stdout] 283 |         System::run_to_block::<AllPalletsWithSystem>(5);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AllPalletsWithSystem` in this scope
[INFO] [stdout]    --> src/tests.rs:283:26
[INFO] [stdout]     |
[INFO] [stdout] 283 |         System::run_to_block::<AllPalletsWithSystem>(5);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn buy_ticket_works<AllPalletsWithSystem>() {
[INFO] [stdout]     |                    ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:285:29
[INFO] [stdout]     |
[INFO] [stdout] 285 |         assert_eq!(TicketsCount::<Test>::get(), 1);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn buy_ticket_works<Test>() {
[INFO] [stdout]     |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:293:29
[INFO] [stdout]     |
[INFO] [stdout] 293 |         assert_eq!(TicketsCount::<Test>::get(), 1);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn buy_ticket_works<Test>() {
[INFO] [stdout]     |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:299:29
[INFO] [stdout]     |
[INFO] [stdout] 299 |         assert_eq!(TicketsCount::<Test>::get(), 2);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn buy_ticket_works<Test>() {
[INFO] [stdout]     |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:302:3
[INFO] [stdout]     |
[INFO] [stdout] 302 |         System::run_to_block::<AllPalletsWithSystem>(20);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AllPalletsWithSystem` in this scope
[INFO] [stdout]    --> src/tests.rs:302:26
[INFO] [stdout]     |
[INFO] [stdout] 302 |         System::run_to_block::<AllPalletsWithSystem>(20);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn buy_ticket_works<AllPalletsWithSystem>() {
[INFO] [stdout]     |                    ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:304:29
[INFO] [stdout]     |
[INFO] [stdout] 304 |         assert_eq!(TicketsCount::<Test>::get(), 2);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn buy_ticket_works<Test>() {
[INFO] [stdout]     |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:307:3
[INFO] [stdout]     |
[INFO] [stdout] 307 |         System::run_to_block::<AllPalletsWithSystem>(25);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AllPalletsWithSystem` in this scope
[INFO] [stdout]    --> src/tests.rs:307:26
[INFO] [stdout]     |
[INFO] [stdout] 307 |         System::run_to_block::<AllPalletsWithSystem>(25);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn buy_ticket_works<AllPalletsWithSystem>() {
[INFO] [stdout]     |                    ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:309:29
[INFO] [stdout]     |
[INFO] [stdout] 309 |         assert_eq!(TicketsCount::<Test>::get(), 0);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn buy_ticket_works<Test>() {
[INFO] [stdout]     |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:310:29
[INFO] [stdout]     |
[INFO] [stdout] 310 |         assert_eq!(LotteryIndex::<Test>::get(), 1);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn buy_ticket_works<Test>() {
[INFO] [stdout]     |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:327:63
[INFO] [stdout]     |
[INFO] [stdout] 327 |         assert_noop!(Lottery::do_buy_ticket(&1, &calls[0]), Error::<Test>::AlreadyParticipating);
[INFO] [stdout]     |                                                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 317 | fn do_buy_ticket_already_participating<Test>() {
[INFO] [stdout]     |                                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:348:29
[INFO] [stdout]     |
[INFO] [stdout] 348 |         assert_eq!(TicketsCount::<Test>::get(), 1);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 333 | fn buy_ticket_already_participating<Test>() {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:365:26
[INFO] [stdout]     |
[INFO] [stdout] 365 |         assert!(TicketsCount::<Test>::get().is_zero());
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 354 | fn buy_ticket_insufficient_balance<Test>() {
[INFO] [stdout]     |                                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:380:26
[INFO] [stdout]     |
[INFO] [stdout] 380 |         assert!(TicketsCount::<Test>::get().is_zero());
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 370 | fn do_buy_ticket_insufficient_balance<Test>() {
[INFO] [stdout]     |                                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:394:26
[INFO] [stdout]     |
[INFO] [stdout] 394 |         assert!(TicketsCount::<Test>::get().is_zero());
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 385 | fn do_buy_ticket_keep_alive<Test>() {
[INFO] [stdout]     |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:411:3
[INFO] [stdout]     |
[INFO] [stdout] 411 |         System::run_to_block::<AllPalletsWithSystem>(length + delay);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AllPalletsWithSystem` in this scope
[INFO] [stdout]    --> src/tests.rs:411:26
[INFO] [stdout]     |
[INFO] [stdout] 411 |         System::run_to_block::<AllPalletsWithSystem>(length + delay);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 400 | fn no_participants_works<AllPalletsWithSystem>() {
[INFO] [stdout]     |                         ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: type alias import `Lottery` is private
[INFO] [stdout]    --> src/tests.rs:21:9
[INFO] [stdout]     |
[INFO] [stdout]  21 |     mock::{Lottery, *},
[INFO] [stdout]     |            ^^^^^^^ private type alias import
[INFO] [stdout]     |
[INFO] [stdout] note: the type alias import `Lottery` is defined here...
[INFO] [stdout]    --> src/mock.rs:20:5
[INFO] [stdout]     |
[INFO] [stdout]  20 | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] note: ...and refers to the type alias import `Lottery` which is defined here...
[INFO] [stdout]    --> src/lib.rs:69:9
[INFO] [stdout]     |
[INFO] [stdout]  69 | pub use pallet::*;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] note: ...and refers to the type alias `Lottery` which is defined here
[INFO] [stdout]    --> src/lib.rs:211:2
[INFO] [stdout]     |
[INFO] [stdout] 211 | /     pub(crate) type Lottery<T: Config> =
[INFO] [stdout] 212 | |         StorageValue<_, LotteryConfig<BlockNumberFor<T>, BalanceOf<T>>>;
[INFO] [stdout]     | |________________________________________________________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Lottery`
[INFO] [stdout]    --> src/mock.rs:66:22
[INFO] [stdout]     |
[INFO] [stdout]  66 |     type ValidateCall = Lottery;
[INFO] [stdout]     |                         ^^^^^^^ expected 1 generic argument
[INFO] [stdout]     |
[INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T`
[INFO] [stdout]    --> src/lib.rs:211:18
[INFO] [stdout]     |
[INFO] [stdout] 211 |     pub(crate) type Lottery<T: Config> =
[INFO] [stdout]     |                     ^^^^^^^ -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout]  66 |     type ValidateCall = Lottery<T>;
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]   --> src/tests.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |         assert_eq!(Balances::free_balance(Lottery::account_id()), 0);
[INFO] [stdout]    |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 30 -         assert_eq!(Balances::free_balance(Lottery::account_id()), 0);
[INFO] [stdout] 30 +         assert_eq!(BalanceOf::free_balance(Lottery::account_id()), 0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `account_id` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:30:46
[INFO] [stdout]     |
[INFO] [stdout]  30 |         assert_eq!(Balances::free_balance(Lottery::account_id()), 0);
[INFO] [stdout]     |                                                    ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-10554711689846823897.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/tests.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 |             RuntimeCall::Balances(BalancesCall::force_transfer { source: 0, dest: 0, value: 0 }),
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/tests.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 |             RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: 0, value: 0 }),
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:50:23
[INFO] [stdout]     |
[INFO] [stdout]  50 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `set_calls`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-8252463072692084377.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/tests.rs:50:33
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls));
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:53:23
[INFO] [stdout]     |
[INFO] [stdout]  53 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), price, length, delay, true));
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-15632509149795233855.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/tests.rs:53:37
[INFO] [stdout]    |
[INFO] [stdout] 53 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), price, length, delay, true));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]   --> src/tests.rs:56:14
[INFO] [stdout]    |
[INFO] [stdout] 56 |         assert_eq!(Balances::free_balance(&1), 100);
[INFO] [stdout]    |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 56 -         assert_eq!(Balances::free_balance(&1), 100);
[INFO] [stdout] 56 +         assert_eq!(BalanceOf::free_balance(&1), 100);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/tests.rs:57:23
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let call = Box::new(RuntimeCall::Balances(BalancesCall::transfer_allow_death {
[INFO] [stdout]    |                             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:61:23
[INFO] [stdout]     |
[INFO] [stdout]  61 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-16523883717943642958.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/tests.rs:61:34
[INFO] [stdout]    |
[INFO] [stdout] 61 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call.clone()));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]   --> src/tests.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |         assert_eq!(Balances::free_balance(&1), 100 - 20 - 10);
[INFO] [stdout]    |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 63 -         assert_eq!(Balances::free_balance(&1), 100 - 20 - 10);
[INFO] [stdout] 63 +         assert_eq!(BalanceOf::free_balance(&1), 100 - 20 - 10);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:70:23
[INFO] [stdout]     |
[INFO] [stdout]  70 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(2), call.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-10287528381141409475.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/tests.rs:70:34
[INFO] [stdout]    |
[INFO] [stdout] 70 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(2), call.clone()));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:71:23
[INFO] [stdout]     |
[INFO] [stdout]  71 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(3), call.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-886522207211658967.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/tests.rs:71:34
[INFO] [stdout]    |
[INFO] [stdout] 71 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(3), call.clone()));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:72:23
[INFO] [stdout]     |
[INFO] [stdout]  72 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(4), call.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-12593918809761532781.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/tests.rs:72:34
[INFO] [stdout]    |
[INFO] [stdout] 72 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(4), call.clone()));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:77:23
[INFO] [stdout]     |
[INFO] [stdout]  77 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(5), call.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-13005336090684362905.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/tests.rs:77:34
[INFO] [stdout]    |
[INFO] [stdout] 77 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(5), call.clone()));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]   --> src/tests.rs:84:14
[INFO] [stdout]    |
[INFO] [stdout] 84 |         assert_eq!(Balances::free_balance(&1), 70 + 40);
[INFO] [stdout]    |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 84 -         assert_eq!(Balances::free_balance(&1), 70 + 40);
[INFO] [stdout] 84 +         assert_eq!(BalanceOf::free_balance(&1), 70 + 40);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:104:23
[INFO] [stdout]     |
[INFO] [stdout] 104 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), vec![]));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `set_calls`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-7470188881411500943.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:104:33
[INFO] [stdout]     |
[INFO] [stdout] 104 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), vec![]));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:106:23
[INFO] [stdout]     |
[INFO] [stdout] 106 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), price, length, delay, true));
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-3052546572713059698.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:106:37
[INFO] [stdout]     |
[INFO] [stdout] 106 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), price, length, delay, true));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `stop_repeat` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:109:25
[INFO] [stdout]     |
[INFO] [stdout] 109 |         assert_noop!(Lottery::stop_repeat(RuntimeOrigin::signed(1)), DispatchError::BadOrigin);
[INFO] [stdout]     |                               ^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `stop_repeat`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-15249137558467103349.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:109:37
[INFO] [stdout]     |
[INFO] [stdout] 109 |         assert_noop!(Lottery::stop_repeat(RuntimeOrigin::signed(1)), DispatchError::BadOrigin);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `stop_repeat` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:111:23
[INFO] [stdout]     |
[INFO] [stdout] 111 |         assert_ok!(Lottery::stop_repeat(RuntimeOrigin::root()));
[INFO] [stdout]     |                             ^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `stop_repeat`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-16779359892549629654.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:111:35
[INFO] [stdout]     |
[INFO] [stdout] 111 |         assert_ok!(Lottery::stop_repeat(RuntimeOrigin::root()));
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `stop_repeat` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:112:23
[INFO] [stdout]     |
[INFO] [stdout] 112 |         assert_ok!(Lottery::stop_repeat(RuntimeOrigin::root()));
[INFO] [stdout]     |                             ^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `stop_repeat`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-15619475195299254516.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:112:35
[INFO] [stdout]     |
[INFO] [stdout] 112 |         assert_ok!(Lottery::stop_repeat(RuntimeOrigin::root()));
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 |             RuntimeCall::Balances(BalancesCall::force_transfer { source: 0, dest: 0, value: 0 }),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:133:4
[INFO] [stdout]     |
[INFO] [stdout] 133 |             RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: 0, value: 0 }),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:136:23
[INFO] [stdout]     |
[INFO] [stdout] 136 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `set_calls`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-4971481807287918023.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:136:33
[INFO] [stdout]     |
[INFO] [stdout] 136 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:140:4
[INFO] [stdout]     |
[INFO] [stdout] 140 |             RuntimeCall::Balances(BalancesCall::force_transfer { source: 0, dest: 0, value: 0 }),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:141:4
[INFO] [stdout]     |
[INFO] [stdout] 141 |             RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: 0, value: 0 }),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 |             RuntimeCall::System(SystemCall::remark { remark: vec![] }),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |             Lottery::set_calls(RuntimeOrigin::root(), too_many_calls),
[INFO] [stdout]     |                      ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `set_calls`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-9696588932926862466.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:146:23
[INFO] [stdout]     |
[INFO] [stdout] 146 |             Lottery::set_calls(RuntimeOrigin::root(), too_many_calls),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:151:23
[INFO] [stdout]     |
[INFO] [stdout] 151 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), vec![]));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `set_calls`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-712694889949050771.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:151:33
[INFO] [stdout]     |
[INFO] [stdout] 151 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), vec![]));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 160 |             RuntimeCall::Balances(BalancesCall::force_transfer { source: 0, dest: 0, value: 0 }),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:161:4
[INFO] [stdout]     |
[INFO] [stdout] 161 |             RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: 0, value: 0 }),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `calls_to_indices` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:163:26
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let indices = Lottery::calls_to_indices(&calls).unwrap().into_inner();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-17177610961952056423.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:169:4
[INFO] [stdout]     |
[INFO] [stdout] 169 |             RuntimeCall::Balances(BalancesCall::force_transfer { source: 0, dest: 0, value: 0 }),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:170:4
[INFO] [stdout]     |
[INFO] [stdout] 170 |             RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: 0, value: 0 }),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:171:4
[INFO] [stdout]     |
[INFO] [stdout] 171 |             RuntimeCall::System(SystemCall::remark { remark: vec![] }),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `calls_to_indices` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:173:25
[INFO] [stdout]     |
[INFO] [stdout] 173 |         assert_noop!(Lottery::calls_to_indices(&too_many_calls), Error::<Test>::TooManyCalls);
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-2266438474493157220.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:186:13
[INFO] [stdout]     |
[INFO] [stdout] 186 |             Lottery::start_lottery(RuntimeOrigin::signed(1), price, length, delay, false),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-7120835244964109357.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:186:27
[INFO] [stdout]     |
[INFO] [stdout] 186 |             Lottery::start_lottery(RuntimeOrigin::signed(1), price, length, delay, false),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:191:23
[INFO] [stdout]     |
[INFO] [stdout] 191 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), price, length, delay, false));
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-8416367512676108968.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:191:37
[INFO] [stdout]     |
[INFO] [stdout] 191 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), price, length, delay, false));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |             Lottery::start_lottery(RuntimeOrigin::root(), price, length, delay, false),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-6585080257389478617.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:195:27
[INFO] [stdout]     |
[INFO] [stdout] 195 |             Lottery::start_lottery(RuntimeOrigin::root(), price, length, delay, false),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:207:23
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let call = Box::new(RuntimeCall::Balances(BalancesCall::transfer_allow_death {
[INFO] [stdout]     |                             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:212:23
[INFO] [stdout]     |
[INFO] [stdout] 212 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-6734582590615298650.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:212:34
[INFO] [stdout]     |
[INFO] [stdout] 212 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call.clone()));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:213:14
[INFO] [stdout]     |
[INFO] [stdout] 213 |         assert_eq!(Balances::free_balance(&1), 100 - 20);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 213 -         assert_eq!(Balances::free_balance(&1), 100 - 20);
[INFO] [stdout] 213 +         assert_eq!(BalanceOf::free_balance(&1), 100 - 20);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:218:4
[INFO] [stdout]     |
[INFO] [stdout] 218 |             RuntimeCall::Balances(BalancesCall::force_transfer { source: 0, dest: 0, value: 0 }),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:219:4
[INFO] [stdout]     |
[INFO] [stdout] 219 |             RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: 0, value: 0 }),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:221:23
[INFO] [stdout]     |
[INFO] [stdout] 221 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `set_calls`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-15281946323355648349.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:221:33
[INFO] [stdout]     |
[INFO] [stdout] 221 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:224:23
[INFO] [stdout]     |
[INFO] [stdout] 224 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 60, 10, 5, false));
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-4034408963594377273.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:224:37
[INFO] [stdout]     |
[INFO] [stdout] 224 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 60, 10, 5, false));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:225:23
[INFO] [stdout]     |
[INFO] [stdout] 225 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-13136805181405689477.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:225:34
[INFO] [stdout]     |
[INFO] [stdout] 225 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call.clone()));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:226:14
[INFO] [stdout]     |
[INFO] [stdout] 226 |         assert_eq!(Balances::free_balance(&1), 100 - 20 - 20);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 226 -         assert_eq!(Balances::free_balance(&1), 100 - 20 - 20);
[INFO] [stdout] 226 +         assert_eq!(BalanceOf::free_balance(&1), 100 - 20 - 20);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:230:28
[INFO] [stdout]     |
[INFO] [stdout] 230 |         let fail_call = Box::new(RuntimeCall::Balances(BalancesCall::transfer_allow_death {
[INFO] [stdout]     |                                  ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:235:13
[INFO] [stdout]     |
[INFO] [stdout] 235 |             Lottery::buy_ticket(RuntimeOrigin::signed(1), fail_call),
[INFO] [stdout]     |                      ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-5363901258033802833.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:235:24
[INFO] [stdout]     |
[INFO] [stdout] 235 |             Lottery::buy_ticket(RuntimeOrigin::signed(1), fail_call),
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:239:34
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let bad_origin_call = Box::new(RuntimeCall::Balances(BalancesCall::force_transfer {
[INFO] [stdout]     |                                        ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:244:25
[INFO] [stdout]     |
[INFO] [stdout] 244 |         assert_noop!(Lottery::buy_ticket(RuntimeOrigin::signed(1), bad_origin_call), BadOrigin,);
[INFO] [stdout]     |                               ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-15805235182200413332.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:244:36
[INFO] [stdout]     |
[INFO] [stdout] 244 |         assert_noop!(Lottery::buy_ticket(RuntimeOrigin::signed(1), bad_origin_call), BadOrigin,);
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:248:13
[INFO] [stdout]     |
[INFO] [stdout] 248 |             Box::new(RuntimeCall::System(SystemCall::remark { remark: b"hello, world!".to_vec() }));
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:249:23
[INFO] [stdout]     |
[INFO] [stdout] 249 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(2), remark_call));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-15499635707827597755.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(2), remark_call));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:252:34
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let successful_call = Box::new(RuntimeCall::Balances(BalancesCall::transfer_allow_death {
[INFO] [stdout]     |                                        ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:256:23
[INFO] [stdout]     |
[INFO] [stdout] 256 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(2), successful_call));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-1790479918748254039.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:256:34
[INFO] [stdout]     |
[INFO] [stdout] 256 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(2), successful_call));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 |             RuntimeCall::System(SystemCall::remark { remark: vec![] }),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:267:4
[INFO] [stdout]     |
[INFO] [stdout] 267 |             RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: 0, value: 0 }),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:269:23
[INFO] [stdout]     |
[INFO] [stdout] 269 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `set_calls`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-17950964483521013771.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:269:33
[INFO] [stdout]     |
[INFO] [stdout] 269 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:272:23
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let call = Box::new(RuntimeCall::Balances(BalancesCall::transfer_allow_death {
[INFO] [stdout]     |                             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:276:23
[INFO] [stdout]     |
[INFO] [stdout] 276 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-11153318418141352831.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:276:34
[INFO] [stdout]     |
[INFO] [stdout] 276 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call.clone()));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:280:23
[INFO] [stdout]     |
[INFO] [stdout] 280 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 1, 20, 5, false));
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-6585080257389478617.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:280:37
[INFO] [stdout]     |
[INFO] [stdout] 280 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 1, 20, 5, false));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:284:23
[INFO] [stdout]     |
[INFO] [stdout] 284 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-9650081285039762455.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:284:34
[INFO] [stdout]     |
[INFO] [stdout] 284 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:288:23
[INFO] [stdout]     |
[INFO] [stdout] 288 |         let call = Box::new(RuntimeCall::Balances(BalancesCall::transfer_allow_death {
[INFO] [stdout]     |                             ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:292:23
[INFO] [stdout]     |
[INFO] [stdout] 292 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-15864014351689245270.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:292:34
[INFO] [stdout]     |
[INFO] [stdout] 292 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:297:13
[INFO] [stdout]     |
[INFO] [stdout] 297 |             Box::new(RuntimeCall::System(SystemCall::remark { remark: b"hello, world!".to_vec() }));
[INFO] [stdout]     |                      ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:298:23
[INFO] [stdout]     |
[INFO] [stdout] 298 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-12279364438428291007.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:298:34
[INFO] [stdout]     |
[INFO] [stdout] 298 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call.clone()));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:303:23
[INFO] [stdout]     |
[INFO] [stdout] 303 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(2), call.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-14258739021144216863.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:303:34
[INFO] [stdout]     |
[INFO] [stdout] 303 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(2), call.clone()));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:308:23
[INFO] [stdout]     |
[INFO] [stdout] 308 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(2), call.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-11991239206533542825.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:308:34
[INFO] [stdout]     |
[INFO] [stdout] 308 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(2), call.clone()));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:320:9
[INFO] [stdout]     |
[INFO] [stdout] 320 |             vec![RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: 0, value: 0 })];
[INFO] [stdout]     |                  ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:321:23
[INFO] [stdout]     |
[INFO] [stdout] 321 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `set_calls`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-17177610961952056423.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:321:33
[INFO] [stdout]     |
[INFO] [stdout] 321 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls.clone()));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:322:23
[INFO] [stdout]     |
[INFO] [stdout] 322 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 1, 10, 10, false));
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-4168100404356925163.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:322:37
[INFO] [stdout]     |
[INFO] [stdout] 322 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 1, 10, 10, false));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `do_buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:325:23
[INFO] [stdout]     |
[INFO] [stdout] 325 |         assert_ok!(Lottery::do_buy_ticket(&1, &calls[0]));
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-902725748088128924.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `do_buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:327:25
[INFO] [stdout]     |
[INFO] [stdout] 327 |         assert_noop!(Lottery::do_buy_ticket(&1, &calls[0]), Error::<Test>::AlreadyParticipating);
[INFO] [stdout]     |                               ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-5070545643096026003.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:336:9
[INFO] [stdout]     |
[INFO] [stdout] 336 |             vec![RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: 0, value: 0 })];
[INFO] [stdout]     |                  ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:337:23
[INFO] [stdout]     |
[INFO] [stdout] 337 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `set_calls`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-17177610961952056423.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:337:33
[INFO] [stdout]     |
[INFO] [stdout] 337 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls.clone()));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:338:23
[INFO] [stdout]     |
[INFO] [stdout] 338 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 1, 10, 10, false));
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-4168100404356925163.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:338:37
[INFO] [stdout]     |
[INFO] [stdout] 338 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 1, 10, 10, false));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:342:23
[INFO] [stdout]     |
[INFO] [stdout] 342 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-9374976998907942808.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:342:34
[INFO] [stdout]     |
[INFO] [stdout] 342 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call.clone()));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:345:33
[INFO] [stdout]     |
[INFO] [stdout] 345 |         assert_storage_noop!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call).unwrap());
[INFO] [stdout]     |                                       ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-14505987514654006560.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:345:44
[INFO] [stdout]     |
[INFO] [stdout] 345 |         assert_storage_noop!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call).unwrap());
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 |             vec![RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: 0, value: 0 })];
[INFO] [stdout]     |                  ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:358:23
[INFO] [stdout]     |
[INFO] [stdout] 358 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `set_calls`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-17177610961952056423.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:358:33
[INFO] [stdout]     |
[INFO] [stdout] 358 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls.clone()));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:360:23
[INFO] [stdout]     |
[INFO] [stdout] 360 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 100, 10, 10, false));
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-4168100404356925163.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:360:37
[INFO] [stdout]     |
[INFO] [stdout] 360 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 100, 10, 10, false));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:364:33
[INFO] [stdout]     |
[INFO] [stdout] 364 |         assert_storage_noop!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call).unwrap());
[INFO] [stdout]     |                                       ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-1488100516406415199.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:364:44
[INFO] [stdout]     |
[INFO] [stdout] 364 |         assert_storage_noop!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call).unwrap());
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:373:9
[INFO] [stdout]     |
[INFO] [stdout] 373 |             vec![RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: 0, value: 0 })];
[INFO] [stdout]     |                  ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:374:23
[INFO] [stdout]     |
[INFO] [stdout] 374 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `set_calls`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-17177610961952056423.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:374:33
[INFO] [stdout]     |
[INFO] [stdout] 374 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls.clone()));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:376:23
[INFO] [stdout]     |
[INFO] [stdout] 376 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 101, 10, 10, false));
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-4168100404356925163.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:376:37
[INFO] [stdout]     |
[INFO] [stdout] 376 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 101, 10, 10, false));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `do_buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:379:25
[INFO] [stdout]     |
[INFO] [stdout] 379 |         assert_noop!(Lottery::do_buy_ticket(&1, &calls[0]), TokenError::FundsUnavailable,);
[INFO] [stdout]     |                               ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-5486601204166779867.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:388:9
[INFO] [stdout]     |
[INFO] [stdout] 388 |             vec![RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: 0, value: 0 })];
[INFO] [stdout]     |                  ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:389:23
[INFO] [stdout]     |
[INFO] [stdout] 389 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `set_calls`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-17177610961952056423.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:389:33
[INFO] [stdout]     |
[INFO] [stdout] 389 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls.clone()));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:391:23
[INFO] [stdout]     |
[INFO] [stdout] 391 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 100, 10, 10, false));
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-4168100404356925163.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:391:37
[INFO] [stdout]     |
[INFO] [stdout] 391 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 100, 10, 10, false));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `do_buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:393:25
[INFO] [stdout]     |
[INFO] [stdout] 393 |         assert_noop!(Lottery::do_buy_ticket(&1, &calls[0]), TokenError::NotExpendable);
[INFO] [stdout]     |                               ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-5486601204166779867.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:406:23
[INFO] [stdout]     |
[INFO] [stdout] 406 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), vec![]));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `set_calls`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-17724267291280961044.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:406:33
[INFO] [stdout]     |
[INFO] [stdout] 406 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), vec![]));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:408:23
[INFO] [stdout]     |
[INFO] [stdout] 408 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 10, length, delay, false));
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-8644559515608024556.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:408:37
[INFO] [stdout]     |
[INFO] [stdout] 408 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 10, length, delay, false));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:422:14
[INFO] [stdout]     |
[INFO] [stdout] 422 |         assert_eq!(Balances::total_balance(&Lottery::account_id()), 0);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 422 -         assert_eq!(Balances::total_balance(&Lottery::account_id()), 0);
[INFO] [stdout] 422 +         assert_eq!(BalanceOf::total_balance(&Lottery::account_id()), 0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `account_id` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:422:48
[INFO] [stdout]     |
[INFO] [stdout] 422 |         assert_eq!(Balances::total_balance(&Lottery::account_id()), 0);
[INFO] [stdout]     |                                                      ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-6734582590615298650.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:423:23
[INFO] [stdout]     |
[INFO] [stdout] 423 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), price, length, delay, false));
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-8644559515608024556.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:423:37
[INFO] [stdout]     |
[INFO] [stdout] 423 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), price, length, delay, false));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:424:14
[INFO] [stdout]     |
[INFO] [stdout] 424 |         assert_eq!(Balances::total_balance(&Lottery::account_id()), 1);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 424 -         assert_eq!(Balances::total_balance(&Lottery::account_id()), 1);
[INFO] [stdout] 424 +         assert_eq!(BalanceOf::total_balance(&Lottery::account_id()), 1);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `account_id` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:424:48
[INFO] [stdout]     |
[INFO] [stdout] 424 |         assert_eq!(Balances::total_balance(&Lottery::account_id()), 1);
[INFO] [stdout]     |                                                      ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-11862424463885077450.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `choose_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:431:20
[INFO] [stdout]     |
[INFO] [stdout] 431 |         assert!(Lottery::choose_ticket(0).is_none());
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-5080027350673187732.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `choose_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:432:23
[INFO] [stdout]     |
[INFO] [stdout] 432 |         assert_eq!(Lottery::choose_ticket(1).unwrap(), 0);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-12962209917088708589.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |             vec![RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: 0, value: 0 })];
[INFO] [stdout]     |                  ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:441:23
[INFO] [stdout]     |
[INFO] [stdout] 441 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls.clone()));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `set_calls`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-17177610961952056423.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:441:33
[INFO] [stdout]     |
[INFO] [stdout] 441 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls.clone()));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:442:23
[INFO] [stdout]     |
[INFO] [stdout] 442 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 10, 10, 10, false));
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `start_lottery`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-4168100404356925163.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:442:37
[INFO] [stdout]     |
[INFO] [stdout] 442 |         assert_ok!(Lottery::start_lottery(RuntimeOrigin::root(), 10, 10, 10, false));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:446:23
[INFO] [stdout]     |
[INFO] [stdout] 446 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call));
[INFO] [stdout]     |                             ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `buy_ticket`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-9374976998907942808.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:446:34
[INFO] [stdout]     |
[INFO] [stdout] 446 |         assert_ok!(Lottery::buy_ticket(RuntimeOrigin::signed(1), call));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `choose_account` found for struct `frame_support::pallet_prelude::StorageValue<Prefix, Value, QueryKind, OnEmpty>` in the current scope
[INFO] [stdout]    --> src/tests.rs:448:23
[INFO] [stdout]     |
[INFO] [stdout] 448 |         assert_eq!(Lottery::choose_account().unwrap(), 1);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageLottery<_>, LotteryConfig<_, _>>` consider using one of the following associated functions:
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_get
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate
[INFO] [stdout]       frame_support::pallet_prelude::StorageValue::<Prefix, Value, QueryKind, OnEmpty>::try_mutate_exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/value.rs:119:2
[INFO] [stdout]     |
[INFO] [stdout] 119 |       pub fn try_get() -> Result<Value, ()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 | /     pub fn try_mutate<R, E, F: FnOnce(&mut QueryKind::Query) -> Result<R, E>>(
[INFO] [stdout] 174 | |         f: F,
[INFO] [stdout] 175 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] ...
[INFO] [stdout] 185 | /     pub fn try_mutate_exists<R, E, F: FnOnce(&mut Option<Value>) -> Result<R, E>>(
[INFO] [stdout] 186 | |         f: F,
[INFO] [stdout] 187 | |     ) -> Result<R, E> {
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-587a538bf5306731.long-type-5070545643096026003.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope
[INFO] [stdout]   --> src/mock.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 |     type AccountData = pallet_balances::AccountData<u64>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope
[INFO] [stdout]   --> src/mock.rs:72:25
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub type BalancesCall = pallet_balances::Call<Test>;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `sp_io` in this scope
[INFO] [stdout]   --> src/mock.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn new_test_ext() -> sp_io::TestExternalities {
[INFO] [stdout]    |                          ^^^^^ use of unresolved module or unlinked crate `sp_io`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sp_io`, use `cargo add sp_io` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope
[INFO] [stdout]   --> src/mock.rs:76:2
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pallet_balances::GenesisConfig::<Test> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0432, E0433, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-lottery` (lib test) due to 235 previous errors
[INFO] running `Command { std: "docker" "inspect" "f1476a5cf4177726fc1a320c5c95ad4728459e2f6366b08db340ac9566a32275", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1476a5cf4177726fc1a320c5c95ad4728459e2f6366b08db340ac9566a32275", kill_on_drop: false }`
[INFO] [stdout] f1476a5cf4177726fc1a320c5c95ad4728459e2f6366b08db340ac9566a32275
