[INFO] fetching crate pallet-lottery 26.0.0...
[INFO] checking pallet-lottery-26.0.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate pallet-lottery 26.0.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate pallet-lottery 26.0.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-lottery 26.0.0
[INFO] finished tweaking crates.io crate pallet-lottery 26.0.0
[INFO] tweaked toml for crates.io crate pallet-lottery 26.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b433ae200fdbdb8a60b645656ae9d4c36dd371c36bb50ab36152f6dc1b18d143
[INFO] running `Command { std: "docker" "start" "-a" "b433ae200fdbdb8a60b645656ae9d4c36dd371c36bb50ab36152f6dc1b18d143", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b433ae200fdbdb8a60b645656ae9d4c36dd371c36bb50ab36152f6dc1b18d143", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b433ae200fdbdb8a60b645656ae9d4c36dd371c36bb50ab36152f6dc1b18d143", kill_on_drop: false }`
[INFO] [stdout] b433ae200fdbdb8a60b645656ae9d4c36dd371c36bb50ab36152f6dc1b18d143
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0f3a107eeb7d79cd090c7e8b30f9ab2c90483111dda3cb1d810a352acadc2750
[INFO] running `Command { std: "docker" "start" "-a" "0f3a107eeb7d79cd090c7e8b30f9ab2c90483111dda3cb1d810a352acadc2750", kill_on_drop: false }`
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.57
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]     Checking byte-slice-cast v1.2.2
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling target-lexicon v0.12.14
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling rustix v0.36.17
[INFO] [stderr]     Checking sp-std v12.0.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling wasmtime-runtime v8.0.1
[INFO] [stderr]    Compiling cpp_demangle v0.3.5
[INFO] [stderr]    Compiling platforms v3.4.0
[INFO] [stderr]     Checking linux-raw-sys v0.1.4
[INFO] [stderr]     Checking arrayref v0.3.7
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling curve25519-dalek v4.1.2
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]     Checking memfd v0.6.4
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]     Checking wasmtime-jit-debug v8.0.1
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking wasmtime-asm-macros v8.0.1
[INFO] [stderr]    Compiling ref-cast v1.0.22
[INFO] [stderr]    Compiling serde_json v1.0.115
[INFO] [stderr]     Checking wasmtime-jit-icache-coherence v8.0.1
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]    Compiling wasmtime v8.0.1
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking tracing-log v0.1.4
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]     Checking hash-db v0.16.0
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking fixed-hash v0.8.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking getrandom_or_panic v0.0.3
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking environmental v1.1.4
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking constant_time_eq v0.3.0
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking blake2b_simd v1.0.2
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking num-format v0.4.4
[INFO] [stderr]     Checking dyn-clone v1.0.17
[INFO] [stderr]     Checking bitcoin_hashes v0.11.0
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]    Compiling ref-cast-impl v1.0.22
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]     Checking thiserror v1.0.58
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling sp-debug-derive v12.0.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking crypto-mac v0.11.1
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking merlin v3.0.0
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking hmac v0.11.0
[INFO] [stderr]     Checking pbkdf2 v0.8.0
[INFO] [stderr]     Checking curve25519-dalek v3.2.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]     Checking curve25519-dalek v2.1.3
[INFO] [stderr]     Checking merlin v2.0.1
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking ed25519-zebra v3.1.0
[INFO] [stderr]     Checking secp256k1 v0.24.3
[INFO] [stderr]     Checking schnorrkel v0.11.4
[INFO] [stderr]     Checking sp-core-hashing v13.0.0
[INFO] [stderr]     Checking dyn-clonable v0.9.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking schnorrkel v0.9.1
[INFO] [stderr]     Checking hash256-std-hasher v0.15.2
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking substrate-bip39 v0.4.6
[INFO] [stderr]     Checking array-bytes v6.2.2
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking memory-db v0.32.0
[INFO] [stderr]     Checking trie-db v0.28.0
[INFO] [stderr]     Checking trie-root v0.18.0
[INFO] [stderr]     Checking schnellru v0.2.1
[INFO] [stderr]    Compiling sp-io v28.0.0
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]     Checking sp-panic-handler v12.0.0
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]    Compiling prettier-please v0.2.0
[INFO] [stderr]    Compiling derive-syn-parse v0.1.5
[INFO] [stderr]    Compiling fs-err v2.11.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling expander v2.1.0
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]     Checking der v0.7.8
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.0
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]    Compiling sp-core-hashing-proc-macro v13.0.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking cranelift-entity v0.95.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking impl-serde v0.4.0
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling serde_spanned v0.6.5
[INFO] [stderr]     Checking wasmparser v0.102.0
[INFO] [stderr]     Checking gimli v0.27.3
[INFO] [stderr]     Checking object v0.30.4
[INFO] [stderr]    Compiling toml_edit v0.20.2
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]     Checking tracing-serde v0.1.3
[INFO] [stderr]     Checking bip39 v2.0.0
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]    Compiling macro_magic_core v0.5.0
[INFO] [stderr]    Compiling ss58-registry v1.47.0
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling macro_magic_macros v0.5.0
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]    Compiling proc-macro-crate v2.0.2
[INFO] [stderr]     Checking addr2line v0.19.0
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking parity-wasm v0.45.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]     Checking wasmtime-types v8.0.1
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling scale-info-derive v2.11.1
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v15.0.0
[INFO] [stderr]     Checking wasmtime-environ v8.0.1
[INFO] [stderr]    Compiling sp-api-proc-macro v13.0.0
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]    Compiling toml v0.8.2
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.6.9
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v10.0.0
[INFO] [stderr]    Compiling include_dir_macros v0.7.3
[INFO] [stderr]    Compiling common-path v1.0.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling cfg-expr v0.15.7
[INFO] [stderr]    Compiling include_dir v0.7.3
[INFO] [stderr]     Checking wasmtime-jit v8.0.1
[INFO] [stderr]    Compiling frame-support-procedural-tools v9.0.0
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]    Compiling docify_macros v0.2.7
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling async-trait v0.1.79
[INFO] [stderr]    Compiling macro_magic v0.5.0
[INFO] [stderr]    Compiling proc-macro-warning v1.0.2
[INFO] [stderr]    Compiling aquamarine v0.3.3
[INFO] [stderr]    Compiling frame-support-procedural v21.0.0
[INFO] [stderr]     Checking parity-scale-codec v3.6.9
[INFO] [stderr]     Checking k256 v0.13.3
[INFO] [stderr]     Checking scale-info v2.11.1
[INFO] [stderr]     Checking sp-storage v17.0.0
[INFO] [stderr]     Checking impl-codec v0.6.0
[INFO] [stderr]     Checking sp-tracing v14.0.0
[INFO] [stderr]    Compiling sp-version-proc-macro v12.0.0
[INFO] [stderr]     Checking docify v0.2.7
[INFO] [stderr]     Checking sp-wasm-interface v18.0.0
[INFO] [stderr]     Checking tt-call v1.0.9
[INFO] [stderr]     Checking sp-externalities v0.23.0
[INFO] [stderr]     Checking primitive-types v0.12.2
[INFO] [stderr]     Checking bounded-collections v0.1.9
[INFO] [stderr]     Checking sp-arithmetic v21.0.0
[INFO] [stderr]     Checking frame-metadata v16.0.0
[INFO] [stderr]     Checking sp-metadata-ir v0.4.0
[INFO] [stderr]     Checking sp-runtime-interface v22.0.0
[INFO] [stderr]     Checking sp-core v26.0.0
[INFO] [stderr]     Checking sp-trie v27.0.0
[INFO] [stderr]     Checking sp-keystore v0.32.0
[INFO] [stderr]     Checking sp-weights v25.0.0
[INFO] [stderr]     Checking sp-state-machine v0.33.0
[INFO] [stderr]     Checking sp-application-crypto v28.0.0
[INFO] [stderr]     Checking sp-runtime v29.0.0
[INFO] [stderr]     Checking sp-version v27.0.0
[INFO] [stderr]     Checking sp-inherents v24.0.0
[INFO] [stderr]     Checking sp-staking v24.0.0
[INFO] [stderr]     Checking sp-api v24.0.0
[INFO] [stderr]     Checking sp-genesis-builder v0.5.0
[INFO] [stderr]     Checking frame-support v26.0.0
[INFO] [stderr]     Checking frame-system v26.0.0
[INFO] [stderr]     Checking pallet-lottery v26.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 import `sp_core`
[INFO] [stdout]   --> src/mock.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use sp_core::H256;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `sp_core`
[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:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>},
[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:35:47
[INFO] [stdout]    |
[INFO] [stdout] 35 | 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] 35 | 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:50:31
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl frame_system::Config for Test {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/mock.rs:55:23
[INFO] [stdout]    |
[INFO] [stdout] 55 |     type RuntimeOrigin = RuntimeOrigin;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 55 |     type RuntimeOrigin = Self::RuntimeOrigin;
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |     type RuntimeCall = RuntimeCall;
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 57 |     type RuntimeCall = Self::RuntimeCall;
[INFO] [stdout]    |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/mock.rs:63:22
[INFO] [stdout]    |
[INFO] [stdout] 63 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]    |                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 63 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]    |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope
[INFO] [stdout]    --> src/mock.rs:66:20
[INFO] [stdout]     |
[INFO] [stdout] 66  |     type PalletInfo = PalletInfo;
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-support-26.0.0/src/lib.rs:122:1
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct PalletId(pub [u8; 8]);
[INFO] [stdout]     | ------------------- similarly named struct `PalletId` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 66  |     type PalletInfo = Self::PalletInfo;
[INFO] [stdout]     |                       ++++++
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 66  |     type PalletInfo = PalletId;
[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 `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:76:34
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl pallet_balances::Config for Test {
[INFO] [stdout]    |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/mock.rs:81:22
[INFO] [stdout]    |
[INFO] [stdout] 81 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `System` in this scope
[INFO] [stdout]   --> src/mock.rs:84:22
[INFO] [stdout]    |
[INFO] [stdout] 84 |     type AccountStore = System;
[INFO] [stdout]    |                         ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 | 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:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 |     type RuntimeCall = RuntimeCall;
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 99 |     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:100:18
[INFO] [stdout]     |
[INFO] [stdout] 100 |       type Currency = Balances;
[INFO] [stdout]     |                       ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout] 74  | / type BalanceOf<T> =
[INFO] [stdout] 75  | |     <<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:102:22
[INFO] [stdout]     |
[INFO] [stdout] 102 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 102 |     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:110:42
[INFO] [stdout]     |
[INFO] [stdout] 110 | 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] 110 | 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:111:47
[INFO] [stdout]     |
[INFO] [stdout] 111 | 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] 111 | 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:113:26
[INFO] [stdout]     |
[INFO] [stdout] 113 | 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:114:44
[INFO] [stdout]     |
[INFO] [stdout] 114 |     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] 113 | 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:115:35
[INFO] [stdout]     |
[INFO] [stdout] 115 |     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] 113 | 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:125:8
[INFO] [stdout]     |
[INFO] [stdout] 125 |     while System::block_number() < n {
[INFO] [stdout]     |           ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:126:6
[INFO] [stdout]     |
[INFO] [stdout] 126 |         if System::block_number() > 1 {
[INFO] [stdout]     |            ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:127:25
[INFO] [stdout]     |
[INFO] [stdout] 127 |             Lottery::on_finalize(System::block_number());
[INFO] [stdout]     |                                  ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:128:4
[INFO] [stdout]     |
[INFO] [stdout] 128 |             System::on_finalize(System::block_number());
[INFO] [stdout]     |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:128:24
[INFO] [stdout]     |
[INFO] [stdout] 128 |             System::on_finalize(System::block_number());
[INFO] [stdout]     |                                 ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:130:3
[INFO] [stdout]     |
[INFO] [stdout] 130 |         System::set_block_number(System::block_number() + 1);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:130:28
[INFO] [stdout]     |
[INFO] [stdout] 130 |         System::set_block_number(System::block_number() + 1);
[INFO] [stdout]     |                                  ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:131:3
[INFO] [stdout]     |
[INFO] [stdout] 131 |         System::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:131:25
[INFO] [stdout]     |
[INFO] [stdout] 131 |         System::on_initialize(System::block_number());
[INFO] [stdout]     |                               ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:132:26
[INFO] [stdout]     |
[INFO] [stdout] 132 |         Lottery::on_initialize(System::block_number());
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:66:9
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub use pallet::*;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] note: ...and refers to the type alias `Lottery` which is defined here
[INFO] [stdout]    --> src/lib.rs:210:2
[INFO] [stdout]     |
[INFO] [stdout] 210 | /     pub(crate) type Lottery<T: Config> =
[INFO] [stdout] 211 | |         StorageValue<_, LotteryConfig<BlockNumberFor<T>, BalanceOf<T>>>;
[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:67:21
[INFO] [stdout]    |
[INFO] [stdout] 67 |     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:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl pallet_balances::Config for 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:111:25
[INFO] [stdout]     |
[INFO] [stdout] 111 | 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:115:2
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pallet_balances::GenesisConfig::<Test> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 37 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-lottery` (lib test) due to 38 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused implementer of `frame_support::traits::Imbalance` that must be used
[INFO] [stdout]    --> src/lib.rs:371:5
[INFO] [stdout]     |
[INFO] [stdout] 371 |                 T::Currency::deposit_creating(&lottery_account, T::Currency::minimum_balance());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0f3a107eeb7d79cd090c7e8b30f9ab2c90483111dda3cb1d810a352acadc2750", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f3a107eeb7d79cd090c7e8b30f9ab2c90483111dda3cb1d810a352acadc2750", kill_on_drop: false }`
[INFO] [stdout] 0f3a107eeb7d79cd090c7e8b30f9ab2c90483111dda3cb1d810a352acadc2750
[INFO] checking pallet-lottery-26.0.0 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate pallet-lottery 26.0.0 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate pallet-lottery 26.0.0 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-lottery 26.0.0
[INFO] finished tweaking crates.io crate pallet-lottery 26.0.0
[INFO] tweaked toml for crates.io crate pallet-lottery 26.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 259a4fc5b901f593a4a2f694adc8438c804f0211ba03527bf80455c7821f4389
[INFO] running `Command { std: "docker" "start" "-a" "259a4fc5b901f593a4a2f694adc8438c804f0211ba03527bf80455c7821f4389", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "259a4fc5b901f593a4a2f694adc8438c804f0211ba03527bf80455c7821f4389", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "259a4fc5b901f593a4a2f694adc8438c804f0211ba03527bf80455c7821f4389", kill_on_drop: false }`
[INFO] [stdout] 259a4fc5b901f593a4a2f694adc8438c804f0211ba03527bf80455c7821f4389
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 34d94aaa0a3350e6933dfea7256771e3895a625f7d05b294624e2442e1c10004
[INFO] running `Command { std: "docker" "start" "-a" "34d94aaa0a3350e6933dfea7256771e3895a625f7d05b294624e2442e1c10004", kill_on_drop: false }`
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling syn v2.0.57
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]     Checking byte-slice-cast v1.2.2
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]    Compiling target-lexicon v0.12.14
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling rustix v0.36.17
[INFO] [stderr]     Checking sp-std v12.0.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling wasmtime-runtime v8.0.1
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling cpp_demangle v0.3.5
[INFO] [stderr]     Checking linux-raw-sys v0.1.4
[INFO] [stderr]    Compiling platforms v3.4.0
[INFO] [stderr]     Checking arrayref v0.3.7
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.2
[INFO] [stderr]     Checking memfd v0.6.4
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]     Checking wasmtime-jit-debug v8.0.1
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking wasmtime-asm-macros v8.0.1
[INFO] [stderr]    Compiling serde_json v1.0.115
[INFO] [stderr]    Compiling ref-cast v1.0.22
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]     Checking wasmtime-jit-icache-coherence v8.0.1
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling wasmtime v8.0.1
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking tracing-log v0.1.4
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]     Checking hash-db v0.16.0
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking fixed-hash v0.8.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking getrandom_or_panic v0.0.3
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking environmental v1.1.4
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking constant_time_eq v0.3.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking blake2b_simd v1.0.2
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking num-format v0.4.4
[INFO] [stderr]     Checking dyn-clone v1.0.17
[INFO] [stderr]     Checking bitcoin_hashes v0.11.0
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking hash256-std-hasher v0.15.2
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]     Checking array-bytes v6.2.2
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]    Compiling ref-cast-impl v1.0.22
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]     Checking thiserror v1.0.58
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking crypto-mac v0.11.1
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]    Compiling sp-debug-derive v12.0.0
[INFO] [stderr]     Checking merlin v3.0.0
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]     Checking pbkdf2 v0.8.0
[INFO] [stderr]     Checking hmac v0.11.0
[INFO] [stderr]     Checking curve25519-dalek v3.2.0
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking merlin v2.0.1
[INFO] [stderr]     Checking curve25519-dalek v2.1.3
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]     Checking secp256k1 v0.24.3
[INFO] [stderr]     Checking ed25519-zebra v3.1.0
[INFO] [stderr]     Checking sp-core-hashing v13.0.0
[INFO] [stderr]     Checking schnorrkel v0.11.4
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking schnorrkel v0.9.1
[INFO] [stderr]     Checking substrate-bip39 v0.4.6
[INFO] [stderr]     Checking trie-root v0.18.0
[INFO] [stderr]     Checking memory-db v0.32.0
[INFO] [stderr]     Checking dyn-clonable v0.9.0
[INFO] [stderr]     Checking trie-db v0.28.0
[INFO] [stderr]     Checking schnellru v0.2.1
[INFO] [stderr]    Compiling sp-io v28.0.0
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking sp-panic-handler v12.0.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]    Compiling prettier-please v0.2.0
[INFO] [stderr]    Compiling derive-syn-parse v0.1.5
[INFO] [stderr]    Compiling fs-err v2.11.0
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling expander v2.1.0
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]     Checking der v0.7.8
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.0
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]    Compiling macro_magic_core v0.5.0
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]    Compiling sp-core-hashing-proc-macro v13.0.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking parity-wasm v0.45.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]    Compiling macro_magic_macros v0.5.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking cranelift-entity v0.95.1
[INFO] [stderr]     Checking impl-serde v0.4.0
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling serde_spanned v0.6.5
[INFO] [stderr]     Checking gimli v0.27.3
[INFO] [stderr]     Checking wasmparser v0.102.0
[INFO] [stderr]    Compiling toml_edit v0.20.2
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]     Checking object v0.30.4
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking tracing-serde v0.1.3
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling proc-macro-crate v2.0.2
[INFO] [stderr]    Compiling ss58-registry v1.47.0
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]     Checking bip39 v2.0.0
[INFO] [stderr]    Compiling toml v0.8.2
[INFO] [stderr]     Checking addr2line v0.19.0
[INFO] [stderr]     Checking wasmtime-types v8.0.1
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]    Compiling scale-info-derive v2.11.1
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v15.0.0
[INFO] [stderr]    Compiling sp-api-proc-macro v13.0.0
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v10.0.0
[INFO] [stderr]     Checking wasmtime-environ v8.0.1
[INFO] [stderr]    Compiling include_dir_macros v0.7.3
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.6.9
[INFO] [stderr]    Compiling common-path v1.0.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling cfg-expr v0.15.7
[INFO] [stderr]    Compiling docify_macros v0.2.7
[INFO] [stderr]    Compiling frame-support-procedural-tools v9.0.0
[INFO] [stderr]    Compiling include_dir v0.7.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]    Compiling macro_magic v0.5.0
[INFO] [stderr]    Compiling async-trait v0.1.79
[INFO] [stderr]     Checking wasmtime-jit v8.0.1
[INFO] [stderr]    Compiling proc-macro-warning v1.0.2
[INFO] [stderr]     Checking k256 v0.13.3
[INFO] [stderr]    Compiling frame-support-procedural v21.0.0
[INFO] [stderr]    Compiling aquamarine v0.3.3
[INFO] [stderr]     Checking parity-scale-codec v3.6.9
[INFO] [stderr]     Checking docify v0.2.7
[INFO] [stderr]     Checking tt-call v1.0.9
[INFO] [stderr]     Checking scale-info v2.11.1
[INFO] [stderr]     Checking sp-storage v17.0.0
[INFO] [stderr]     Checking impl-codec v0.6.0
[INFO] [stderr]     Checking sp-tracing v14.0.0
[INFO] [stderr]     Checking sp-wasm-interface v18.0.0
[INFO] [stderr]     Checking sp-externalities v0.23.0
[INFO] [stderr]    Compiling sp-version-proc-macro v12.0.0
[INFO] [stderr]     Checking primitive-types v0.12.2
[INFO] [stderr]     Checking bounded-collections v0.1.9
[INFO] [stderr]     Checking sp-arithmetic v21.0.0
[INFO] [stderr]     Checking frame-metadata v16.0.0
[INFO] [stderr]     Checking sp-metadata-ir v0.4.0
[INFO] [stderr]     Checking sp-runtime-interface v22.0.0
[INFO] [stderr]     Checking sp-core v26.0.0
[INFO] [stderr]     Checking sp-trie v27.0.0
[INFO] [stderr]     Checking sp-keystore v0.32.0
[INFO] [stderr]     Checking sp-weights v25.0.0
[INFO] [stderr]     Checking sp-state-machine v0.33.0
[INFO] [stderr]     Checking sp-application-crypto v28.0.0
[INFO] [stderr]     Checking sp-runtime v29.0.0
[INFO] [stderr]     Checking sp-version v27.0.0
[INFO] [stderr]     Checking sp-inherents v24.0.0
[INFO] [stderr]     Checking sp-staking v24.0.0
[INFO] [stderr]     Checking sp-api v24.0.0
[INFO] [stderr]     Checking sp-genesis-builder v0.5.0
[INFO] [stderr]     Checking frame-support v26.0.0
[INFO] [stderr]     Checking frame-system v26.0.0
[INFO] [stderr]     Checking pallet-lottery v26.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 import `sp_core`
[INFO] [stdout]   --> src/mock.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use sp_core::H256;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `sp_core`
[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:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>},
[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:35:47
[INFO] [stdout]    |
[INFO] [stdout] 35 | 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] 35 | 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:50:31
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl frame_system::Config for Test {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/mock.rs:55:23
[INFO] [stdout]    |
[INFO] [stdout] 55 |     type RuntimeOrigin = RuntimeOrigin;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 55 |     type RuntimeOrigin = Self::RuntimeOrigin;
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |     type RuntimeCall = RuntimeCall;
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 57 |     type RuntimeCall = Self::RuntimeCall;
[INFO] [stdout]    |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/mock.rs:63:22
[INFO] [stdout]    |
[INFO] [stdout] 63 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]    |                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 63 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]    |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope
[INFO] [stdout]    --> src/mock.rs:66:20
[INFO] [stdout]     |
[INFO] [stdout] 66  |     type PalletInfo = PalletInfo;
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-support-26.0.0/src/lib.rs:122:1
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct PalletId(pub [u8; 8]);
[INFO] [stdout]     | ------------------- similarly named struct `PalletId` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 66  |     type PalletInfo = Self::PalletInfo;
[INFO] [stdout]     |                       ++++++
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 66  |     type PalletInfo = PalletId;
[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 `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:76:34
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl pallet_balances::Config for Test {
[INFO] [stdout]    |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/mock.rs:81:22
[INFO] [stdout]    |
[INFO] [stdout] 81 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `System` in this scope
[INFO] [stdout]   --> src/mock.rs:84:22
[INFO] [stdout]    |
[INFO] [stdout] 84 |     type AccountStore = System;
[INFO] [stdout]    |                         ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 | 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:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 |     type RuntimeCall = RuntimeCall;
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 99 |     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:100:18
[INFO] [stdout]     |
[INFO] [stdout] 100 |       type Currency = Balances;
[INFO] [stdout]     |                       ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:74:1
[INFO] [stdout]     |
[INFO] [stdout] 74  | / type BalanceOf<T> =
[INFO] [stdout] 75  | |     <<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:102:22
[INFO] [stdout]     |
[INFO] [stdout] 102 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 102 |     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:110:42
[INFO] [stdout]     |
[INFO] [stdout] 110 | 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] 110 | 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:111:47
[INFO] [stdout]     |
[INFO] [stdout] 111 | 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] 111 | 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:113:26
[INFO] [stdout]     |
[INFO] [stdout] 113 | 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:114:44
[INFO] [stdout]     |
[INFO] [stdout] 114 |     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] 113 | 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:115:35
[INFO] [stdout]     |
[INFO] [stdout] 115 |     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] 113 | 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:125:8
[INFO] [stdout]     |
[INFO] [stdout] 125 |     while System::block_number() < n {
[INFO] [stdout]     |           ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:126:6
[INFO] [stdout]     |
[INFO] [stdout] 126 |         if System::block_number() > 1 {
[INFO] [stdout]     |            ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:127:25
[INFO] [stdout]     |
[INFO] [stdout] 127 |             Lottery::on_finalize(System::block_number());
[INFO] [stdout]     |                                  ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:128:4
[INFO] [stdout]     |
[INFO] [stdout] 128 |             System::on_finalize(System::block_number());
[INFO] [stdout]     |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:128:24
[INFO] [stdout]     |
[INFO] [stdout] 128 |             System::on_finalize(System::block_number());
[INFO] [stdout]     |                                 ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:130:3
[INFO] [stdout]     |
[INFO] [stdout] 130 |         System::set_block_number(System::block_number() + 1);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:130:28
[INFO] [stdout]     |
[INFO] [stdout] 130 |         System::set_block_number(System::block_number() + 1);
[INFO] [stdout]     |                                  ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:131:3
[INFO] [stdout]     |
[INFO] [stdout] 131 |         System::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:131:25
[INFO] [stdout]     |
[INFO] [stdout] 131 |         System::on_initialize(System::block_number());
[INFO] [stdout]     |                               ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:132:26
[INFO] [stdout]     |
[INFO] [stdout] 132 |         Lottery::on_initialize(System::block_number());
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[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:66:9
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub use pallet::*;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] note: ...and refers to the type alias `Lottery` which is defined here
[INFO] [stdout]    --> src/lib.rs:210:2
[INFO] [stdout]     |
[INFO] [stdout] 210 | /     pub(crate) type Lottery<T: Config> =
[INFO] [stdout] 211 | |         StorageValue<_, LotteryConfig<BlockNumberFor<T>, BalanceOf<T>>>;
[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:67:21
[INFO] [stdout]    |
[INFO] [stdout] 67 |     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:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl pallet_balances::Config for 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:111:25
[INFO] [stdout]     |
[INFO] [stdout] 111 | 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:115:2
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pallet_balances::GenesisConfig::<Test> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 37 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-lottery` (lib test) due to 38 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused implementer of `frame_support::traits::Imbalance` that must be used
[INFO] [stdout]    --> src/lib.rs:371:5
[INFO] [stdout]     |
[INFO] [stdout] 371 |                 T::Currency::deposit_creating(&lottery_account, T::Currency::minimum_balance());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "34d94aaa0a3350e6933dfea7256771e3895a625f7d05b294624e2442e1c10004", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34d94aaa0a3350e6933dfea7256771e3895a625f7d05b294624e2442e1c10004", kill_on_drop: false }`
[INFO] [stdout] 34d94aaa0a3350e6933dfea7256771e3895a625f7d05b294624e2442e1c10004
