[INFO] fetching crate pallet-safe-mode 21.1.0... [INFO] testing pallet-safe-mode-21.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pallet-safe-mode 21.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate pallet-safe-mode 21.1.0 [INFO] finished tweaking crates.io crate pallet-safe-mode 21.1.0 [INFO] tweaked toml for crates.io crate pallet-safe-mode 21.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-safe-mode 21.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 379 packages to latest compatible versions [INFO] [stderr] Adding docify v0.2.9 (available: v0.4.1) [INFO] [stderr] Adding unicode-normalization v0.1.22 (available: v0.1.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-transaction-pool v36.0.0 [INFO] [stderr] Downloaded pallet-utility v40.0.0 [INFO] [stderr] Downloaded sp-keyring v41.0.0 [INFO] [stderr] Downloaded sp-session v38.1.0 [INFO] [stderr] Downloaded pallet-proxy v40.1.0 [INFO] [stderr] Downloaded sp-consensus-aura v0.42.0 [INFO] [stderr] Downloaded polkadot-sdk-frame v0.9.1 [INFO] [stderr] Downloaded frame-system-rpc-runtime-api v36.0.0 [INFO] [stderr] Downloaded frame-try-runtime v0.46.0 [INFO] [stderr] Downloaded frame-executive v40.0.1 [INFO] [stderr] Downloaded sp-block-builder v36.0.0 [INFO] [stderr] Downloaded sp-consensus-slots v0.42.1 [INFO] [stderr] Downloaded sp-consensus-grandpa v23.1.0 [INFO] [stderr] Downloaded sp-timestamp v36.0.0 [INFO] [stderr] Downloaded sp-offchain v36.0.0 [INFO] [stderr] Downloaded pallet-balances v41.1.0 [INFO] [stderr] Downloaded frame-system-benchmarking v40.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c17b98fb7f9dadd95b29e98ef48ff6d739cbf13fd1660630819160656a462390 [INFO] running `Command { std: "docker" "start" "-a" "c17b98fb7f9dadd95b29e98ef48ff6d739cbf13fd1660630819160656a462390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c17b98fb7f9dadd95b29e98ef48ff6d739cbf13fd1660630819160656a462390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c17b98fb7f9dadd95b29e98ef48ff6d739cbf13fd1660630819160656a462390", kill_on_drop: false }` [INFO] [stdout] c17b98fb7f9dadd95b29e98ef48ff6d739cbf13fd1660630819160656a462390 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 472235abfb25381bac77c63cf777ae6ede87fc2029cde977258398db439ee90e [INFO] running `Command { std: "docker" "start" "-a" "472235abfb25381bac77c63cf777ae6ede87fc2029cde977258398db439ee90e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling thread_local v1.1.9 [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 derive-syn-parse v0.2.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling dyn-clonable v0.9.2 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling schnellru v0.2.4 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling trie-db v0.30.0 [INFO] [stderr] Compiling memory-db v0.32.0 [INFO] [stderr] Compiling trie-root v0.18.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v40.0.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling simple-mermaid v0.1.1 [INFO] [stderr] Compiling tuplex v0.1.2 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling proc-macro-warning v1.84.1 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parity-wasm v0.45.0 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling sp-api-proc-macro v22.0.1 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-tracing v17.1.0 [INFO] [stderr] Compiling sp-wasm-interface v21.0.1 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling bounded-collections v0.2.4 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling sp-arithmetic v26.1.0 [INFO] [stderr] Compiling frame-metadata v20.0.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling sp-runtime-interface v29.0.1 [INFO] [stderr] Compiling sp-weights v31.1.0 [INFO] [stderr] Compiling sp-core v36.1.0 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling frame-support-procedural v33.0.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling sp-metadata-ir v0.10.0 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling sp-trie v39.1.0 [INFO] [stderr] Compiling sp-keystore v0.42.0 [INFO] [stderr] Compiling sp-state-machine v0.45.0 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling sp-application-crypto v40.1.0 [INFO] [stderr] Compiling sp-runtime v41.1.0 [INFO] [stderr] Compiling linregress v0.5.4 [INFO] [stderr] Compiling sp-version v39.0.0 [INFO] [stderr] Compiling sp-inherents v36.0.0 [INFO] [stderr] Compiling sp-staking v38.0.0 [INFO] [stderr] Compiling sp-api v36.0.1 [INFO] [stderr] Compiling sp-genesis-builder v0.17.0 [INFO] [stderr] Compiling frame-support v40.1.0 [INFO] [stderr] Compiling frame-system v40.1.0 [INFO] [stderr] Compiling frame-benchmarking v40.2.0 [INFO] [stderr] Compiling pallet-safe-mode v21.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: trie-db v0.30.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "472235abfb25381bac77c63cf777ae6ede87fc2029cde977258398db439ee90e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "472235abfb25381bac77c63cf777ae6ede87fc2029cde977258398db439ee90e", kill_on_drop: false }` [INFO] [stdout] 472235abfb25381bac77c63cf777ae6ede87fc2029cde977258398db439ee90e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4fec4c5eba1660277ca7aa700ddab4153907f9c590f67ae012f18e2b9440620b [INFO] running `Command { std: "docker" "start" "-a" "4fec4c5eba1660277ca7aa700ddab4153907f9c590f67ae012f18e2b9440620b", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-safe-mode v21.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `frame_support::hypothetically_ok` [INFO] [stdout] --> src/tests.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | use frame_support::{assert_err, assert_noop, assert_ok, hypothetically_ok, traits::Currency}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `hypothetically_ok` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs:867:14 [INFO] [stdout] | [INFO] [stdout] 867 | macro_rules! hypothetically_ok { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `experimental` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs:866:7 [INFO] [stdout] | [INFO] [stdout] 866 | #[cfg(feature = "experimental")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/mock.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use sp_core::H256; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `sp_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_core`, use `cargo add sp_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [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:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | #[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:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | 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:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | 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:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | type RuntimeOrigin = RuntimeOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 41 | 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:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:2543:2 [INFO] [stdout] | [INFO] [stdout] 2543 | 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] 42 | type RuntimeCall = Self::RuntimeCall; [INFO] [stdout] | ++++++ [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 42 | 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:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 49 | 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:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | type PalletInfo = PalletInfo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 52 | type PalletInfo = Self::PalletInfo; [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/mock.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350| 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:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | 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:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | 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:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | 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-40.1.0/src/lib.rs:2543:2 [INFO] [stdout] | [INFO] [stdout] 2543 | 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:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | 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:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | impl InstanceFilter for ProxyType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:2543:2 [INFO] [stdout] | [INFO] [stdout] 2543 | 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] 111 | impl InstanceFilter for ProxyType { [INFO] [stdout] | +++ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | 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:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | 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-40.1.0/src/lib.rs:2543:2 [INFO] [stdout] | [INFO] [stdout] 2543 | 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:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | 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 frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 118 - RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { .. }) [INFO] [stdout] 118 + 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:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | 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:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | 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:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | 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-40.1.0/src/lib.rs:2543:2 [INFO] [stdout] | [INFO] [stdout] 2543 | 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:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / type BalanceOf = [INFO] [stdout] 100 | | <::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:142:50 [INFO] [stdout] | [INFO] [stdout] 142 | 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] 129 | 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:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | impl Contains for WhitelistedCalls { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:2543:2 [INFO] [stdout] | [INFO] [stdout] 2543 | 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] 147 | impl Contains for WhitelistedCalls { [INFO] [stdout] | +++ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 147 | 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:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | 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-40.1.0/src/lib.rs:2543:2 [INFO] [stdout] | [INFO] [stdout] 2543 | 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:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | 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] 178 | 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:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | 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] 178 | 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:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | 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:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 198 | 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:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / type BalanceOf = [INFO] [stdout] 100 | | <::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:200:27 [INFO] [stdout] | [INFO] [stdout] 200 | type RuntimeHoldReason = RuntimeHoldReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 200 | 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:215:47 [INFO] [stdout] | [INFO] [stdout] 215 | 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] 215 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> src/mock.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_io`, use `cargo add sp_io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:232:44 [INFO] [stdout] | [INFO] [stdout] 232 | 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] 231 | pub fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:234:35 [INFO] [stdout] | [INFO] [stdout] 234 | 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] 231 | pub fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:241:36 [INFO] [stdout] | [INFO] [stdout] 241 | 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] 231 | pub fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> src/mock.rs:245:16 [INFO] [stdout] | [INFO] [stdout] 245 | let mut ext = sp_io::TestExternalities::new(t); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_io`, use `cargo add sp_io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:247:3 [INFO] [stdout] | [INFO] [stdout] 247 | 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:253:2 [INFO] [stdout] | [INFO] [stdout] 253 | 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_support::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:24 [INFO] [stdout] | [INFO] [stdout] 253 | 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:254:24 [INFO] [stdout] | [INFO] [stdout] 254 | 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:255:2 [INFO] [stdout] | [INFO] [stdout] 255 | 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:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | 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:256:2 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:27 [INFO] [stdout] | [INFO] [stdout] 256 | 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:257:2 [INFO] [stdout] | [INFO] [stdout] 257 | 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:257:24 [INFO] [stdout] | [INFO] [stdout] 257 | 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:258:26 [INFO] [stdout] | [INFO] [stdout] 258 | 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:259:2 [INFO] [stdout] | [INFO] [stdout] 259 | 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_support::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:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | 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:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | 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:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | 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_support::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:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | 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:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | 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] 29 | 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:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | 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_support::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:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | 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] 29 | 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:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | 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_support::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:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | 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_support::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:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | 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] 29 | 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:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | 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_support::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:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | 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_support::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:14 [INFO] [stdout] | [INFO] [stdout] 71 | 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_support::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:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:72:67 [INFO] [stdout] | [INFO] [stdout] 72 | 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] 69 | 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:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | 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] 77 | 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:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:80:68 [INFO] [stdout] | [INFO] [stdout] 80 | 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] 77 | 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:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | 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:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | 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_support::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:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | 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] 85 | 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:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 85 | 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:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | 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:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | 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_support::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:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | 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_support::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:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | 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] 112 | 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:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | 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_support::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:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | 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:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | 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] 129 | 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:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | 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] 140 | 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:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | 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 frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 155 - RuntimeCall::Utility(pallet_utility::Call::batch { calls: vec![call_transfer()] }); [INFO] [stdout] 155 + 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:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | 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_support::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:162:3 [INFO] [stdout] | [INFO] [stdout] 162 | 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:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | 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 frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 163 - pallet_utility::Event::BatchInterrupted { [INFO] [stdout] 163 + Event::BatchInterrupted { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | 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] 152 | 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:178:3 [INFO] [stdout] | [INFO] [stdout] 178 | 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:178:29 [INFO] [stdout] | [INFO] [stdout] 178 | 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 frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 178 - System::assert_last_event(pallet_proxy::Event::ProxyExecuted { result: Ok(()) }.into()); [INFO] [stdout] 178 + 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:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | 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_support::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:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | 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:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | 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 frame_system::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 184 - pallet_proxy::Event::ProxyExecuted { [INFO] [stdout] 184 + Event::ProxyExecuted { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:185:55 [INFO] [stdout] | [INFO] [stdout] 185 | 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] 173 | 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:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | 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] 194 | 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:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | 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:203:16 [INFO] [stdout] | [INFO] [stdout] 203 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:203:67 [INFO] [stdout] | [INFO] [stdout] 203 | 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] 194 | 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:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | 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] 194 | 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:213:14 [INFO] [stdout] | [INFO] [stdout] 213 | 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_support::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::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_support::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:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | 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_support::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:14 [INFO] [stdout] | [INFO] [stdout] 227 | 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_support::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:228:15 [INFO] [stdout] | [INFO] [stdout] 228 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:228:67 [INFO] [stdout] | [INFO] [stdout] 228 | 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] 225 | 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:230:19 [INFO] [stdout] | [INFO] [stdout] 230 | 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] 225 | 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:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | 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:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | 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] 239 | 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:242:28 [INFO] [stdout] | [INFO] [stdout] 242 | 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:244:15 [INFO] [stdout] | [INFO] [stdout] 244 | 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_support::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_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_support::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:246:15 [INFO] [stdout] | [INFO] [stdout] 246 | 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_support::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:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | 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_support::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:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | 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_support::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:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | 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] 261 | 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:268:4 [INFO] [stdout] | [INFO] [stdout] 268 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | 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] 261 | 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:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:282:19 [INFO] [stdout] | [INFO] [stdout] 282 | 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] 277 | 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:283:4 [INFO] [stdout] | [INFO] [stdout] 283 | 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:286:4 [INFO] [stdout] | [INFO] [stdout] 286 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 287 | 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] 277 | 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:297:29 [INFO] [stdout] | [INFO] [stdout] 297 | 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] 295 | 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:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | 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] 295 | 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:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | 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_support::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:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | 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_support::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:312:14 [INFO] [stdout] | [INFO] [stdout] 312 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:314:19 [INFO] [stdout] | [INFO] [stdout] 314 | 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] 309 | 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:315:4 [INFO] [stdout] | [INFO] [stdout] 315 | 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:317:14 [INFO] [stdout] | [INFO] [stdout] 317 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | 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] 309 | 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:320:4 [INFO] [stdout] | [INFO] [stdout] 320 | 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:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | 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:329:14 [INFO] [stdout] | [INFO] [stdout] 329 | 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_support::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:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | 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_support::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:345:41 [INFO] [stdout] | [INFO] [stdout] 345 | 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:346:14 [INFO] [stdout] | [INFO] [stdout] 346 | 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_support::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:347:14 [INFO] [stdout] | [INFO] [stdout] 347 | 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_support::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:355:14 [INFO] [stdout] | [INFO] [stdout] 355 | 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_support::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:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | 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:368:14 [INFO] [stdout] | [INFO] [stdout] 368 | 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_support::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:369:11 [INFO] [stdout] | [INFO] [stdout] 369 | 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_support::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:383:14 [INFO] [stdout] | [INFO] [stdout] 383 | 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_support::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:391:4 [INFO] [stdout] | [INFO] [stdout] 391 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | 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] 365 | 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:404:14 [INFO] [stdout] | [INFO] [stdout] 404 | 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:405:14 [INFO] [stdout] | [INFO] [stdout] 405 | 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_support::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:406:11 [INFO] [stdout] | [INFO] [stdout] 406 | 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_support::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:418:14 [INFO] [stdout] | [INFO] [stdout] 418 | 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_support::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:425:4 [INFO] [stdout] | [INFO] [stdout] 425 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | 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] 402 | 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:438:14 [INFO] [stdout] | [INFO] [stdout] 438 | 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_support::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:439:14 [INFO] [stdout] | [INFO] [stdout] 439 | 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_support::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:443:14 [INFO] [stdout] | [INFO] [stdout] 443 | 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_support::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:450:14 [INFO] [stdout] | [INFO] [stdout] 450 | 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_support::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:459:4 [INFO] [stdout] | [INFO] [stdout] 459 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:464:12 [INFO] [stdout] | [INFO] [stdout] 464 | 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] 436 | 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:467:4 [INFO] [stdout] | [INFO] [stdout] 467 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 472 | 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] 436 | 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:480:28 [INFO] [stdout] | [INFO] [stdout] 480 | 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:481:14 [INFO] [stdout] | [INFO] [stdout] 481 | 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_support::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:489:14 [INFO] [stdout] | [INFO] [stdout] 489 | 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_support::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:498:41 [INFO] [stdout] | [INFO] [stdout] 498 | 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:499:14 [INFO] [stdout] | [INFO] [stdout] 499 | 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_support::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:500:14 [INFO] [stdout] | [INFO] [stdout] 500 | 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_support::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:508:14 [INFO] [stdout] | [INFO] [stdout] 508 | 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_support::traits::SafeMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:521:29 [INFO] [stdout] | [INFO] [stdout] 521 | 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] 519 | 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:522:28 [INFO] [stdout] | [INFO] [stdout] 522 | 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:524:15 [INFO] [stdout] | [INFO] [stdout] 524 | 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_support::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:525:15 [INFO] [stdout] | [INFO] [stdout] 525 | 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_support::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:527:4 [INFO] [stdout] | [INFO] [stdout] 527 | 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_support::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:531:4 [INFO] [stdout] | [INFO] [stdout] 531 | 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_support::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_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_support::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:536:15 [INFO] [stdout] | [INFO] [stdout] 536 | 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_support::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:538:4 [INFO] [stdout] | [INFO] [stdout] 538 | 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_support::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:542:4 [INFO] [stdout] | [INFO] [stdout] 542 | 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_support::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:547:4 [INFO] [stdout] | [INFO] [stdout] 547 | 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_support::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:551:4 [INFO] [stdout] | [INFO] [stdout] 551 | 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_support::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:555:4 [INFO] [stdout] | [INFO] [stdout] 555 | 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_support::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:563:4 [INFO] [stdout] | [INFO] [stdout] 563 | 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_support::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:572:4 [INFO] [stdout] | [INFO] [stdout] 572 | 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_support::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:576:4 [INFO] [stdout] | [INFO] [stdout] 576 | 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_support::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:580:4 [INFO] [stdout] | [INFO] [stdout] 580 | 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_support::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:587:24 [INFO] [stdout] | [INFO] [stdout] 587 | 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 frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 587 - RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { dest: 1, value: 1 }) [INFO] [stdout] 587 + 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:590:24 [INFO] [stdout] | [INFO] [stdout] 590 | 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:76 [INFO] [stdout] | [INFO] [stdout] 25 | use frame_support::{assert_err, assert_noop, assert_ok, hypothetically_ok, 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:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | 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:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | 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:118:6 [INFO] [stdout] | [INFO] [stdout] 118 | 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:121:42 [INFO] [stdout] | [INFO] [stdout] 121 | 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:129:6 [INFO] [stdout] | [INFO] [stdout] 129 | 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:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | 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:234:2 [INFO] [stdout] | [INFO] [stdout] 234 | 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:254:2 [INFO] [stdout] | [INFO] [stdout] 254 | 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:258:2 [INFO] [stdout] | [INFO] [stdout] 258 | 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:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | 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:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | 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:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | 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:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | 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:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | 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:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | 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:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | 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:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | 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:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | 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:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | 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:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | 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:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | 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:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | 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:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | 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:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | 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:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | 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:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | 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:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | 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:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | 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:122:40 [INFO] [stdout] | [INFO] [stdout] 122 | 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:142:39 [INFO] [stdout] | [INFO] [stdout] 142 | 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:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | 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:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | 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:157:42 [INFO] [stdout] | [INFO] [stdout] 157 | 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:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | 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:161:42 [INFO] [stdout] | [INFO] [stdout] 161 | 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:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | 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:175:31 [INFO] [stdout] | [INFO] [stdout] 175 | 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:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | 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:177:27 [INFO] [stdout] | [INFO] [stdout] 177 | 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:182:14 [INFO] [stdout] | [INFO] [stdout] 182 | 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:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | 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:196:30 [INFO] [stdout] | [INFO] [stdout] 196 | 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:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | 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:203:32 [INFO] [stdout] | [INFO] [stdout] 203 | 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:213:30 [INFO] [stdout] | [INFO] [stdout] 213 | 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:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | 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:218:31 [INFO] [stdout] | [INFO] [stdout] 218 | 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:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | 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:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | 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:233:14 [INFO] [stdout] | [INFO] [stdout] 233 | 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:244:37 [INFO] [stdout] | [INFO] [stdout] 244 | 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:245:38 [INFO] [stdout] | [INFO] [stdout] 245 | 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:246:36 [INFO] [stdout] | [INFO] [stdout] 246 | 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:248:34 [INFO] [stdout] | [INFO] [stdout] 248 | 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:252:36 [INFO] [stdout] | [INFO] [stdout] 252 | 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:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | 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:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | 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:299:25 [INFO] [stdout] | [INFO] [stdout] 299 | 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:303:35 [INFO] [stdout] | [INFO] [stdout] 303 | 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:329:30 [INFO] [stdout] | [INFO] [stdout] 329 | 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:338:4 [INFO] [stdout] | [INFO] [stdout] 338 | 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:342:14 [INFO] [stdout] | [INFO] [stdout] 342 | 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:344:3 [INFO] [stdout] | [INFO] [stdout] 344 | 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:346:30 [INFO] [stdout] | [INFO] [stdout] 346 | 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:347:31 [INFO] [stdout] | [INFO] [stdout] 347 | 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:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | 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:360:14 [INFO] [stdout] | [INFO] [stdout] 360 | 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:368:30 [INFO] [stdout] | [INFO] [stdout] 368 | 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:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | 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:384:4 [INFO] [stdout] | [INFO] [stdout] 384 | 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:388:14 [INFO] [stdout] | [INFO] [stdout] 388 | 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:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | 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:405:30 [INFO] [stdout] | [INFO] [stdout] 405 | 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:419:4 [INFO] [stdout] | [INFO] [stdout] 419 | 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:426:5 [INFO] [stdout] | [INFO] [stdout] 426 | 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:438:30 [INFO] [stdout] | [INFO] [stdout] 438 | 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:439:31 [INFO] [stdout] | [INFO] [stdout] 439 | 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:440:14 [INFO] [stdout] | [INFO] [stdout] 440 | 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:441:14 [INFO] [stdout] | [INFO] [stdout] 441 | 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:444:4 [INFO] [stdout] | [INFO] [stdout] 444 | 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:448:14 [INFO] [stdout] | [INFO] [stdout] 448 | 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:451:4 [INFO] [stdout] | [INFO] [stdout] 451 | 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:455:14 [INFO] [stdout] | [INFO] [stdout] 455 | 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:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | 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:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | 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:481:30 [INFO] [stdout] | [INFO] [stdout] 481 | 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:490:4 [INFO] [stdout] | [INFO] [stdout] 490 | 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:495:14 [INFO] [stdout] | [INFO] [stdout] 495 | 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:497:3 [INFO] [stdout] | [INFO] [stdout] 497 | 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:499:30 [INFO] [stdout] | [INFO] [stdout] 499 | 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:500:31 [INFO] [stdout] | [INFO] [stdout] 500 | 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:509:4 [INFO] [stdout] | [INFO] [stdout] 509 | 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:514:14 [INFO] [stdout] | [INFO] [stdout] 514 | 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:547:26 [INFO] [stdout] | [INFO] [stdout] 547 | 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:551:27 [INFO] [stdout] | [INFO] [stdout] 551 | 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:556:5 [INFO] [stdout] | [INFO] [stdout] 556 | 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:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | 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:572:26 [INFO] [stdout] | [INFO] [stdout] 572 | 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:576:27 [INFO] [stdout] | [INFO] [stdout] 576 | 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:580:25 [INFO] [stdout] | [INFO] [stdout] 580 | 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:591:2 [INFO] [stdout] | [INFO] [stdout] 591 | 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 293 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4fec4c5eba1660277ca7aa700ddab4153907f9c590f67ae012f18e2b9440620b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fec4c5eba1660277ca7aa700ddab4153907f9c590f67ae012f18e2b9440620b", kill_on_drop: false }` [INFO] [stdout] 4fec4c5eba1660277ca7aa700ddab4153907f9c590f67ae012f18e2b9440620b