[INFO] fetching crate pallet-lottery 38.0.0...
[INFO] checking pallet-lottery-38.0.0 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate pallet-lottery 38.0.0 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate pallet-lottery 38.0.0 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-lottery 38.0.0
[INFO] finished tweaking crates.io crate pallet-lottery 38.0.0
[INFO] tweaked toml for crates.io crate pallet-lottery 38.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 328 packages to latest compatible versions
[INFO] [stderr]       Adding unicode-normalization v0.1.22 (available: v0.1.24)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 10f5e28ad9fa044f14747a8f3fd7fd991948d1eaf93a0378a4e27cf6281e6fbb
[INFO] running `Command { std: "docker" "start" "-a" "10f5e28ad9fa044f14747a8f3fd7fd991948d1eaf93a0378a4e27cf6281e6fbb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "10f5e28ad9fa044f14747a8f3fd7fd991948d1eaf93a0378a4e27cf6281e6fbb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10f5e28ad9fa044f14747a8f3fd7fd991948d1eaf93a0378a4e27cf6281e6fbb", kill_on_drop: false }`
[INFO] [stdout] 10f5e28ad9fa044f14747a8f3fd7fd991948d1eaf93a0378a4e27cf6281e6fbb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 87825d47c179e17c0a45cec3687108430099397b1433eac28a447c312b7b48c8
[INFO] running `Command { std: "docker" "start" "-a" "87825d47c179e17c0a45cec3687108430099397b1433eac28a447c312b7b48c8", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling parity-scale-codec v3.7.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking sp-std v14.0.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling sp-io v38.0.0
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]     Checking serdect v0.2.0
[INFO] [stderr]     Checking impl-serde v0.4.0
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking parity-bip39 v2.0.1
[INFO] [stderr]     Checking libsecp256k1 v0.7.1
[INFO] [stderr]     Checking serde_json v1.0.133
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking schnorrkel v0.11.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]    Compiling aquamarine v0.5.0
[INFO] [stderr]     Checking scale-info v2.11.6
[INFO] [stderr]     Checking sp-storage v21.0.0
[INFO] [stderr]     Checking impl-codec v0.6.0
[INFO] [stderr]     Checking sp-wasm-interface v21.0.1
[INFO] [stderr]     Checking sp-tracing v17.0.1
[INFO] [stderr]     Checking substrate-bip39 v0.6.0
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]     Checking sp-externalities v0.29.0
[INFO] [stderr]     Checking dyn-clonable v0.9.0
[INFO] [stderr]     Checking bounded-collections v0.2.2
[INFO] [stderr]     Checking primitive-types v0.12.2
[INFO] [stderr]     Checking sp-arithmetic v26.0.0
[INFO] [stderr]     Checking frame-metadata v16.0.0
[INFO] [stderr]     Checking sp-metadata-ir v0.7.0
[INFO] [stderr]     Checking sp-weights v31.0.0
[INFO] [stderr]     Checking sp-runtime-interface v28.0.0
[INFO] [stderr]     Checking sp-core v34.0.0
[INFO] [stderr]     Checking sp-trie v37.0.0
[INFO] [stderr]     Checking sp-keystore v0.40.0
[INFO] [stderr]     Checking sp-state-machine v0.43.0
[INFO] [stderr]     Checking sp-application-crypto v38.0.0
[INFO] [stderr]     Checking sp-runtime v39.0.2
[INFO] [stderr]     Checking sp-version v37.0.0
[INFO] [stderr]     Checking sp-inherents v34.0.0
[INFO] [stderr]     Checking sp-staking v36.0.0
[INFO] [stderr]     Checking sp-api v34.0.0
[INFO] [stderr]     Checking sp-genesis-builder v0.15.1
[INFO] [stderr]     Checking frame-support v38.0.0
[INFO] [stderr]     Checking frame-system v38.0.0
[INFO] [stderr]     Checking pallet-lottery v38.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `frame_support_test`
[INFO] [stdout]   --> src/mock.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use frame_support_test::TestRandomness;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_support_test`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 27 | use frame_support::TestRandomness;
[INFO] [stdout]    |     ~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `mock::Balances`, `mock::RuntimeCall`, `mock::RuntimeOrigin`, `mock::Test`
[INFO] [stdout]   --> src/tests.rs:23:30
[INFO] [stdout]    |
[INFO] [stdout] 23 |     new_test_ext, run_to_block, Balances, BalancesCall, Lottery, RuntimeCall, RuntimeOrigin,
[INFO] [stdout]    |                                 ^^^^^^^^                         ^^^^^^^^^^^  ^^^^^^^^^^^^^ no `RuntimeOrigin` in `mock`
[INFO] [stdout]    |                                 |                                |
[INFO] [stdout]    |                                 |                                no `RuntimeCall` in `mock`
[INFO] [stdout]    |                                 no `Balances` in `mock`
[INFO] [stdout]    |                                 help: a similar name exists in the module: `BalanceOf`
[INFO] [stdout] 24 |     SystemCall, Test,
[INFO] [stdout]    |                 ^^^^ no `Test` in `mock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:52:15
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Balances: pallet_balances,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:31:47
[INFO] [stdout]    |
[INFO] [stdout] 31 | 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] 31 | type Block<Test> = frame_system::mocking::MockBlock<Test>;
[INFO] [stdout]    |           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:47:31
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl frame_system::Config for Test {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/mock.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[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-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:308:9
[INFO] [stdout]    |
[INFO] [stdout] 308|             type Self::RuntimeEvent = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/mock.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[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-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:310:9
[INFO] [stdout]    |
[INFO] [stdout] 310|             type Self::RuntimeOrigin = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[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-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:312:9
[INFO] [stdout]    |
[INFO] [stdout] 312|             type Self::RuntimeCall = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope
[INFO] [stdout]   --> src/mock.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[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-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:314:9
[INFO] [stdout]    |
[INFO] [stdout] 314|             type Self::PalletInfo = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 20 + use frame_support::traits::PalletInfo;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope
[INFO] [stdout]   --> src/mock.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[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-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:316:9
[INFO] [stdout]    |
[INFO] [stdout] 316|             type Self::RuntimeTask = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl Config for Test {
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |     type RuntimeCall = RuntimeCall;
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 63 |     type RuntimeCall = Self::RuntimeCall;
[INFO] [stdout]    |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope
[INFO] [stdout]   --> src/mock.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 64 |       type Currency = Balances;
[INFO] [stdout]    |                       ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf`
[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] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/mock.rs:66:22
[INFO] [stdout]    |
[INFO] [stdout] 66 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]    |                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 66 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]    |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:74:42
[INFO] [stdout]    |
[INFO] [stdout] 74 | 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] 74 | pub type SystemCall<Test> = frame_system::Call<Test>;
[INFO] [stdout]    |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:75:47
[INFO] [stdout]    |
[INFO] [stdout] 75 | 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] 75 | pub type BalancesCall<Test> = pallet_balances::Call<Test>;
[INFO] [stdout]    |                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io`
[INFO] [stdout]   --> src/mock.rs:77:26
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn new_test_ext() -> sp_io::TestExternalities {
[INFO] [stdout]    |                          ^^^^^ use of undeclared crate or module `sp_io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:78:44
[INFO] [stdout]    |
[INFO] [stdout] 78 |     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] 77 | pub fn new_test_ext<Test>() -> sp_io::TestExternalities {
[INFO] [stdout]    |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:79:35
[INFO] [stdout]    |
[INFO] [stdout] 79 |     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] 77 | pub fn new_test_ext<Test>() -> sp_io::TestExternalities {
[INFO] [stdout]    |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/mock.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 |     while System::block_number() < n {
[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[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/mock.rs:90:6
[INFO] [stdout]    |
[INFO] [stdout] 90 |         if System::block_number() > 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[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/mock.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |             Lottery::on_finalize(System::block_number());
[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[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/mock.rs:92:4
[INFO] [stdout]    |
[INFO] [stdout] 92 |             System::on_finalize(System::block_number());
[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[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/mock.rs:92:24
[INFO] [stdout]    |
[INFO] [stdout] 92 |             System::on_finalize(System::block_number());
[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[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/mock.rs:94:3
[INFO] [stdout]    |
[INFO] [stdout] 94 |         System::set_block_number(System::block_number() + 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[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/mock.rs:94:28
[INFO] [stdout]    |
[INFO] [stdout] 94 |         System::set_block_number(System::block_number() + 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[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/mock.rs:95:3
[INFO] [stdout]    |
[INFO] [stdout] 95 |         System::on_initialize(System::block_number());
[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[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/mock.rs:95:25
[INFO] [stdout]    |
[INFO] [stdout] 95 |         System::on_initialize(System::block_number());
[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[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/mock.rs:96:26
[INFO] [stdout]    |
[INFO] [stdout] 96 |         Lottery::on_initialize(System::block_number());
[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[E0603]: type alias import `Lottery` is private
[INFO] [stdout]    --> src/tests.rs:23:54
[INFO] [stdout]     |
[INFO] [stdout] 23  |     new_test_ext, run_to_block, Balances, BalancesCall, Lottery, RuntimeCall, RuntimeOrigin,
[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:212:2
[INFO] [stdout]     |
[INFO] [stdout] 212 | /     pub(crate) type Lottery<T: Config> =
[INFO] [stdout] 213 | |         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:69:22
[INFO] [stdout]     |
[INFO] [stdout] 69  |     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:212:18
[INFO] [stdout]     |
[INFO] [stdout] 212 |     pub(crate) type Lottery<T: Config> =
[INFO] [stdout]     |                     ^^^^^^^ -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 69  |     type ValidateCall = Lottery<T>;
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `on_finalize` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/mock.rs:91:13
[INFO] [stdout]     |
[INFO] [stdout] 91  |             Lottery::on_finalize(System::block_number());
[INFO] [stdout]     |                      ^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-8871495024128934769.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `on_initialize` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/mock.rs:96:12
[INFO] [stdout]     |
[INFO] [stdout] 96  |         Lottery::on_initialize(System::block_number());
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-8988853054743773078.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `account_id` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:31:46
[INFO] [stdout]     |
[INFO] [stdout] 31  |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-6578412897484415380.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:51:23
[INFO] [stdout]     |
[INFO] [stdout] 51  |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-3936046257226402454.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:54:23
[INFO] [stdout]     |
[INFO] [stdout] 54  |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-16758883364038625048.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:62:23
[INFO] [stdout]     |
[INFO] [stdout] 62  |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-7982587086988762116.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:71:23
[INFO] [stdout]     |
[INFO] [stdout] 71  |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-9012330359897083015.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:72:23
[INFO] [stdout]     |
[INFO] [stdout] 72  |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-14843731920010887011.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:73:23
[INFO] [stdout]     |
[INFO] [stdout] 73  |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-9352335042763112166.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:78:23
[INFO] [stdout]     |
[INFO] [stdout] 78  |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-15182345655112872411.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:105:23
[INFO] [stdout]     |
[INFO] [stdout] 105 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), vec![]));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-13805643733334129491.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:107:23
[INFO] [stdout]     |
[INFO] [stdout] 107 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-10384122952650420232.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `stop_repeat` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:110:25
[INFO] [stdout]     |
[INFO] [stdout] 110 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-16049663306073062688.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `stop_repeat` found for struct `StorageValue` 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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-16842012199265524754.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `stop_repeat` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:113:23
[INFO] [stdout]     |
[INFO] [stdout] 113 |         assert_ok!(Lottery::stop_repeat(RuntimeOrigin::root()));
[INFO] [stdout]     |                             ^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-1765826287834856132.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:137:23
[INFO] [stdout]     |
[INFO] [stdout] 137 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-15595304481570431130.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |             Lottery::set_calls(RuntimeOrigin::root(), too_many_calls),
[INFO] [stdout]     |                      ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-8446088990333299448.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:152:23
[INFO] [stdout]     |
[INFO] [stdout] 152 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), vec![]));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-7553499941131166267.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `calls_to_indices` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:164:26
[INFO] [stdout]     |
[INFO] [stdout] 164 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-15595304481570431130.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `calls_to_indices` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:174:25
[INFO] [stdout]     |
[INFO] [stdout] 174 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-9355004809170836262.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |             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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-13999268079782492016.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:192:23
[INFO] [stdout]     |
[INFO] [stdout] 192 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-12915352540776717533.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:196:13
[INFO] [stdout]     |
[INFO] [stdout] 196 |             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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-18225882714035888085.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:213:23
[INFO] [stdout]     |
[INFO] [stdout] 213 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-15110880374799035977.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:222:23
[INFO] [stdout]     |
[INFO] [stdout] 222 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-17850802406772678426.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:225:23
[INFO] [stdout]     |
[INFO] [stdout] 225 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-16691090235649731903.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:226:23
[INFO] [stdout]     |
[INFO] [stdout] 226 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-16789631198793626778.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:236:13
[INFO] [stdout]     |
[INFO] [stdout] 236 |             Lottery::buy_ticket(RuntimeOrigin::signed(1), fail_call),
[INFO] [stdout]     |                      ^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-35488888251598206.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:245:25
[INFO] [stdout]     |
[INFO] [stdout] 245 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-7424394045341252020.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:250:23
[INFO] [stdout]     |
[INFO] [stdout] 250 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-8722967182533567120.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:257:23
[INFO] [stdout]     |
[INFO] [stdout] 257 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-16127521249401911796.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:270:23
[INFO] [stdout]     |
[INFO] [stdout] 270 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), calls));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-5684861225748743013.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:277:23
[INFO] [stdout]     |
[INFO] [stdout] 277 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-17042708854352255852.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:281:23
[INFO] [stdout]     |
[INFO] [stdout] 281 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-9824741171718678371.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:285:23
[INFO] [stdout]     |
[INFO] [stdout] 285 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-12271161589323775996.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:293:23
[INFO] [stdout]     |
[INFO] [stdout] 293 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-14697365170248819469.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:299:23
[INFO] [stdout]     |
[INFO] [stdout] 299 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-12155288854463508997.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:304:23
[INFO] [stdout]     |
[INFO] [stdout] 304 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-15076772235199906741.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:309:23
[INFO] [stdout]     |
[INFO] [stdout] 309 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-4392621714682041612.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:322:23
[INFO] [stdout]     |
[INFO] [stdout] 322 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-17808814907441399399.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:323:23
[INFO] [stdout]     |
[INFO] [stdout] 323 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-15584753692739792667.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `do_buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:326:23
[INFO] [stdout]     |
[INFO] [stdout] 326 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-4242357995820906650.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `do_buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:328:25
[INFO] [stdout]     |
[INFO] [stdout] 328 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-1568452211280402378.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:338:23
[INFO] [stdout]     |
[INFO] [stdout] 338 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-15595304481570431130.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:339:23
[INFO] [stdout]     |
[INFO] [stdout] 339 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-10097380240734714539.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:343:23
[INFO] [stdout]     |
[INFO] [stdout] 343 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-9692732444772795786.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:346:33
[INFO] [stdout]     |
[INFO] [stdout] 346 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-12959820949823698956.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:359:23
[INFO] [stdout]     |
[INFO] [stdout] 359 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-2128568813260462525.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:361:23
[INFO] [stdout]     |
[INFO] [stdout] 361 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-10384122952650420232.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:365:33
[INFO] [stdout]     |
[INFO] [stdout] 365 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-2408154043275837051.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:375:23
[INFO] [stdout]     |
[INFO] [stdout] 375 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-13999268079782492016.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:377:23
[INFO] [stdout]     |
[INFO] [stdout] 377 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-15539777361935224200.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `do_buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:380:25
[INFO] [stdout]     |
[INFO] [stdout] 380 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-2408154043275837051.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:390:23
[INFO] [stdout]     |
[INFO] [stdout] 390 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-13999268079782492016.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:392:23
[INFO] [stdout]     |
[INFO] [stdout] 392 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-15539777361935224200.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `do_buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:394:25
[INFO] [stdout]     |
[INFO] [stdout] 394 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-2408154043275837051.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:407:23
[INFO] [stdout]     |
[INFO] [stdout] 407 |         assert_ok!(Lottery::set_calls(RuntimeOrigin::root(), vec![]));
[INFO] [stdout]     |                             ^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-1709356829165248694.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:409:23
[INFO] [stdout]     |
[INFO] [stdout] 409 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-15967443364004550530.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `account_id` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:423:48
[INFO] [stdout]     |
[INFO] [stdout] 423 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-1939617404137019058.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:424:23
[INFO] [stdout]     |
[INFO] [stdout] 424 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-15967443364004550530.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `account_id` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:425:48
[INFO] [stdout]     |
[INFO] [stdout] 425 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-16039635609733133805.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `choose_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:432:20
[INFO] [stdout]     |
[INFO] [stdout] 432 |         assert!(Lottery::choose_ticket(0).is_none());
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-11976326503957782487.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `choose_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:433:23
[INFO] [stdout]     |
[INFO] [stdout] 433 |         assert_eq!(Lottery::choose_ticket(1).unwrap(), 0);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-5789857813152568447.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `set_calls` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:442:23
[INFO] [stdout]     |
[INFO] [stdout] 442 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-2128568813260462525.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `start_lottery` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:443:23
[INFO] [stdout]     |
[INFO] [stdout] 443 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-10384122952650420232.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `buy_ticket` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:447:23
[INFO] [stdout]     |
[INFO] [stdout] 447 |         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: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-2408154043275837051.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `choose_account` found for struct `StorageValue` in the current scope
[INFO] [stdout]    --> src/tests.rs:449:23
[INFO] [stdout]     |
[INFO] [stdout] 449 |         assert_eq!(Lottery::choose_account().unwrap(), 1);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ function or associated item not found in `StorageValue<_GeneratedPrefixForStorageLottery<_>, ...>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/deps/pallet_lottery-42ba3dde959e0bec.long-type-12902606375415295984.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[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-6f17d22bba15001f/frame-support-38.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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 |     type AccountData = pallet_balances::AccountData<u64>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:75:25
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub type BalancesCall = pallet_balances::Call<Test>;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:79:2
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pallet_balances::GenesisConfig::<Test> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, 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 102 previous errors
[INFO] running `Command { std: "docker" "inspect" "87825d47c179e17c0a45cec3687108430099397b1433eac28a447c312b7b48c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87825d47c179e17c0a45cec3687108430099397b1433eac28a447c312b7b48c8", kill_on_drop: false }`
[INFO] [stdout] 87825d47c179e17c0a45cec3687108430099397b1433eac28a447c312b7b48c8
