[INFO] fetching crate pallet-safe-mode 23.0.0... [INFO] checking pallet-safe-mode-23.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pallet-safe-mode 23.0.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate pallet-safe-mode 23.0.0 [INFO] finished tweaking crates.io crate pallet-safe-mode 23.0.0 [INFO] tweaked toml for crates.io crate pallet-safe-mode 23.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-safe-mode 23.0.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-safe-mode 23.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pallet-proxy v42.0.0 [INFO] [stderr] Downloaded pallet-utility v42.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de3c35775b025c79ce157f8d05dc477ed219a8dd7430ee68714450518e756ce0 [INFO] running `Command { std: "docker" "start" "-a" "de3c35775b025c79ce157f8d05dc477ed219a8dd7430ee68714450518e756ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de3c35775b025c79ce157f8d05dc477ed219a8dd7430ee68714450518e756ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de3c35775b025c79ce157f8d05dc477ed219a8dd7430ee68714450518e756ce0", kill_on_drop: false }` [INFO] [stdout] de3c35775b025c79ce157f8d05dc477ed219a8dd7430ee68714450518e756ce0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de68c30633c6facb6e7bece0162fd8d9ed3ed15aa3d5a9f1f4ac1042ef459b02 [INFO] running `Command { std: "docker" "start" "-a" "de68c30633c6facb6e7bece0162fd8d9ed3ed15aa3d5a9f1f4ac1042ef459b02", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking trie-db v0.30.0 [INFO] [stderr] Checking memory-db v0.34.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Checking tuplex v0.1.2 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking sp-panic-handler v13.0.2 [INFO] [stderr] Checking crypto-bigint v0.5.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Checking ed25519 v2.2.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.8 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling jam-codec-derive v0.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v24.0.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v35.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking impl-codec v0.7.1 [INFO] [stderr] Checking sp-storage v22.0.0 [INFO] [stderr] Checking sp-tracing v18.0.0 [INFO] [stderr] Checking sp-wasm-interface v23.0.0 [INFO] [stderr] Checking binary-merkle-tree v16.0.0 [INFO] [stderr] Checking sp-externalities v0.30.0 [INFO] [stderr] Checking bounded-collections v0.3.2 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking sp-arithmetic v28.0.0 [INFO] [stderr] Checking frame-metadata v23.0.0 [INFO] [stderr] Checking finality-grandpa v0.16.3 [INFO] [stderr] Checking sp-runtime-interface v31.0.0 [INFO] [stderr] Checking sp-weights v33.0.0 [INFO] [stderr] Checking sp-core v38.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.12.0 [INFO] [stderr] Checking sp-trie v41.0.0 [INFO] [stderr] Checking sp-keystore v0.44.0 [INFO] [stderr] Checking sp-state-machine v0.47.0 [INFO] [stderr] Checking sp-application-crypto v42.0.0 [INFO] [stderr] Checking sp-runtime v43.0.0 [INFO] [stderr] Checking sp-version v41.0.0 [INFO] [stderr] Checking sp-inherents v38.0.0 [INFO] [stderr] Checking sp-staking v40.0.0 [INFO] [stderr] Checking sp-keyring v43.0.0 [INFO] [stderr] Checking sp-api v38.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.19.0 [INFO] [stderr] Checking frame-system-rpc-runtime-api v38.0.0 [INFO] [stderr] Checking sp-consensus-grandpa v25.0.0 [INFO] [stderr] Checking sp-session v40.0.0 [INFO] [stderr] Checking sp-transaction-pool v38.0.0 [INFO] [stderr] Checking sp-offchain v38.0.0 [INFO] [stderr] Checking frame-support v42.0.0 [INFO] [stderr] Checking sp-timestamp v38.0.0 [INFO] [stderr] Checking sp-block-builder v38.0.0 [INFO] [stderr] Checking sp-consensus-slots v0.44.0 [INFO] [stderr] Checking sp-consensus-aura v0.44.0 [INFO] [stderr] Checking frame-system v42.0.0 [INFO] [stderr] Checking frame-try-runtime v0.48.0 [INFO] [stderr] Checking frame-executive v42.0.0 [INFO] [stderr] Checking polkadot-sdk-frame v0.11.0 [INFO] [stderr] Checking pallet-safe-mode v23.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::mock::RuntimeCall` [INFO] [stdout] --> src/tests.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::mock::{RuntimeCall, *}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `RuntimeCall` in `mock` [INFO] [stdout] | help: a similar name exists in the module: `RuntimeCallFor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | #[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]: failed to resolve: use of unresolved module or unlinked crate `pallet_proxy` [INFO] [stdout] --> src/mock.rs:217:10 [INFO] [stdout] | [INFO] [stdout] 217 | Proxy: pallet_proxy, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SafeMode` in this scope [INFO] [stdout] --> src/mock.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | type BaseCallFilter = InsideBoth; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | type RuntimeOrigin = RuntimeOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 35 | type RuntimeOrigin = Self::RuntimeOrigin; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:2595:2 [INFO] [stdout] | [INFO] [stdout] 2595 | pub type RuntimeCallFor = ::RuntimeCall; [INFO] [stdout] | -------------------------- similarly named type alias `RuntimeCallFor` defined here [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 36 | type RuntimeCall = Self::RuntimeCall; [INFO] [stdout] | ++++++ [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 36 | type RuntimeCall = RuntimeCallFor; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 43 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | type PalletInfo = PalletInfo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-42.0.0/src/lib.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct PalletId(pub [u8; 8]); [INFO] [stdout] | ------------------- similarly named struct `PalletId` defined here [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 46 | type PalletInfo = Self::PalletInfo; [INFO] [stdout] | ++++++ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 46 - type PalletInfo = PalletInfo; [INFO] [stdout] 46 + type PalletInfo = PalletId; [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/mock.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[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::deps::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-42.0.0/src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | impl pallet_utility::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ help: a type alias with a similar name exists: `RuntimeCallFor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:2595:2 [INFO] [stdout] | [INFO] [stdout] 2595 | pub type RuntimeCallFor = ::RuntimeCall; [INFO] [stdout] | -------------------------- similarly named type alias `RuntimeCallFor` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginCaller` in this scope [INFO] [stdout] --> src/mock.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | type PalletsOrigin = OriginCaller; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | impl InstanceFilter for ProxyType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:2595:2 [INFO] [stdout] | [INFO] [stdout] 2595 | pub type RuntimeCallFor = ::RuntimeCall; [INFO] [stdout] | -------------------------- similarly named type alias `RuntimeCallFor` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 105 | impl InstanceFilter for ProxyType { [INFO] [stdout] | +++ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 105 | impl InstanceFilter for ProxyType { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | fn filter(&self, c: &RuntimeCall) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: a type alias with a similar name exists: `RuntimeCallFor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:2595:2 [INFO] [stdout] | [INFO] [stdout] 2595 | pub type RuntimeCallFor = ::RuntimeCall; [INFO] [stdout] | -------------------------- similarly named type alias `RuntimeCallFor` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { .. }) [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] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 22 + use crate::Call; [INFO] [stdout] | [INFO] [stdout] 22 + use crate::frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 112 - RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { .. }) [INFO] [stdout] 112 + RuntimeCall::Balances(Call::transfer_allow_death { .. }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | impl pallet_proxy::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ help: a type alias with a similar name exists: `RuntimeCallFor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:2595:2 [INFO] [stdout] | [INFO] [stdout] 2595 | pub type RuntimeCallFor = ::RuntimeCall; [INFO] [stdout] | -------------------------- similarly named type alias `RuntimeCallFor` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / type BalanceOf = [INFO] [stdout] 90 | | <::Currency as fungible::Inspect<::AccountId>>::Balance; [INFO] [stdout] | |____________________________________________________________________________________________________- similarly named type alias `BalanceOf` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:136:50 [INFO] [stdout] | [INFO] [stdout] 136 | type BlockNumberProvider = frame_system::Pallet; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 123 | impl pallet_proxy::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | impl Contains for WhitelistedCalls { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:2595:2 [INFO] [stdout] | [INFO] [stdout] 2595 | pub type RuntimeCallFor = ::RuntimeCall; [INFO] [stdout] | -------------------------- similarly named type alias `RuntimeCallFor` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 141 | impl Contains for WhitelistedCalls { [INFO] [stdout] | +++ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 141 | impl Contains for WhitelistedCalls { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | fn contains(call: &RuntimeCall) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: a type alias with a similar name exists: `RuntimeCallFor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:2595:2 [INFO] [stdout] | [INFO] [stdout] 2595 | pub type RuntimeCallFor = ::RuntimeCall; [INFO] [stdout] | -------------------------- similarly named type alias `RuntimeCallFor` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | ns.push((>::block_number(), true)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 172 | impl SafeModeNotify for MockedNotify { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | ns.push((>::block_number(), false)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 172 | impl SafeModeNotify for MockedNotify { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 192 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 192 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / type BalanceOf = [INFO] [stdout] 90 | | <::Currency as fungible::Inspect<::AccountId>>::Balance; [INFO] [stdout] | |____________________________________________________________________________________________________- similarly named type alias `BalanceOf` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeHoldReason` in this scope [INFO] [stdout] --> src/mock.rs:194:27 [INFO] [stdout] | [INFO] [stdout] 194 | type RuntimeHoldReason = RuntimeHoldReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 194 | type RuntimeHoldReason = Self::RuntimeHoldReason; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:209:47 [INFO] [stdout] | [INFO] [stdout] 209 | 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] 209 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:226:44 [INFO] [stdout] | [INFO] [stdout] 226 | 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] 225 | pub fn new_test_ext() -> TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:228:35 [INFO] [stdout] | [INFO] [stdout] 228 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 225 | pub fn new_test_ext() -> TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:235:36 [INFO] [stdout] | [INFO] [stdout] 235 | pallet_safe_mode::GenesisConfig:: { entered_until: None } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 225 | pub fn new_test_ext() -> TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/mock.rs:247:2 [INFO] [stdout] | [INFO] [stdout] 247 | SafeMode::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 247 | SafeMode::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] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | Balances::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] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:249:2 [INFO] [stdout] | [INFO] [stdout] 249 | System::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:249:22 [INFO] [stdout] | [INFO] [stdout] 249 | System::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | 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] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:250:27 [INFO] [stdout] | [INFO] [stdout] 250 | 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] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:251:2 [INFO] [stdout] | [INFO] [stdout] 251 | System::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:251:24 [INFO] [stdout] | [INFO] [stdout] 251 | System::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | Balances::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/mock.rs:253:2 [INFO] [stdout] | [INFO] [stdout] 253 | SafeMode::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | SafeMode::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | while System::block_number() < n { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | let activated_at_block = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | frame_system::Error::::CallFiltered [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 28 | fn fails_to_filter_calls_to_safe_mode_pallet() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | assert_ok!(SafeMode::extend(RuntimeOrigin::signed(1))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | assert_ok!(SafeMode::force_extend(signed(ForceExtendStrong::get()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | frame_system::Error::::CallFiltered [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 28 | fn fails_to_filter_calls_to_safe_mode_pallet() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | assert_ok!(SafeMode::force_exit(RuntimeOrigin::signed(mock::ForceExitOrigin::get()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | assert_ok!(SafeMode::force_release_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | frame_system::Error::::CallFiltered [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 28 | fn fails_to_filter_calls_to_safe_mode_pallet() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | assert_ok!(SafeMode::force_exit(RuntimeOrigin::signed(mock::ForceExitOrigin::get()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | assert_ok!(SafeMode::force_slash_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | assert_noop!(SafeMode::enter(RuntimeOrigin::signed(2)), Error::::Entered); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 71 | assert_noop!(SafeMode::enter(RuntimeOrigin::signed(2)), Error::::Entered); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 68 | fn fails_to_activate_if_activated() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(EnteredUntil::::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] 76 | fn fails_to_extend_if_not_activated() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | assert_noop!(SafeMode::extend(RuntimeOrigin::signed(2)), Error::::Exited); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:79:68 [INFO] [stdout] | [INFO] [stdout] 79 | assert_noop!(SafeMode::extend(RuntimeOrigin::signed(2)), Error::::Exited); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 76 | fn fails_to_extend_if_not_activated() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | let activated_at_block = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | SafeMode::force_release_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | Error::::NoDeposit [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 84 | fn fails_to_force_release_deposits_with_wrong_block() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | SafeMode::force_slash_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | Error::::NoDeposit [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 84 | fn fails_to_force_release_deposits_with_wrong_block() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | let activated_at_block = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | assert_ok!(SafeMode::force_exit(RuntimeOrigin::signed(mock::ForceExitOrigin::get()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | SafeMode::release_deposit(RuntimeOrigin::signed(2), 0, activated_at_block), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | Error::::CannotReleaseYet [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn fails_to_release_deposits_too_early() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | assert_ok!(SafeMode::release_deposit(RuntimeOrigin::signed(2), 0, activated_at_block)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | let activated_at_block = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | assert_ok!(SafeMode::force_enter(signed(ForceEnterWeak::get()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(EnteredUntil::::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] 128 | fn can_automatically_deactivate_after_timeout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | frame_system::Error::::CallFiltered [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 139 | fn can_filter_balance_calls_when_activated() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_utility` [INFO] [stdout] --> src/tests.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | RuntimeCall::Utility(pallet_utility::Call::batch { calls: vec![call_transfer()] }); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_utility` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_utility`, use `cargo add pallet_utility` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 22 + use crate::Call; [INFO] [stdout] | [INFO] [stdout] 22 + use crate::frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 154 - RuntimeCall::Utility(pallet_utility::Call::batch { calls: vec![call_transfer()] }); [INFO] [stdout] 154 + RuntimeCall::Utility(Call::batch { calls: vec![call_transfer()] }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 161 | System::assert_last_event( [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_utility` [INFO] [stdout] --> src/tests.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | pallet_utility::Event::BatchInterrupted { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_utility` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_utility`, use `cargo add pallet_utility` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 22 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 22 + use crate::frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 162 - pallet_utility::Event::BatchInterrupted { [INFO] [stdout] 162 + Event::BatchInterrupted { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:164:34 [INFO] [stdout] | [INFO] [stdout] 164 | error: frame_system::Error::::CallFiltered.into(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 151 | fn can_filter_balance_in_batch_when_activated() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:177:3 [INFO] [stdout] | [INFO] [stdout] 177 | System::assert_last_event(pallet_proxy::Event::ProxyExecuted { result: Ok(()) }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_proxy` [INFO] [stdout] --> src/tests.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | System::assert_last_event(pallet_proxy::Event::ProxyExecuted { result: Ok(()) }.into()); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_proxy`, use `cargo add pallet_proxy` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 22 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 22 + use crate::frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 177 - System::assert_last_event(pallet_proxy::Event::ProxyExecuted { result: Ok(()) }.into()); [INFO] [stdout] 177 + System::assert_last_event(Event::ProxyExecuted { result: Ok(()) }.into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | assert_ok!(SafeMode::force_enter(signed(ForceEnterWeak::get()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | System::assert_last_event( [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_proxy` [INFO] [stdout] --> src/tests.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | pallet_proxy::Event::ProxyExecuted { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_proxy`, use `cargo add pallet_proxy` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 22 + use crate::Event; [INFO] [stdout] | [INFO] [stdout] 22 + use crate::frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 183 - pallet_proxy::Event::ProxyExecuted { [INFO] [stdout] 183 + Event::ProxyExecuted { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:184:55 [INFO] [stdout] | [INFO] [stdout] 184 | result: DispatchError::from(frame_system::Error::::CallFiltered).into(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 172 | fn can_filter_balance_in_proxy_when_activated() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 195 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | EnteredUntil::::get().unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 193 | fn can_activate() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | System::block_number() + mock::EnterDuration::get() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | assert_noop!(SafeMode::enter(RuntimeOrigin::signed(0)), Error::::Entered); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:202:67 [INFO] [stdout] | [INFO] [stdout] 202 | assert_noop!(SafeMode::enter(RuntimeOrigin::signed(0)), Error::::Entered); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 193 | fn can_activate() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(Deposits::::get(0, 1), Some(mock::EnterDepositAmount::get())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 193 | fn can_activate() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:212:14 [INFO] [stdout] | [INFO] [stdout] 212 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(1))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 217 | assert_ok!(SafeMode::extend(RuntimeOrigin::signed(2))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:226:14 [INFO] [stdout] | [INFO] [stdout] 226 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:227:15 [INFO] [stdout] | [INFO] [stdout] 227 | assert_err!(SafeMode::extend(RuntimeOrigin::signed(0)), Error::::AlreadyDeposited); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:227:67 [INFO] [stdout] | [INFO] [stdout] 227 | assert_err!(SafeMode::extend(RuntimeOrigin::signed(0)), Error::::AlreadyDeposited); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 224 | fn cannot_extend() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | EnteredUntil::::get().unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 224 | fn cannot_extend() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | System::block_number() + mock::EnterDuration::get() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:240:29 [INFO] [stdout] | [INFO] [stdout] 240 | assert_eq!(EnteredUntil::::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] 238 | fn fails_signed_origin_when_explicit_origin_required() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | let activated_at_block = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:243:15 [INFO] [stdout] | [INFO] [stdout] 243 | assert_err!(SafeMode::force_enter(RuntimeOrigin::signed(0)), DispatchError::BadOrigin); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:244:15 [INFO] [stdout] | [INFO] [stdout] 244 | assert_err!(SafeMode::force_extend(RuntimeOrigin::signed(0)), DispatchError::BadOrigin); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:245:15 [INFO] [stdout] | [INFO] [stdout] 245 | assert_err!(SafeMode::force_exit(RuntimeOrigin::signed(0)), DispatchError::BadOrigin); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:247:4 [INFO] [stdout] | [INFO] [stdout] 247 | SafeMode::force_slash_deposit(RuntimeOrigin::signed(0), 0, activated_at_block), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | SafeMode::force_release_deposit(RuntimeOrigin::signed(0), 0, activated_at_block), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | SafeMode::force_exit(RuntimeOrigin::signed(mock::ForceExitOrigin::get())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | Error::::Exited [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 260 | fn fails_force_deactivate_if_not_activated() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:267:4 [INFO] [stdout] | [INFO] [stdout] 267 | SafeMode::force_exit(RuntimeOrigin::signed(mock::ForceExitOrigin::get())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | Error::::Exited [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 260 | fn fails_force_deactivate_if_not_activated() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:278:14 [INFO] [stdout] | [INFO] [stdout] 278 | assert_ok!(SafeMode::force_enter(signed(ForceEnterStrong::get()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | EnteredUntil::::get().unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 276 | fn can_force_activate_with_config_origin() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:282:4 [INFO] [stdout] | [INFO] [stdout] 282 | System::block_number() + ForceEnterStrong::get() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | SafeMode::force_enter(signed(ForceEnterStrong::get())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | Error::::Entered [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 276 | fn can_force_activate_with_config_origin() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:296:29 [INFO] [stdout] | [INFO] [stdout] 296 | assert_eq!(EnteredUntil::::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] 294 | fn can_force_deactivate_with_config_origin() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | SafeMode::force_exit(RuntimeOrigin::signed(ForceExitOrigin::get())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 299 | Error::::Exited [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 294 | fn can_force_deactivate_with_config_origin() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 301 | assert_ok!(SafeMode::force_enter(signed(ForceEnterWeak::get()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | assert_ok!(SafeMode::force_exit(RuntimeOrigin::signed(ForceExitOrigin::get()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | assert_ok!(SafeMode::force_enter(signed(ForceEnterWeak::get()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 313 | EnteredUntil::::get().unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 308 | fn can_force_extend_with_config_origin() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:314:4 [INFO] [stdout] | [INFO] [stdout] 314 | System::block_number() + ForceEnterWeak::get() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:316:14 [INFO] [stdout] | [INFO] [stdout] 316 | assert_ok!(SafeMode::force_extend(signed(ForceExtendWeak::get()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:318:19 [INFO] [stdout] | [INFO] [stdout] 318 | EnteredUntil::::get().unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 308 | fn can_force_extend_with_config_origin() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:319:4 [INFO] [stdout] | [INFO] [stdout] 319 | System::block_number() + ForceEnterWeak::get() + ForceExtendWeak::get() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | let activated_at_block = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:329:22 [INFO] [stdout] | [INFO] [stdout] 329 | hypothetically_ok!(SafeMode::force_release_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:336:14 [INFO] [stdout] | [INFO] [stdout] 336 | assert_ok!(SafeMode::force_release_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:344:41 [INFO] [stdout] | [INFO] [stdout] 344 | let activated_and_extended_at_block = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:345:14 [INFO] [stdout] | [INFO] [stdout] 345 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:346:14 [INFO] [stdout] | [INFO] [stdout] 346 | assert_ok!(SafeMode::extend(RuntimeOrigin::signed(1))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:354:14 [INFO] [stdout] | [INFO] [stdout] 354 | assert_ok!(SafeMode::force_release_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:366:14 [INFO] [stdout] | [INFO] [stdout] 366 | assert_eq!(System::block_number(), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:368:11 [INFO] [stdout] | [INFO] [stdout] 368 | assert!(SafeMode::is_entered()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:375:23 [INFO] [stdout] | [INFO] [stdout] 375 | hypothetically_ok!(SafeMode::force_release_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:382:14 [INFO] [stdout] | [INFO] [stdout] 382 | assert_ok!(SafeMode::force_release_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:390:4 [INFO] [stdout] | [INFO] [stdout] 390 | SafeMode::force_release_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 395 | Error::::NoDeposit [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 364 | fn can_release_deposit_while_entered() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 403 | assert_eq!(System::block_number(), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:404:14 [INFO] [stdout] | [INFO] [stdout] 404 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:405:11 [INFO] [stdout] | [INFO] [stdout] 405 | assert!(SafeMode::is_entered()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:410:23 [INFO] [stdout] | [INFO] [stdout] 410 | hypothetically_ok!(SafeMode::force_slash_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:417:14 [INFO] [stdout] | [INFO] [stdout] 417 | assert_ok!(SafeMode::force_slash_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:424:4 [INFO] [stdout] | [INFO] [stdout] 424 | SafeMode::force_slash_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:429:12 [INFO] [stdout] | [INFO] [stdout] 429 | Error::::NoDeposit [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 401 | fn can_slash_deposit_while_entered() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:437:14 [INFO] [stdout] | [INFO] [stdout] 437 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:438:14 [INFO] [stdout] | [INFO] [stdout] 438 | assert_ok!(SafeMode::extend(RuntimeOrigin::signed(1))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:442:14 [INFO] [stdout] | [INFO] [stdout] 442 | assert_ok!(SafeMode::force_slash_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:449:14 [INFO] [stdout] | [INFO] [stdout] 449 | assert_ok!(SafeMode::force_slash_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:458:4 [INFO] [stdout] | [INFO] [stdout] 458 | SafeMode::force_slash_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:463:12 [INFO] [stdout] | [INFO] [stdout] 463 | Error::::NoDeposit [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 435 | fn can_slash_deposit_from_extend_block() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:466:4 [INFO] [stdout] | [INFO] [stdout] 466 | SafeMode::force_slash_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 471 | Error::::NoDeposit [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 435 | fn can_slash_deposit_from_extend_block() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:479:28 [INFO] [stdout] | [INFO] [stdout] 479 | let activated_at_block = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:480:14 [INFO] [stdout] | [INFO] [stdout] 480 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:481:22 [INFO] [stdout] | [INFO] [stdout] 481 | hypothetically_ok!(SafeMode::force_slash_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:488:14 [INFO] [stdout] | [INFO] [stdout] 488 | assert_ok!(SafeMode::force_slash_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:497:41 [INFO] [stdout] | [INFO] [stdout] 497 | let activated_and_extended_at_block = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:498:14 [INFO] [stdout] | [INFO] [stdout] 498 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:499:14 [INFO] [stdout] | [INFO] [stdout] 499 | assert_ok!(SafeMode::extend(RuntimeOrigin::signed(1))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:507:14 [INFO] [stdout] | [INFO] [stdout] 507 | assert_ok!(SafeMode::force_slash_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:520:29 [INFO] [stdout] | [INFO] [stdout] 520 | assert_eq!(EnteredUntil::::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] 518 | fn fails_when_explicit_origin_required() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:521:28 [INFO] [stdout] | [INFO] [stdout] 521 | let activated_at_block = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:523:15 [INFO] [stdout] | [INFO] [stdout] 523 | assert_err!(SafeMode::force_extend(signed(1)), DispatchError::BadOrigin); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:524:15 [INFO] [stdout] | [INFO] [stdout] 524 | assert_err!(SafeMode::force_exit(signed(1)), DispatchError::BadOrigin); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:526:4 [INFO] [stdout] | [INFO] [stdout] 526 | SafeMode::force_slash_deposit(signed(1), 0, activated_at_block), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:530:4 [INFO] [stdout] | [INFO] [stdout] 530 | SafeMode::force_release_deposit(signed(1), 0, activated_at_block), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:534:15 [INFO] [stdout] | [INFO] [stdout] 534 | assert_err!(SafeMode::force_enter(signed(1)), DispatchError::BadOrigin); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:535:15 [INFO] [stdout] | [INFO] [stdout] 535 | assert_err!(SafeMode::force_exit(signed(1)), DispatchError::BadOrigin); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:537:4 [INFO] [stdout] | [INFO] [stdout] 537 | SafeMode::force_slash_deposit(signed(1), 0, activated_at_block), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:541:4 [INFO] [stdout] | [INFO] [stdout] 541 | SafeMode::force_release_deposit(signed(1), 0, activated_at_block), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:546:4 [INFO] [stdout] | [INFO] [stdout] 546 | SafeMode::force_enter(RuntimeOrigin::signed(mock::ForceExitOrigin::get())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:550:4 [INFO] [stdout] | [INFO] [stdout] 550 | SafeMode::force_extend(RuntimeOrigin::signed(mock::ForceExitOrigin::get())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:554:4 [INFO] [stdout] | [INFO] [stdout] 554 | SafeMode::force_slash_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:562:4 [INFO] [stdout] | [INFO] [stdout] 562 | SafeMode::force_release_deposit( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:571:4 [INFO] [stdout] | [INFO] [stdout] 571 | SafeMode::force_enter(RuntimeOrigin::signed(mock::ForceDepositOrigin::get())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:575:4 [INFO] [stdout] | [INFO] [stdout] 575 | SafeMode::force_extend(RuntimeOrigin::signed(mock::ForceDepositOrigin::get())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SafeMode` [INFO] [stdout] --> src/tests.rs:579:4 [INFO] [stdout] | [INFO] [stdout] 579 | SafeMode::force_exit(RuntimeOrigin::signed(mock::ForceDepositOrigin::get())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SafeMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:586:24 [INFO] [stdout] | [INFO] [stdout] 586 | RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { dest: 1, value: 1 }) [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] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 22 + use crate::Call; [INFO] [stdout] | [INFO] [stdout] 22 + use crate::frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 586 - RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { dest: 1, value: 1 }) [INFO] [stdout] 586 + RuntimeCall::Balances(Call::transfer_allow_death { dest: 1, value: 1 }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:589:24 [INFO] [stdout] | [INFO] [stdout] 589 | fn signed(who: u64) -> RuntimeOrigin { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::Currency` [INFO] [stdout] --> src/tests.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | use frame::{testing_prelude::*, traits::Currency}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | 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]: failed to resolve: use of unresolved module or unlinked crate `pallet_utility` [INFO] [stdout] --> src/mock.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | impl pallet_utility::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_utility` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_utility`, use `cargo add pallet_utility` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/mock.rs:112:6 [INFO] [stdout] | [INFO] [stdout] 112 | RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { .. }) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `RuntimeCall` [INFO] [stdout] | help: a type alias with a similar name exists: `RuntimeCallFor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/mock.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | ProxyType::JustUtility => matches!(c, RuntimeCall::Utility { .. }), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `RuntimeCall` [INFO] [stdout] | help: a type alias with a similar name exists: `RuntimeCallFor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_proxy` [INFO] [stdout] --> src/mock.rs:123:6 [INFO] [stdout] | [INFO] [stdout] 123 | impl pallet_proxy::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_proxy`, use `cargo add pallet_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/mock.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | RuntimeCall::Balances(_) => false, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `RuntimeCall` [INFO] [stdout] | help: a type alias with a similar name exists: `RuntimeCallFor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:228:2 [INFO] [stdout] | [INFO] [stdout] 228 | pallet_balances::GenesisConfig:: { [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]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/mock.rs:248:2 [INFO] [stdout] | [INFO] [stdout] 248 | Balances::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/mock.rs:252:2 [INFO] [stdout] | [INFO] [stdout] 252 | Balances::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | call_transfer().dispatch(RuntimeOrigin::signed(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | assert_ok!(SafeMode::extend(RuntimeOrigin::signed(1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | call_transfer().dispatch(RuntimeOrigin::signed(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | assert_ok!(SafeMode::force_exit(RuntimeOrigin::signed(mock::ForceExitOrigin::get()))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | call_transfer().dispatch(RuntimeOrigin::signed(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | assert_ok!(SafeMode::force_exit(RuntimeOrigin::signed(mock::ForceExitOrigin::get()))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | assert_noop!(SafeMode::enter(RuntimeOrigin::signed(2)), Error::::Entered); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | assert_noop!(SafeMode::extend(RuntimeOrigin::signed(2)), Error::::Exited); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | assert_ok!(SafeMode::force_exit(RuntimeOrigin::signed(mock::ForceExitOrigin::get()))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 117 | SafeMode::release_deposit(RuntimeOrigin::signed(2), 0, activated_at_block), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | assert_ok!(SafeMode::release_deposit(RuntimeOrigin::signed(2), 0, activated_at_block)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:141:39 [INFO] [stdout] | [INFO] [stdout] 141 | assert_ok!(call_transfer().dispatch(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | call_transfer().dispatch(RuntimeOrigin::signed(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:156:42 [INFO] [stdout] | [INFO] [stdout] 156 | assert_ok!(batch_call.clone().dispatch(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:160:42 [INFO] [stdout] | [INFO] [stdout] 160 | assert_ok!(batch_call.clone().dispatch(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Proxy` [INFO] [stdout] --> src/tests.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | assert_ok!(Proxy::add_proxy(RuntimeOrigin::signed(1), 2, ProxyType::JustTransfer, 0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | assert_ok!(Proxy::add_proxy(RuntimeOrigin::signed(1), 2, ProxyType::JustTransfer, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Proxy` [INFO] [stdout] --> src/tests.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | assert_ok!(Proxy::proxy(RuntimeOrigin::signed(2), 1, None, Box::new(call_transfer()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 176 | assert_ok!(Proxy::proxy(RuntimeOrigin::signed(2), 1, None, Box::new(call_transfer()))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Proxy` [INFO] [stdout] --> src/tests.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | assert_ok!(Proxy::proxy(RuntimeOrigin::signed(2), 1, None, Box::new(call_transfer()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | assert_ok!(Proxy::proxy(RuntimeOrigin::signed(2), 1, None, Box::new(call_transfer()))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:195:30 [INFO] [stdout] | [INFO] [stdout] 195 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | assert_eq!(Balances::reserved_balance(0), mock::EnterDepositAmount::get()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:202:32 [INFO] [stdout] | [INFO] [stdout] 202 | assert_noop!(SafeMode::enter(RuntimeOrigin::signed(0)), Error::::Entered); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:212:30 [INFO] [stdout] | [INFO] [stdout] 212 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:216:30 [INFO] [stdout] | [INFO] [stdout] 216 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | assert_ok!(SafeMode::extend(RuntimeOrigin::signed(2))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | assert_err!(SafeMode::extend(RuntimeOrigin::signed(0)), Error::::AlreadyDeposited); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | assert_eq!(Balances::reserved_balance(0), mock::EnterDepositAmount::get()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 243 | assert_err!(SafeMode::force_enter(RuntimeOrigin::signed(0)), DispatchError::BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:244:38 [INFO] [stdout] | [INFO] [stdout] 244 | assert_err!(SafeMode::force_extend(RuntimeOrigin::signed(0)), DispatchError::BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:245:36 [INFO] [stdout] | [INFO] [stdout] 245 | assert_err!(SafeMode::force_exit(RuntimeOrigin::signed(0)), DispatchError::BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:247:34 [INFO] [stdout] | [INFO] [stdout] 247 | SafeMode::force_slash_deposit(RuntimeOrigin::signed(0), 0, activated_at_block), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:251:36 [INFO] [stdout] | [INFO] [stdout] 251 | SafeMode::force_release_deposit(RuntimeOrigin::signed(0), 0, activated_at_block), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:263:25 [INFO] [stdout] | [INFO] [stdout] 263 | SafeMode::force_exit(RuntimeOrigin::signed(mock::ForceExitOrigin::get())), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | SafeMode::force_exit(RuntimeOrigin::signed(mock::ForceExitOrigin::get())), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | SafeMode::force_exit(RuntimeOrigin::signed(ForceExitOrigin::get())), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 302 | assert_ok!(SafeMode::force_exit(RuntimeOrigin::signed(ForceExitOrigin::get()))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:328:30 [INFO] [stdout] | [INFO] [stdout] 328 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 341 | assert_eq!(Balances::free_balance(&0), BAL_ACC0); // accounts set in mock genesis [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:343:3 [INFO] [stdout] | [INFO] [stdout] 343 | Balances::make_free_balance_be(&0, BAL_ACC0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:345:30 [INFO] [stdout] | [INFO] [stdout] 345 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:346:31 [INFO] [stdout] | [INFO] [stdout] 346 | assert_ok!(SafeMode::extend(RuntimeOrigin::signed(1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:359:14 [INFO] [stdout] | [INFO] [stdout] 359 | assert_eq!(Balances::free_balance(&0), BAL_ACC0); // accounts set in mock genesis [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:367:30 [INFO] [stdout] | [INFO] [stdout] 367 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:370:14 [INFO] [stdout] | [INFO] [stdout] 370 | assert_eq!(Balances::free_balance(&0), BAL_ACC0 - mock::EnterDepositAmount::get()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:383:4 [INFO] [stdout] | [INFO] [stdout] 383 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:387:14 [INFO] [stdout] | [INFO] [stdout] 387 | assert_eq!(Balances::free_balance(&0), BAL_ACC0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 391 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:404:30 [INFO] [stdout] | [INFO] [stdout] 404 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:418:4 [INFO] [stdout] | [INFO] [stdout] 418 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:425:5 [INFO] [stdout] | [INFO] [stdout] 425 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:437:30 [INFO] [stdout] | [INFO] [stdout] 437 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:438:31 [INFO] [stdout] | [INFO] [stdout] 438 | assert_ok!(SafeMode::extend(RuntimeOrigin::signed(1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:439:14 [INFO] [stdout] | [INFO] [stdout] 439 | assert_eq!(Balances::free_balance(&0), BAL_ACC0 - mock::EnterDepositAmount::get()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:440:14 [INFO] [stdout] | [INFO] [stdout] 440 | assert_eq!(Balances::free_balance(&1), BAL_ACC1 - mock::ExtendDepositAmount::get()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:443:4 [INFO] [stdout] | [INFO] [stdout] 443 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:447:14 [INFO] [stdout] | [INFO] [stdout] 447 | assert_eq!(Balances::free_balance(&0), BAL_ACC0 - mock::EnterDepositAmount::get()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:450:4 [INFO] [stdout] | [INFO] [stdout] 450 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:454:14 [INFO] [stdout] | [INFO] [stdout] 454 | assert_eq!(Balances::free_balance(&1), BAL_ACC1 - mock::ExtendDepositAmount::get()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 459 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:480:30 [INFO] [stdout] | [INFO] [stdout] 480 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:482:4 [INFO] [stdout] | [INFO] [stdout] 482 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:489:4 [INFO] [stdout] | [INFO] [stdout] 489 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:494:14 [INFO] [stdout] | [INFO] [stdout] 494 | assert_eq!(Balances::free_balance(&0), BAL_ACC0 - mock::EnterDepositAmount::get()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:496:3 [INFO] [stdout] | [INFO] [stdout] 496 | Balances::make_free_balance_be(&0, BAL_ACC0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:498:30 [INFO] [stdout] | [INFO] [stdout] 498 | assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:499:31 [INFO] [stdout] | [INFO] [stdout] 499 | assert_ok!(SafeMode::extend(RuntimeOrigin::signed(1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:508:4 [INFO] [stdout] | [INFO] [stdout] 508 | RuntimeOrigin::signed(mock::ForceDepositOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:513:14 [INFO] [stdout] | [INFO] [stdout] 513 | assert_eq!(Balances::free_balance(&0), BAL_ACC0 - mock::EnterDepositAmount::get()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:546:26 [INFO] [stdout] | [INFO] [stdout] 546 | SafeMode::force_enter(RuntimeOrigin::signed(mock::ForceExitOrigin::get())), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:550:27 [INFO] [stdout] | [INFO] [stdout] 550 | SafeMode::force_extend(RuntimeOrigin::signed(mock::ForceExitOrigin::get())), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:555:5 [INFO] [stdout] | [INFO] [stdout] 555 | RuntimeOrigin::signed(mock::ForceExitOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:563:5 [INFO] [stdout] | [INFO] [stdout] 563 | RuntimeOrigin::signed(mock::ForceExitOrigin::get()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:571:26 [INFO] [stdout] | [INFO] [stdout] 571 | SafeMode::force_enter(RuntimeOrigin::signed(mock::ForceDepositOrigin::get())), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:575:27 [INFO] [stdout] | [INFO] [stdout] 575 | SafeMode::force_extend(RuntimeOrigin::signed(mock::ForceDepositOrigin::get())), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:579:25 [INFO] [stdout] | [INFO] [stdout] 579 | SafeMode::force_exit(RuntimeOrigin::signed(mock::ForceDepositOrigin::get())), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:590:2 [INFO] [stdout] | [INFO] [stdout] 590 | RuntimeOrigin::signed(who) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-safe-mode` (lib test) due to 297 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "de68c30633c6facb6e7bece0162fd8d9ed3ed15aa3d5a9f1f4ac1042ef459b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de68c30633c6facb6e7bece0162fd8d9ed3ed15aa3d5a9f1f4ac1042ef459b02", kill_on_drop: false }` [INFO] [stdout] de68c30633c6facb6e7bece0162fd8d9ed3ed15aa3d5a9f1f4ac1042ef459b02