[INFO] fetching crate pallet-babe 46.0.0... [INFO] testing pallet-babe-46.0.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate pallet-babe 46.0.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate pallet-babe 46.0.0 [INFO] finished tweaking crates.io crate pallet-babe 46.0.0 [INFO] tweaked toml for crates.io crate pallet-babe 46.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-babe 46.0.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-babe 46.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-debug-derive v15.0.0 [INFO] [stderr] Downloaded sp-weights v34.0.0 [INFO] [stderr] Downloaded proc-macro-warning v1.0.0 [INFO] [stderr] Downloaded include_dir v0.7.3 [INFO] [stderr] Downloaded sp-staking v43.0.0 [INFO] [stderr] Downloaded rustversion v1.0.17 [INFO] [stderr] Downloaded linregress v0.5.2 [INFO] [stderr] Downloaded serde_bytes v0.11.12 [INFO] [stderr] Downloaded rustc_version v0.4.0 [INFO] [stderr] Downloaded sp-storage v23.0.0 [INFO] [stderr] Downloaded cfg-expr v0.15.5 [INFO] [stderr] Downloaded include_dir_macros v0.7.3 [INFO] [stderr] Downloaded polkavm-derive-impl-macro v0.31.0 [INFO] [stderr] Downloaded sp-wasm-interface v24.0.0 [INFO] [stderr] Downloaded sp-inherents v41.0.0 [INFO] [stderr] Downloaded nalgebra-macros v0.2.1 [INFO] [stderr] Downloaded pallet-authorship v46.0.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.7 [INFO] [stderr] Downloaded safe_arch v0.7.1 [INFO] [stderr] Downloaded pallet-session v46.0.0 [INFO] [stderr] Downloaded frame-support-procedural v37.0.0 [INFO] [stderr] Downloaded sp-trie v43.0.0 [INFO] [stderr] Downloaded h2 v0.4.5 [INFO] [stderr] Downloaded pallet-balances v47.0.0 [INFO] [stderr] Downloaded gimli v0.28.0 [INFO] [stderr] Downloaded winnow v0.6.18 [INFO] [stderr] Downloaded sp-state-machine v0.50.0 [INFO] [stderr] Downloaded der v0.7.8 [INFO] [stderr] Downloaded frame-support v46.0.0 [INFO] [stderr] Downloaded crypto-bigint v0.5.2 [INFO] [stderr] Downloaded wide v0.7.11 [INFO] [stderr] Downloaded nalgebra v0.32.3 [INFO] [stderr] Downloaded sharded-slab v0.1.4 [INFO] [stderr] Downloaded serde_json v1.0.132 [INFO] [stderr] Downloaded sp-core v40.0.0 [INFO] [stderr] Downloaded prometheus v0.13.3 [INFO] [stderr] Downloaded fiat-crypto v0.2.5 [INFO] [stderr] Downloaded frame-benchmarking v46.0.0 [INFO] [stderr] Downloaded frame-system v46.0.0 [INFO] [stderr] Downloaded trie-db v0.31.0 [INFO] [stderr] Downloaded toml_edit v0.22.22 [INFO] [stderr] Downloaded bytemuck v1.13.1 [INFO] [stderr] Downloaded simba v0.8.1 [INFO] [stderr] Downloaded sp-api v41.0.0 [INFO] [stderr] Downloaded regex-automata v0.4.8 [INFO] [stderr] Downloaded prettyplease v0.2.12 [INFO] [stderr] Downloaded libsecp256k1 v0.7.1 [INFO] [stderr] Downloaded const-oid v0.9.5 [INFO] [stderr] Downloaded typenum v1.16.0 [INFO] [stderr] Downloaded cc v1.2.35 [INFO] [stderr] Downloaded jam-codec v0.1.0 [INFO] [stderr] Downloaded pallet-timestamp v45.0.0 [INFO] [stderr] Downloaded sp-consensus-slots v0.47.0 [INFO] [stderr] Downloaded sp-runtime v46.0.0 [INFO] [stderr] Downloaded tokio v1.45.0 [INFO] [stderr] Downloaded sp-api-proc-macro v27.0.0 [INFO] [stderr] Downloaded ark-vrf v0.1.0 [INFO] [stderr] Downloaded sp-session v43.0.0 [INFO] [stderr] Downloaded picosimd v0.9.2 [INFO] [stderr] Downloaded polkavm-common v0.31.0 [INFO] [stderr] Downloaded sp-io v45.0.0 [INFO] [stderr] Downloaded hex-conservative v0.1.1 [INFO] [stderr] Downloaded ecdsa v0.16.8 [INFO] [stderr] Downloaded ss58-registry v1.43.0 [INFO] [stderr] Downloaded schnorrkel v0.11.4 [INFO] [stderr] Downloaded redox_syscall v0.3.5 [INFO] [stderr] Downloaded thiserror v1.0.65 [INFO] [stderr] Downloaded toml v0.8.19 [INFO] [stderr] Downloaded frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Downloaded frame-support-procedural-tools v13.0.1 [INFO] [stderr] Downloaded sp-genesis-builder v0.22.0 [INFO] [stderr] Downloaded sp-timestamp v41.0.0 [INFO] [stderr] Downloaded sp-consensus-babe v0.47.0 [INFO] [stderr] Downloaded sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Downloaded sp-version v44.0.0 [INFO] [stderr] Downloaded sp-application-crypto v45.0.0 [INFO] [stderr] Downloaded sp-keystore v0.46.0 [INFO] [stderr] Downloaded polkavm-derive-impl v0.31.0 [INFO] [stderr] Downloaded fs-err v2.9.0 [INFO] [stderr] Downloaded sp-runtime-interface v34.0.0 [INFO] [stderr] Downloaded array-bytes v6.2.2 [INFO] [stderr] Downloaded ed25519 v2.2.2 [INFO] [stderr] Downloaded semver v1.0.18 [INFO] [stderr] Downloaded find-msvc-tools v0.1.0 [INFO] [stderr] Downloaded jam-codec-derive v0.1.0 [INFO] [stderr] Downloaded toml_edit v0.21.0 [INFO] [stderr] Downloaded sp-metadata-ir v0.12.3 [INFO] [stderr] Downloaded sp-version-proc-macro v15.0.0 [INFO] [stderr] Downloaded binary-merkle-tree v16.1.1 [INFO] [stderr] Downloaded polkavm-derive v0.31.0 [INFO] [stderr] Downloaded thread_local v1.1.7 [INFO] [stderr] Downloaded sp-tracing v19.0.0 [INFO] [stderr] Downloaded enum-ordinalize-derive v4.3.1 [INFO] [stderr] Downloaded signature v2.1.0 [INFO] [stderr] Downloaded blake2b_simd v1.0.2 [INFO] [stderr] Downloaded cpufeatures v0.2.9 [INFO] [stderr] Downloaded sp-panic-handler v13.0.2 [INFO] [stderr] Downloaded schnellru v0.2.3 [INFO] [stderr] Downloaded ed25519-zebra v4.0.3 [INFO] [stderr] Downloaded sp-crypto-hashing v0.1.0 [INFO] [stderr] Downloaded winnow v0.5.15 [INFO] [stderr] Downloaded sp-runtime-interface-proc-macro v21.0.0 [INFO] [stderr] Downloaded enum-ordinalize v4.3.0 [INFO] [stderr] Downloaded termcolor v1.2.0 [INFO] [stderr] Downloaded spki v0.7.2 [INFO] [stderr] Downloaded sp-std v14.0.0 [INFO] [stderr] Downloaded substrate-bip39 v0.6.1 [INFO] [stderr] Downloaded arrayref v0.3.7 [INFO] [stderr] Downloaded sp-externalities v0.32.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.65 [INFO] [stderr] Downloaded curve25519-dalek-derive v0.1.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.8 [INFO] [stderr] Downloaded serde_spanned v0.6.7 [INFO] [stderr] Downloaded lock_api v0.4.10 [INFO] [stderr] Downloaded substrate-prometheus-endpoint v0.17.7 [INFO] [stderr] Downloaded sp-arithmetic v28.0.1 [INFO] [stderr] Downloaded atomic-waker v1.1.1 [INFO] [stderr] Downloaded keccak v0.1.4 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 135889a594f7ef3ae2829f8051aed3071cf0cd5b105bb7dbc75da479b3845fb1 [INFO] running `Command { std: "docker" "start" "-a" "135889a594f7ef3ae2829f8051aed3071cf0cd5b105bb7dbc75da479b3845fb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "135889a594f7ef3ae2829f8051aed3071cf0cd5b105bb7dbc75da479b3845fb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "135889a594f7ef3ae2829f8051aed3071cf0cd5b105bb7dbc75da479b3845fb1", kill_on_drop: false }` [INFO] [stdout] 135889a594f7ef3ae2829f8051aed3071cf0cd5b105bb7dbc75da479b3845fb1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41246d5268e7fc8b64a51a577d3a2a4b07ab3353fb4167b6fb99921ec4d3c937 [INFO] running `Command { std: "docker" "start" "-a" "41246d5268e7fc8b64a51a577d3a2a4b07ab3353fb4167b6fb99921ec4d3c937", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling const-oid v0.9.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling spki v0.7.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling sp-debug-derive v15.0.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling crypto-bigint v0.5.2 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ed25519 v2.2.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling hex-conservative v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling ecdsa v0.16.8 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling jam-codec-derive v0.1.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling sp-storage v23.0.0 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling sp-externalities v0.32.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling bounded-collections v0.3.2 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling bip39 v2.2.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling substrate-bip39 v0.6.1 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling array-bytes v6.2.2 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling schnellru v0.2.3 [INFO] [stderr] Compiling trie-db v0.31.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling sp-core v40.0.0 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.17.7 [INFO] [stderr] Compiling memory-db v0.34.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v21.0.0 [INFO] [stderr] Compiling sp-wasm-interface v24.0.0 [INFO] [stderr] Compiling sp-io v45.0.0 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling sp-arithmetic v28.0.1 [INFO] [stderr] Compiling binary-merkle-tree v16.1.1 [INFO] [stderr] Compiling sp-trie v43.0.0 [INFO] [stderr] Compiling sp-tracing v19.0.0 [INFO] [stderr] Compiling sp-keystore v0.46.0 [INFO] [stderr] Compiling sp-runtime-interface v34.0.0 [INFO] [stderr] Compiling sp-weights v34.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling sp-state-machine v0.50.0 [INFO] [stderr] Compiling frame-metadata v23.0.1 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling sp-api-proc-macro v27.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling sp-metadata-ir v0.12.3 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling frame-support-procedural v37.0.0 [INFO] [stderr] Compiling sp-application-crypto v45.0.0 [INFO] [stderr] Compiling sp-runtime v46.0.0 [INFO] [stderr] Compiling sp-version v44.0.0 [INFO] [stderr] Compiling sp-inherents v41.0.0 [INFO] [stderr] Compiling sp-staking v43.0.0 [INFO] [stderr] Compiling sp-api v41.0.0 [INFO] [stderr] Compiling sp-genesis-builder v0.22.0 [INFO] [stderr] Compiling sp-session v43.0.0 [INFO] [stderr] Compiling frame-support v46.0.0 [INFO] [stderr] Compiling sp-timestamp v41.0.0 [INFO] [stderr] Compiling sp-consensus-slots v0.47.0 [INFO] [stderr] Compiling sp-consensus-babe v0.47.0 [INFO] [stderr] Compiling frame-system v46.0.0 [INFO] [stderr] Compiling pallet-balances v47.0.0 [INFO] [stderr] Compiling pallet-timestamp v45.0.0 [INFO] [stderr] Compiling pallet-authorship v46.0.0 [INFO] [stderr] Compiling pallet-session v46.0.0 [INFO] [stderr] Compiling pallet-babe v46.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 26s [INFO] running `Command { std: "docker" "inspect" "41246d5268e7fc8b64a51a577d3a2a4b07ab3353fb4167b6fb99921ec4d3c937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41246d5268e7fc8b64a51a577d3a2a4b07ab3353fb4167b6fb99921ec4d3c937", kill_on_drop: false }` [INFO] [stdout] 41246d5268e7fc8b64a51a577d3a2a4b07ab3353fb4167b6fb99921ec4d3c937 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7aace75ab9bb973d08191470a7a5aa6b81e8f84c495abd3959434a7d32f7e49 [INFO] running `Command { std: "docker" "start" "-a" "e7aace75ab9bb973d08191470a7a5aa6b81e8f84c495abd3959434a7d32f7e49", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-babe v46.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `frame_election_provider_support` in this scope [INFO] [stdout] --> src/mock.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use frame_election_provider_support::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_election_provider_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_election_provider_support`, use `cargo add frame_election_provider_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_session::historical` [INFO] [stdout] --> src/mock.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use pallet_session::historical as pallet_session_historical; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `historical` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-46.0.0/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "historical")] [INFO] [stdout] | ---------------------- the item is gated behind the `historical` feature [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `frame_election_provider_support` [INFO] [stdout] --> src/mock.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use frame_election_provider_support::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_election_provider_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_election_provider_support`, use `cargo add frame_election_provider_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/mock.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive_impl(pallet_staking::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking_reward_curve` in this scope [INFO] [stdout] --> src/mock.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | pallet_staking_reward_curve::build! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking_reward_curve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/mock.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/mock.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | Staking: pallet_staking, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^^^^^^^ could not find `historical` in `pallet_session` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-46.0.0/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "historical")] [INFO] [stdout] | ---------------------- the item is gated behind the `historical` feature [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | impl pallet_session::historical::Config for Test { [INFO] [stdout] | ^^^^^^^^^^ could not find `historical` in `pallet_session` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-46.0.0/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "historical")] [INFO] [stdout] | ---------------------- the item is gated behind the `historical` feature [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:184:45 [INFO] [stdout] | [INFO] [stdout] 184 | type IdentificationTuple = pallet_session::historical::IdentificationTuple; [INFO] [stdout] | ^^^^^^^^^^ could not find `historical` in `pallet_session` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-46.0.0/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "historical")] [INFO] [stdout] | ---------------------- the item is gated behind the `historical` feature [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/mock.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | assert_eq!(pallet_staking::CurrentEra::::get(), Some(era_index)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/mock.rs:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | force_era: pallet_staking::Forcing::ForceNew, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/tests.rs:419:14 [INFO] [stdout] | [INFO] [stdout] 419 | assert_eq!(pallet_staking::CurrentEra::::get().unwrap(), 2); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:48:47 [INFO] [stdout] | [INFO] [stdout] 48 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | 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[E0425]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/mock.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:71:62 [INFO] [stdout] | [INFO] [stdout] 71 | impl frame_system::offchain::CreateTransactionBase for Test [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:73:2 [INFO] [stdout] | [INFO] [stdout] 73 | RuntimeCall: From, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 73 | Self::RuntimeCall: From, [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 75 | type RuntimeCall = Self::RuntimeCall; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | type Extrinsic = TestXt; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 76 | type Extrinsic = TestXt; [INFO] [stdout] | ++++++ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 71 | impl frame_system::offchain::CreateTransactionBase for Test [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:79:51 [INFO] [stdout] | [INFO] [stdout] 79 | impl frame_system::offchain::CreateBare for Test [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:81:2 [INFO] [stdout] | [INFO] [stdout] 81 | RuntimeCall: From, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | pub babe_authority: super::Pallet, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | pub babe_authority: super::Pallet, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sp-runtime-46.0.0/src/traits/mod.rs:2160:19 [INFO] [stdout] | [INFO] [stdout] 2160 | pub struct $name { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | impl pallet_session::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 95 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/mock.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | type ShouldEndSession = Babe; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/mock.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | type NextSessionRotation = Babe; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:100:77 [INFO] [stdout] | [INFO] [stdout] 100 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:353:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 100 - type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] 100 + type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 94 | impl pallet_session::Config for Test { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | type Balance = u128; [INFO] [stdout] | -------------------- similarly named type alias `Balance` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 105 - type Currency = Balances; [INFO] [stdout] 105 + type Currency = Balance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:109:45 [INFO] [stdout] | [INFO] [stdout] 109 | impl pallet_session::historical::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | impl pallet_authorship::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/mock.rs:116:69 [INFO] [stdout] | [INFO] [stdout] 116 | type FindAuthor = pallet_session::FindAccountFromAuthorIndex; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 115 | impl pallet_authorship::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | impl pallet_timestamp::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/mock.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | type OnTimestampSet = Babe; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REWARD_CURVE` in this scope [INFO] [stdout] --> src/mock.rs:149:62 [INFO] [stdout] | [INFO] [stdout] 149 | pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | type System = Test; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | type DataProvider = Staking; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:353:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 157 - type DataProvider = Staking; [INFO] [stdout] 157 + type DataProvider = String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | impl pallet_offences::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:183:22 [INFO] [stdout] | [INFO] [stdout] 183 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:185:26 [INFO] [stdout] | [INFO] [stdout] 185 | type OnOffenceHandler = Staking; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:353:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 185 - type OnOffenceHandler = Staking; [INFO] [stdout] 185 + type OnOffenceHandler = String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | impl Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Session` in this scope [INFO] [stdout] --> src/mock.rs:198:28 [INFO] [stdout] | [INFO] [stdout] 198 | type DisabledValidators = Session; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Offences` in this scope [INFO] [stdout] --> src/mock.rs:204:41 [INFO] [stdout] | [INFO] [stdout] 204 | super::EquivocationReportSystem; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | impl Config for Test { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/mock.rs:204:51 [INFO] [stdout] | [INFO] [stdout] 204 | super::EquivocationReportSystem; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | impl Config for Test { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:210:20 [INFO] [stdout] | [INFO] [stdout] 210 | Babe::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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | Session::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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | Staking::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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:214:23 [INFO] [stdout] | [INFO] [stdout] 214 | let parent_hash = 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let hdr = System::finalize(); [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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:218:3 [INFO] [stdout] | [INFO] [stdout] 218 | System::parent_hash() [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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:223:2 [INFO] [stdout] | [INFO] [stdout] 223 | System::reset_events(); [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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:224:2 [INFO] [stdout] | [INFO] [stdout] 224 | System::initialize(&n, &parent_hash, &pre_digest); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:233:41 [INFO] [stdout] | [INFO] [stdout] 233 | let mut slot = u64::from(CurrentSlot::::get()) + 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 232 | pub fn progress_to_block(n: u64) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:234:11 [INFO] [stdout] | [INFO] [stdout] 234 | for i in System::block_number() + 1..=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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | progress_to_block(System::block_number() + missing as u64 + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:250:42 [INFO] [stdout] | [INFO] [stdout] 250 | assert_eq!(pallet_staking::CurrentEra::::get(), Some(era_index)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 248 | pub fn start_era(era_index: EraIndex) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:293:69 [INFO] [stdout] | [INFO] [stdout] 293 | sp_consensus_babe::make_vrf_transcript(&pallet_babe::Randomness::::get(), slot, 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 288 | pub fn make_vrf_signature_and_randomness( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sp_tracing` in this scope [INFO] [stdout] --> src/mock.rs:335:2 [INFO] [stdout] | [INFO] [stdout] 335 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 335 - sp_tracing::try_init_simple(); [INFO] [stdout] 335 + sp_staking::try_init_simple(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:336:44 [INFO] [stdout] | [INFO] [stdout] 336 | let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 334 | pub fn new_test_ext_raw_authorities(authorities: Vec) -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:340:35 [INFO] [stdout] | [INFO] [stdout] 340 | pallet_balances::GenesisConfig:: { balances, ..Default::default() } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 334 | pub fn new_test_ext_raw_authorities(authorities: Vec) -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:355:34 [INFO] [stdout] | [INFO] [stdout] 355 | pallet_session::GenesisConfig:: { keys: session_keys, ..Default::default() } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 334 | pub fn new_test_ext_raw_authorities(authorities: Vec) -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/mock.rs:361:41 [INFO] [stdout] | [INFO] [stdout] 361 | .map(|i| (i as u64, i as u64, 10_000, pallet_staking::StakerStatus::::Validator)) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 20 + use sp_staking::StakerStatus; [INFO] [stdout] | [INFO] [stdout] help: if you import `StakerStatus`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 361 - .map(|i| (i as u64, i as u64, 10_000, pallet_staking::StakerStatus::::Validator)) [INFO] [stdout] 361 + .map(|i| (i as u64, i as u64, 10_000, StakerStatus::::Validator)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:364:55 [INFO] [stdout] | [INFO] [stdout] 364 | let staking_config = pallet_staking::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 334 | pub fn new_test_ext_raw_authorities(authorities: Vec) -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:375:31 [INFO] [stdout] | [INFO] [stdout] 375 | pallet_babe::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 334 | pub fn new_test_ext_raw_authorities(authorities: Vec) -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:396:22 [INFO] [stdout] | [INFO] [stdout] 396 | let current_block = 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:397:35 [INFO] [stdout] | [INFO] [stdout] 397 | let current_slot = CurrentSlot::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 389 | pub fn generate_equivocation_proof( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:403:22 [INFO] [stdout] | [INFO] [stdout] 403 | let parent_hash = System::parent_hash(); [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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:405:4 [INFO] [stdout] | [INFO] [stdout] 405 | System::reset_events(); [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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:406:4 [INFO] [stdout] | [INFO] [stdout] 406 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:406:29 [INFO] [stdout] | [INFO] [stdout] 406 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:407:4 [INFO] [stdout] | [INFO] [stdout] 407 | System::initialize(¤t_block, &parent_hash, &pre_digest); [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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:408:4 [INFO] [stdout] | [INFO] [stdout] 408 | System::set_block_number(current_block); [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]: cannot find type `Timestamp` in this scope [INFO] [stdout] --> src/mock.rs:409:4 [INFO] [stdout] | [INFO] [stdout] 409 | Timestamp::set_timestamp(*current_slot * Babe::slot_duration()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Timestamp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use sp_core::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | let header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | impl crate::migrations::BabePalletPrefix for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(Authorities::::get().len(), 4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 51 | fn initial_values() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(GenesisSlot::::get(), Slot::from(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 69 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | System::reset_events(); [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]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | System::initialize(&1, &Default::default(), &pre_digest); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(GenesisSlot::::get(), genesis_slot); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 69 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(CurrentSlot::::get(), genesis_slot); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 69 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(EpochIndex::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 69 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | let header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(AuthorVrfRandomness::::get(), Some(vrf_randomness)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 69 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(SegmentIndex::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 69 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(UnderConstruction::::get(0), vec![vrf_randomness]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 69 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(Randomness::::get(), [0; 32]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 69 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(AuthorVrfRandomness::::get(), Some(vrf_randomness)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 69 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(NextRandomness::::get(), [0; 32]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 69 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | authorities: Authorities::::get().into_inner(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 69 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | randomness: Randomness::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 69 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 123 | System::reset_events(); [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]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 124 | System::initialize(&1, &Default::default(), &pre_digest); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(CurrentSlot::::get(), Slot::from(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 116 | fn current_slot_is_processed_on_initialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | assert!(Initialized::::get().is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 116 | fn current_slot_is_processed_on_initialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(CurrentSlot::::get(), genesis_slot); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 116 | fn current_slot_is_processed_on_initialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | assert!(Initialized::::get().is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 116 | fn current_slot_is_processed_on_initialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:133:36 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(AuthorVrfRandomness::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 116 | fn current_slot_is_processed_on_initialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:137:36 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(AuthorVrfRandomness::::get(), Some(vrf_randomness)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 116 | fn current_slot_is_processed_on_initialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | System::reset_events(); [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]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:152:3 [INFO] [stdout] | [INFO] [stdout] 152 | System::initialize(&1, &Default::default(), &pre_digest); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:156:36 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(AuthorVrfRandomness::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 141 | fn test_author_vrf_output(make_pre_digest: F) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | assert_eq!(AuthorVrfRandomness::::get(), Some(vrf_randomness)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 141 | fn test_author_vrf_output(make_pre_digest: F) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 164 | System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:165:36 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(AuthorVrfRandomness::::get(), Some(vrf_randomness)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 141 | fn test_author_vrf_output(make_pre_digest: F) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:185:3 [INFO] [stdout] | [INFO] [stdout] 185 | System::reset_events(); [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]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:186:3 [INFO] [stdout] | [INFO] [stdout] 186 | System::initialize(&1, &Default::default(), &secondary_plain_pre_digest); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:187:36 [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!(AuthorVrfRandomness::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 180 | fn no_author_vrf_output_for_secondary_plain() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:190:36 [INFO] [stdout] | [INFO] [stdout] 190 | assert_eq!(AuthorVrfRandomness::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 180 | fn no_author_vrf_output_for_secondary_plain() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:194:36 [INFO] [stdout] | [INFO] [stdout] 194 | assert_eq!(AuthorVrfRandomness::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 180 | fn no_author_vrf_output_for_secondary_plain() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:212:15 [INFO] [stdout] | [INFO] [stdout] 212 | assert_eq!(::EpochDuration::get(), 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(*GenesisSlot::::get(), 6); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 210 | fn can_predict_next_epoch_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:216:29 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(*CurrentSlot::::get(), 6); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 210 | fn can_predict_next_epoch_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:217:27 [INFO] [stdout] | [INFO] [stdout] 217 | assert_eq!(EpochIndex::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 210 | fn can_predict_next_epoch_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:221:27 [INFO] [stdout] | [INFO] [stdout] 221 | assert_eq!(EpochIndex::::get(), 5 / 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 210 | fn can_predict_next_epoch_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 222 | assert_eq!(*CurrentSlot::::get(), 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 210 | fn can_predict_next_epoch_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:226:47 [INFO] [stdout] | [INFO] [stdout] 226 | assert_eq!(Babe::next_expected_epoch_change(System::block_number()), Some(5 + 2)); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:233:15 [INFO] [stdout] | [INFO] [stdout] 233 | assert_eq!(::EpochDuration::get(), 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | assert_eq!(::EpochDuration::get(), 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | assert_eq!(*GenesisSlot::::get(), 6); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 266 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:272:29 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(*CurrentSlot::::get(), 6); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 266 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:273:27 [INFO] [stdout] | [INFO] [stdout] 273 | assert_eq!(EpochIndex::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 266 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | EpochConfig::::put(current_config); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 266 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | NextEpochConfig::::put(next_config.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 266 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:294:32 [INFO] [stdout] | [INFO] [stdout] 294 | assert_eq!(NextEpochConfig::::get(), Some(next_config.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 266 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:307:16 [INFO] [stdout] | [INFO] [stdout] 307 | let header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:309:28 [INFO] [stdout] | [INFO] [stdout] 309 | assert_eq!(EpochConfig::::get(), Some(next_config)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 266 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:310:32 [INFO] [stdout] | [INFO] [stdout] 310 | assert_eq!(NextEpochConfig::::get(), Some(next_next_config.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 266 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | EpochConfig::::put(BabeEpochConfiguration { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 346 | fn can_fetch_current_and_next_epoch_data() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:389:50 [INFO] [stdout] | [INFO] [stdout] 389 | let (last_epoch, current_epoch) = EpochStart::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 380 | fn tracks_block_numbers_when_current_and_previous_epoch_started() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:397:50 [INFO] [stdout] | [INFO] [stdout] 397 | let (last_epoch, current_epoch) = EpochStart::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 380 | fn tracks_block_numbers_when_current_and_previous_epoch_started() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:419:43 [INFO] [stdout] | [INFO] [stdout] 419 | assert_eq!(pallet_staking::CurrentEra::::get().unwrap(), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 408 | fn disabled_validators_cannot_author_blocks() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:434:35 [INFO] [stdout] | [INFO] [stdout] 434 | let authorities = Authorities::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 430 | fn report_equivocation_current_session_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:461:18 [INFO] [stdout] | [INFO] [stdout] 461 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 430 | fn report_equivocation_current_session_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:509:35 [INFO] [stdout] | [INFO] [stdout] 509 | let authorities = Authorities::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 505 | fn report_equivocation_old_session_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:523:18 [INFO] [stdout] | [INFO] [stdout] 523 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 505 | fn report_equivocation_old_session_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:565:35 [INFO] [stdout] | [INFO] [stdout] 565 | let authorities = Authorities::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 561 | fn report_equivocation_invalid_key_owner_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:578:18 [INFO] [stdout] | [INFO] [stdout] 578 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 561 | fn report_equivocation_invalid_key_owner_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:594:12 [INFO] [stdout] | [INFO] [stdout] 594 | Error::::InvalidKeyOwnershipProof, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 561 | fn report_equivocation_invalid_key_owner_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:614:12 [INFO] [stdout] | [INFO] [stdout] 614 | Error::::InvalidKeyOwnershipProof, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 561 | fn report_equivocation_invalid_key_owner_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:626:35 [INFO] [stdout] | [INFO] [stdout] 626 | let authorities = Authorities::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 620 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:646:13 [INFO] [stdout] | [INFO] [stdout] 646 | Error::::InvalidEquivocationProof, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 620 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:654:18 [INFO] [stdout] | [INFO] [stdout] 654 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 620 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:663:18 [INFO] [stdout] | [INFO] [stdout] 663 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 620 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:672:18 [INFO] [stdout] | [INFO] [stdout] 672 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 620 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:681:18 [INFO] [stdout] | [INFO] [stdout] 681 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 620 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:691:18 [INFO] [stdout] | [INFO] [stdout] 691 | CurrentSlot::::get() + 1, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 620 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:704:18 [INFO] [stdout] | [INFO] [stdout] 704 | CurrentSlot::::get() + 1, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 620 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:729:35 [INFO] [stdout] | [INFO] [stdout] 729 | let authorities = Authorities::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 720 | fn report_equivocation_validate_unsigned_prevents_duplicates() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:741:18 [INFO] [stdout] | [INFO] [stdout] 741 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 720 | fn report_equivocation_validate_unsigned_prevents_duplicates() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:754:5 [INFO] [stdout] | [INFO] [stdout] 754 | ::validate_unsigned( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:762:66 [INFO] [stdout] | [INFO] [stdout] 762 | let tx_tag = (offending_authority_pair.public(), CurrentSlot::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 720 | fn report_equivocation_validate_unsigned_prevents_duplicates() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:764:5 [INFO] [stdout] | [INFO] [stdout] 764 | ::validate_unsigned( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:778:15 [INFO] [stdout] | [INFO] [stdout] 778 | assert_ok!(::pre_dispatch(&inner)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:791:5 [INFO] [stdout] | [INFO] [stdout] 791 | ::validate_unsigned( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:799:5 [INFO] [stdout] | [INFO] [stdout] 799 | ::pre_dispatch(&inner), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:810:22 [INFO] [stdout] | [INFO] [stdout] 810 | .map(|validators| ::WeightInfo::report_equivocation(validators, 1000)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:818:22 [INFO] [stdout] | [INFO] [stdout] 818 | .map(|validators| ::WeightInfo::report_equivocation(validators, 1000)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:827:30 [INFO] [stdout] | [INFO] [stdout] 827 | let epoch_duration: u64 = ::EpochDuration::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:832:27 [INFO] [stdout] | [INFO] [stdout] 832 | assert_eq!(EpochIndex::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 825 | fn report_equivocation_after_skipped_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:835:15 [INFO] [stdout] | [INFO] [stdout] 835 | go_to_block(System::block_number() + 1, genesis_slot + epoch_duration * 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:837:27 [INFO] [stdout] | [INFO] [stdout] 837 | assert_eq!(EpochIndex::::get(), 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 825 | fn report_equivocation_after_skipped_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:838:30 [INFO] [stdout] | [INFO] [stdout] 838 | assert_eq!(SkippedEpochs::::get(), vec![(10, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 825 | fn report_equivocation_after_skipped_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:841:35 [INFO] [stdout] | [INFO] [stdout] 841 | let authorities = Authorities::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 825 | fn report_equivocation_after_skipped_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:851:18 [INFO] [stdout] | [INFO] [stdout] 851 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 825 | fn report_equivocation_after_skipped_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:880:76 [INFO] [stdout] | [INFO] [stdout] 880 | generate_equivocation_proof(0, &offending_authority_pair, CurrentSlot::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 872 | fn valid_equivocation_reports_dont_pay_fees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:888:21 [INFO] [stdout] | [INFO] [stdout] 888 | let info = Call::::report_equivocation_unsigned { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 872 | fn valid_equivocation_reports_dont_pay_fees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:951:48 [INFO] [stdout] | [INFO] [stdout] 951 | crate::migrations::add_epoch_configuration::(current_epoch.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 930 | fn add_epoch_configurations_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:960:28 [INFO] [stdout] | [INFO] [stdout] 960 | assert_eq!(EpochConfig::::get(), Some(current_epoch)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 930 | fn add_epoch_configurations_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:961:41 [INFO] [stdout] | [INFO] [stdout] 961 | assert_eq!(PendingEpochConfigChange::::get(), Some(next_config_descriptor)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 930 | fn add_epoch_configurations_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:976:18 [INFO] [stdout] | [INFO] [stdout] 976 | CurrentSlot::::get() + 1, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 966 | fn generate_equivocation_report_blob() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:987:30 [INFO] [stdout] | [INFO] [stdout] 987 | let epoch_duration: u64 = ::EpochDuration::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:997:27 [INFO] [stdout] | [INFO] [stdout] 997 | assert_eq!(EpochIndex::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 985 | fn skipping_over_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1000:49 [INFO] [stdout] | [INFO] [stdout] 1000 | let randomness_for_epoch_2 = NextRandomness::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 985 | fn skipping_over_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:1006:15 [INFO] [stdout] | [INFO] [stdout] 1006 | go_to_block(System::block_number() + 1, genesis_slot + epoch_duration * 4); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1008:27 [INFO] [stdout] | [INFO] [stdout] 1008 | assert_eq!(EpochIndex::::get(), 4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 985 | fn skipping_over_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1009:27 [INFO] [stdout] | [INFO] [stdout] 1009 | assert_eq!(Randomness::::get(), randomness_for_epoch_2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 985 | fn skipping_over_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1013:30 [INFO] [stdout] | [INFO] [stdout] 1013 | assert_eq!(SkippedEpochs::::get(), vec![(4, 2)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 985 | fn skipping_over_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstU128` and `OnInitialize` [INFO] [stdout] --> src/mock.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | traits::{ConstU128, ConstU32, ConstU64, OnInitialize}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame_support::traits::OnFinalize` [INFO] [stdout] --> src/mock.rs:208:6 [INFO] [stdout] | [INFO] [stdout] 208 | use frame_support::traits::OnFinalize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Currency`, `EstimateNextSessionRotation`, `KeyOwnerProofSystem`, and `OnFinalize` [INFO] [stdout] --> src/tests.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | traits::{Currency, EstimateNextSessionRotation, KeyOwnerProofSystem, OnFinalize}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pallet_session::ShouldEndSession` [INFO] [stdout] --> src/tests.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use pallet_session::ShouldEndSession; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/mock.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/mock.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | type FullIdentificationOf = pallet_staking::UnitIdentificationOf; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_offences` in this scope [INFO] [stdout] --> src/mock.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 182 | impl pallet_offences::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_offences` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_offences`, use `cargo add pallet_offences` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/mock.rs:210:2 [INFO] [stdout] | [INFO] [stdout] 210 | Babe::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/mock.rs:211:2 [INFO] [stdout] | [INFO] [stdout] 211 | Session::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:212:2 [INFO] [stdout] | [INFO] [stdout] 212 | Staking::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 212 - Staking::on_finalize(System::block_number()); [INFO] [stdout] 212 + String::on_finalize(System::block_number()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/mock.rs:226:2 [INFO] [stdout] | [INFO] [stdout] 226 | Babe::on_initialize(n); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/mock.rs:227:2 [INFO] [stdout] | [INFO] [stdout] 227 | Session::on_initialize(n); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:228:2 [INFO] [stdout] | [INFO] [stdout] 228 | Staking::on_initialize(n); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 228 - Staking::on_initialize(n); [INFO] [stdout] 228 + String::on_initialize(n); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/mock.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | let missing = (session_index - Session::current_index()) * 3; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/mock.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | assert_eq!(Session::current_index(), session_index); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/mock.rs:310:3 [INFO] [stdout] | [INFO] [stdout] 310 | Babe::do_try_state().expect("All invariants must hold after a test"); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/mock.rs:318:3 [INFO] [stdout] | [INFO] [stdout] 318 | Babe::do_try_state().expect("All invariants must hold after a test"); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/mock.rs:340:2 [INFO] [stdout] | [INFO] [stdout] 340 | pallet_balances::GenesisConfig:: { balances, ..Default::default() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/mock.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | let staking_config = pallet_staking::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/mock.rs:409:45 [INFO] [stdout] | [INFO] [stdout] 409 | Timestamp::set_timestamp(*current_slot * Babe::slot_duration()); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | assert!(!Babe::should_end_session(0), "Genesis does not change sessions"); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | !Babe::should_end_session(200000), [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | assert!(!Babe::should_end_session(1)); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | Babe::on_finalize(1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | Babe::initialize(1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:136:3 [INFO] [stdout] | [INFO] [stdout] 136 | Babe::on_finalize(1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:155:3 [INFO] [stdout] | [INFO] [stdout] 155 | Babe::initialize(1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:160:3 [INFO] [stdout] | [INFO] [stdout] 160 | Babe::on_finalize(1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | Babe::initialize(1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 192 | Babe::on_finalize(1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | Babe::find_author((&[(BABE_ENGINE_ID, &[][..])]).into_iter().cloned()), [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:225:15 [INFO] [stdout] | [INFO] [stdout] 225 | assert_eq!(*Babe::current_epoch_start(), 9); // next change will be 12, 2 slots from now [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:226:14 [INFO] [stdout] | [INFO] [stdout] 226 | assert_eq!(Babe::next_expected_epoch_change(System::block_number()), Some(5 + 2)); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | assert_eq!(Babe::estimate_next_session_rotation(i).0.unwrap(), 4); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:243:7 [INFO] [stdout] | [INFO] [stdout] 243 | if Babe::estimate_next_session_rotation(i).0.unwrap() - 1 == i { [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:245:6 [INFO] [stdout] | [INFO] [stdout] 245 | Babe::estimate_current_session_progress(i).0.unwrap(), [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:250:6 [INFO] [stdout] | [INFO] [stdout] 250 | Babe::estimate_current_session_progress(i).0.unwrap() < [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:259:4 [INFO] [stdout] | [INFO] [stdout] 259 | Babe::estimate_current_session_progress(4).0.unwrap(), [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:296:3 [INFO] [stdout] | [INFO] [stdout] 296 | Babe::plan_config_change( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:297:4 [INFO] [stdout] | [INFO] [stdout] 297 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:306:3 [INFO] [stdout] | [INFO] [stdout] 306 | Babe::on_finalize(9); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | let res = Babe::plan_config_change(RuntimeOrigin::none(), next_config.clone()); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:331:38 [INFO] [stdout] | [INFO] [stdout] 331 | let res = Babe::plan_config_change(RuntimeOrigin::none(), next_config.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let res = Babe::plan_config_change(RuntimeOrigin::signed(1), next_config.clone()); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:335:38 [INFO] [stdout] | [INFO] [stdout] 335 | let res = Babe::plan_config_change(RuntimeOrigin::signed(1), next_config.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let res = Babe::plan_config_change(RuntimeOrigin::root(), next_config); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:339:38 [INFO] [stdout] | [INFO] [stdout] 339 | let res = Babe::plan_config_change(RuntimeOrigin::root(), next_config); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:354:14 [INFO] [stdout] | [INFO] [stdout] 354 | assert_eq!(Babe::current_epoch().authorities, Babe::next_epoch().authorities); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:354:49 [INFO] [stdout] | [INFO] [stdout] 354 | assert_eq!(Babe::current_epoch().authorities, Babe::next_epoch().authorities); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:361:23 [INFO] [stdout] | [INFO] [stdout] 361 | let current_epoch = Babe::current_epoch(); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | let next_epoch = Babe::next_epoch(); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/tests.rs:413:3 [INFO] [stdout] | [INFO] [stdout] 413 | Session::disable_index(1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/tests.rs:422:3 [INFO] [stdout] | [INFO] [stdout] 422 | Session::disable_index(0); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/tests.rs:435:20 [INFO] [stdout] | [INFO] [stdout] 435 | let validators = Session::validators(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:439:15 [INFO] [stdout] | [INFO] [stdout] 439 | assert_eq!(Balances::total_balance(validator), 10_000_000); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:440:15 [INFO] [stdout] | [INFO] [stdout] 440 | assert_eq!(Staking::slashable_balance_of(validator), 10_000); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 440 - assert_eq!(Staking::slashable_balance_of(validator), 10_000); [INFO] [stdout] 440 + assert_eq!(String::slashable_balance_of(validator), 10_000); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | Staking::eras_stakers(1, &validator), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 443 - Staking::eras_stakers(1, &validator), [INFO] [stdout] 443 + String::eras_stakers(1, &validator), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/tests.rs:444:5 [INFO] [stdout] | [INFO] [stdout] 444 | pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/tests.rs:450:32 [INFO] [stdout] | [INFO] [stdout] 450 | let offending_validator_id = Session::validators()[offending_validator_index]; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 466 | let key_owner_proof = Historical::prove(key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:469:3 [INFO] [stdout] | [INFO] [stdout] 469 | Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:470:4 [INFO] [stdout] | [INFO] [stdout] 470 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:481:14 [INFO] [stdout] | [INFO] [stdout] 481 | assert_eq!(Balances::total_balance(&offending_validator_id), 10_000_000 - 10_000); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:482:14 [INFO] [stdout] | [INFO] [stdout] 482 | assert_eq!(Staking::slashable_balance_of(&offending_validator_id), 0); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 482 - assert_eq!(Staking::slashable_balance_of(&offending_validator_id), 0); [INFO] [stdout] 482 + assert_eq!(String::slashable_balance_of(&offending_validator_id), 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:484:4 [INFO] [stdout] | [INFO] [stdout] 484 | Staking::eras_stakers(2, &offending_validator_id), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 484 - Staking::eras_stakers(2, &offending_validator_id), [INFO] [stdout] 484 + String::eras_stakers(2, &offending_validator_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/tests.rs:485:4 [INFO] [stdout] | [INFO] [stdout] 485 | pallet_staking::Exposure { total: 0, own: 0, others: vec![] }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:494:15 [INFO] [stdout] | [INFO] [stdout] 494 | assert_eq!(Balances::total_balance(validator), 10_000_000); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:495:15 [INFO] [stdout] | [INFO] [stdout] 495 | assert_eq!(Staking::slashable_balance_of(validator), 10_000); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 495 - assert_eq!(Staking::slashable_balance_of(validator), 10_000); [INFO] [stdout] 495 + assert_eq!(String::slashable_balance_of(validator), 10_000); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | Staking::eras_stakers(2, &validator), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 497 - Staking::eras_stakers(2, &validator), [INFO] [stdout] 497 + String::eras_stakers(2, &validator), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/tests.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/tests.rs:513:32 [INFO] [stdout] | [INFO] [stdout] 513 | let offending_validator_id = Session::validators()[offending_validator_index]; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | let key_owner_proof = Historical::prove(key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:535:14 [INFO] [stdout] | [INFO] [stdout] 535 | assert_eq!(Balances::total_balance(&offending_validator_id), 10_000_000); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:536:14 [INFO] [stdout] | [INFO] [stdout] 536 | assert_eq!(Staking::slashable_balance_of(&offending_validator_id), 10_000); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 536 - assert_eq!(Staking::slashable_balance_of(&offending_validator_id), 10_000); [INFO] [stdout] 536 + assert_eq!(String::slashable_balance_of(&offending_validator_id), 10_000); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:539:3 [INFO] [stdout] | [INFO] [stdout] 539 | Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:540:4 [INFO] [stdout] | [INFO] [stdout] 540 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:551:14 [INFO] [stdout] | [INFO] [stdout] 551 | assert_eq!(Balances::total_balance(&offending_validator_id), 10_000_000 - 10_000); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:552:14 [INFO] [stdout] | [INFO] [stdout] 552 | assert_eq!(Staking::slashable_balance_of(&offending_validator_id), 0); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 552 - assert_eq!(Staking::slashable_balance_of(&offending_validator_id), 0); [INFO] [stdout] 552 + assert_eq!(String::slashable_balance_of(&offending_validator_id), 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:554:4 [INFO] [stdout] | [INFO] [stdout] 554 | Staking::eras_stakers(3, &offending_validator_id), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 554 - Staking::eras_stakers(3, &offending_validator_id), [INFO] [stdout] 554 + String::eras_stakers(3, &offending_validator_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/tests.rs:555:4 [INFO] [stdout] | [INFO] [stdout] 555 | pallet_staking::Exposure { total: 0, own: 0, others: vec![] }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:583:29 [INFO] [stdout] | [INFO] [stdout] 583 | let mut key_owner_proof = Historical::prove(key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:589:4 [INFO] [stdout] | [INFO] [stdout] 589 | Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:590:5 [INFO] [stdout] | [INFO] [stdout] 590 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:600:25 [INFO] [stdout] | [INFO] [stdout] 600 | let key_owner_proof = Historical::prove(key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:609:4 [INFO] [stdout] | [INFO] [stdout] 609 | Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:610:5 [INFO] [stdout] | [INFO] [stdout] 610 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:637:25 [INFO] [stdout] | [INFO] [stdout] 637 | let key_owner_proof = Historical::prove(key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:641:5 [INFO] [stdout] | [INFO] [stdout] 641 | Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:642:6 [INFO] [stdout] | [INFO] [stdout] 642 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:745:25 [INFO] [stdout] | [INFO] [stdout] 745 | let key_owner_proof = Historical::prove(key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:781:3 [INFO] [stdout] | [INFO] [stdout] 781 | Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:782:4 [INFO] [stdout] | [INFO] [stdout] 782 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:856:25 [INFO] [stdout] | [INFO] [stdout] 856 | let key_owner_proof = Historical::prove(key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:863:14 [INFO] [stdout] | [INFO] [stdout] 863 | assert_ok!(Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:864:4 [INFO] [stdout] | [INFO] [stdout] 864 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:884:4 [INFO] [stdout] | [INFO] [stdout] 884 | Historical::prove((sp_consensus_babe::KEY_TYPE, &offending_authority_pair.public())) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:900:19 [INFO] [stdout] | [INFO] [stdout] 900 | let post_info = Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:901:4 [INFO] [stdout] | [INFO] [stdout] 901 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:914:19 [INFO] [stdout] | [INFO] [stdout] 914 | let post_info = Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:915:4 [INFO] [stdout] | [INFO] [stdout] 915 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:1016:14 [INFO] [stdout] | [INFO] [stdout] 1016 | assert_eq!(Babe::session_index_for_epoch(0), 0); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:1017:14 [INFO] [stdout] | [INFO] [stdout] 1017 | assert_eq!(Babe::session_index_for_epoch(1), 1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:1020:14 [INFO] [stdout] | [INFO] [stdout] 1020 | assert_eq!(Babe::session_index_for_epoch(4), 2); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:1021:14 [INFO] [stdout] | [INFO] [stdout] 1021 | assert_eq!(Babe::session_index_for_epoch(5), 3); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-babe` (lib test) due to 285 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e7aace75ab9bb973d08191470a7a5aa6b81e8f84c495abd3959434a7d32f7e49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7aace75ab9bb973d08191470a7a5aa6b81e8f84c495abd3959434a7d32f7e49", kill_on_drop: false }` [INFO] [stdout] e7aace75ab9bb973d08191470a7a5aa6b81e8f84c495abd3959434a7d32f7e49