[INFO] fetching crate pallet-meta-tx 0.4.0... [INFO] testing pallet-meta-tx-0.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate pallet-meta-tx 0.4.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate pallet-meta-tx 0.4.0 [INFO] finished tweaking crates.io crate pallet-meta-tx 0.4.0 [INFO] tweaked toml for crates.io crate pallet-meta-tx 0.4.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-meta-tx 0.4.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-meta-tx 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a75f8ee5ba8eb3f6352a6f84e937199f5eb451b5eba4de6ec6216b1fd0ee29fd [INFO] running `Command { std: "docker" "start" "-a" "a75f8ee5ba8eb3f6352a6f84e937199f5eb451b5eba4de6ec6216b1fd0ee29fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a75f8ee5ba8eb3f6352a6f84e937199f5eb451b5eba4de6ec6216b1fd0ee29fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a75f8ee5ba8eb3f6352a6f84e937199f5eb451b5eba4de6ec6216b1fd0ee29fd", kill_on_drop: false }` [INFO] [stdout] a75f8ee5ba8eb3f6352a6f84e937199f5eb451b5eba4de6ec6216b1fd0ee29fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc4b10644f1774de8220b02e065ef3729dfd941d70b758840b9d3ce313ac5f4a [INFO] running `Command { std: "docker" "start" "-a" "bc4b10644f1774de8220b02e065ef3729dfd941d70b758840b9d3ce313ac5f4a", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling const-oid v0.9.5 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling hex-conservative v0.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling array-bytes v6.2.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling memory-db v0.34.0 [INFO] [stderr] Compiling trie-root v0.18.0 [INFO] [stderr] Compiling trie-db v0.30.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling schnellru v0.2.3 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling simple-mermaid v0.1.1 [INFO] [stderr] Compiling tuplex v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parity-wasm v0.45.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling addr2line v0.21.0 [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 tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling spki v0.7.2 [INFO] [stderr] Compiling crypto-bigint v0.5.2 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling ed25519 v2.2.2 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Compiling ecdsa v0.16.8 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling jam-codec-derive v0.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v24.0.0 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v35.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] 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-wasm-interface v23.0.0 [INFO] [stderr] Compiling sp-tracing v18.0.0 [INFO] [stderr] Compiling binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling bounded-collections v0.3.2 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling sp-arithmetic v28.0.0 [INFO] [stderr] Compiling frame-metadata v23.0.0 [INFO] [stderr] Compiling sp-weights v33.0.0 [INFO] [stderr] Compiling sp-runtime-interface v31.0.0 [INFO] [stderr] Compiling sp-core v38.0.0 [INFO] [stderr] Compiling sp-metadata-ir v0.12.0 [INFO] [stderr] Compiling sp-trie v41.0.0 [INFO] [stderr] Compiling sp-keystore v0.44.0 [INFO] [stderr] Compiling sp-state-machine v0.47.0 [INFO] [stderr] Compiling sp-application-crypto v42.0.0 [INFO] [stderr] Compiling sp-runtime v43.0.0 [INFO] [stderr] Compiling sp-version v41.0.0 [INFO] [stderr] Compiling sp-staking v40.0.0 [INFO] [stderr] Compiling sp-inherents v38.0.0 [INFO] [stderr] Compiling sp-api v38.0.0 [INFO] [stderr] Compiling sp-genesis-builder v0.19.0 [INFO] [stderr] Compiling frame-support v42.0.0 [INFO] [stderr] Compiling frame-system v42.0.0 [INFO] [stderr] Compiling pallet-meta-tx v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s [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 3` [INFO] running `Command { std: "docker" "inspect" "bc4b10644f1774de8220b02e065ef3729dfd941d70b758840b9d3ce313ac5f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc4b10644f1774de8220b02e065ef3729dfd941d70b758840b9d3ce313ac5f4a", kill_on_drop: false }` [INFO] [stdout] bc4b10644f1774de8220b02e065ef3729dfd941d70b758840b9d3ce313ac5f4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2517a820a14a6bfabbd6e48dd8449aea568c39818f5c83a1efc3ffe94006eedf [INFO] running `Command { std: "docker" "start" "-a" "2517a820a14a6bfabbd6e48dd8449aea568c39818f5c83a1efc3ffe94006eedf", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-meta-tx v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_keystore` [INFO] [stdout] --> src/mock.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use sp_keystore::{testing::MemoryKeystore, KeystoreExt}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_keystore` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_keystore`, use `cargo add sp_keystore` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_keystore` [INFO] [stdout] --> src/mock.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use sp_keystore::{testing::MemoryKeystore, KeystoreExt}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_keystore` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_keystore`, use `cargo add sp_keystore` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_keyring` [INFO] [stdout] --> src/tests.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use sp_keyring::Sr25519Keyring; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_keyring` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_keyring`, use `cargo add sp_keyring` 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_verify_signature` [INFO] [stdout] --> src/mock.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | VerifySignature: pallet_verify_signature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_verify_signature` [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:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | #[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_transaction_payment` [INFO] [stdout] --> src/tests.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | pallet_transaction_payment::ChargeTransactionPayment::::from(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_transaction_payment` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_transaction_payment`, use `cargo add pallet_transaction_payment` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:50:54 [INFO] [stdout] | [INFO] [stdout] 50 | sp_runtime::generic::UncheckedExtrinsic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:2595:2 [INFO] [stdout] | [INFO] [stdout] 2595 | pub type RuntimeCallFor = ::RuntimeCall; [INFO] [stdout] | -------------------------- similarly named type alias `RuntimeCallFor` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 50 | sp_runtime::generic::UncheckedExtrinsic; [INFO] [stdout] | +++ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 49 | pub type UncheckedExtrinsic = [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:53:67 [INFO] [stdout] | [INFO] [stdout] 53 | pub type TxExtension = (pallet_verify_signature::VerifySignature, TxBareExtension); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 53 | pub type TxExtension = (pallet_verify_signature::VerifySignature, TxBareExtension); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 59 | frame_system::CheckNonZeroSender, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 58 | pub type TxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | frame_system::CheckSpecVersion, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 58 | pub type TxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | frame_system::CheckTxVersion, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 58 | pub type TxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | frame_system::CheckGenesis, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 58 | pub type TxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | frame_system::CheckMortality, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 58 | pub type TxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | frame_system::CheckNonce, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 58 | pub type TxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | frame_system::CheckWeight, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 58 | pub type TxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | pallet_transaction_payment::ChargeTransactionPayment, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 58 | pub type TxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | (pallet_verify_signature::VerifySignature, MetaTxBareExtension); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub type MetaTxExtension = [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | MetaTxMarker, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | pub type MetaTxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | frame_system::CheckNonZeroSender, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | pub type MetaTxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | frame_system::CheckSpecVersion, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | pub type MetaTxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | frame_system::CheckTxVersion, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | pub type MetaTxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | frame_system::CheckGenesis, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | pub type MetaTxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | frame_system::CheckMortality, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | pub type MetaTxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | frame_system::CheckNonce, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | pub type MetaTxBareExtension = ( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | impl Config for Runtime { [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:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 91 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | impl pallet_verify_signature::Config for Runtime { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | impl frame_system::Config for Runtime { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | 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] 104 | impl frame_system::Config for Runtime { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | #[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-42.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | #[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-42.0.0/src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:2595:2 [INFO] [stdout] | [INFO] [stdout] 2595 | pub type RuntimeCallFor = ::RuntimeCall; [INFO] [stdout] | -------------------------- similarly named type alias `RuntimeCallFor` defined here [INFO] [stdout] | [INFO] [stdout] = 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-42.0.0/src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:362:20 [INFO] [stdout] | [INFO] [stdout] 362 | type RuntimeCallFor = (); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | #[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-42.0.0/src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 + 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:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | #[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-42.0.0/src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | impl pallet_transaction_payment::Config for Runtime { [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:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:122:73 [INFO] [stdout] | [INFO] [stdout] 34 | pub type Balance = u64; [INFO] [stdout] | ----------------------- similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 122 | type OnChargeTransaction = pallet_transaction_payment::FungibleAdapter; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 122 - type OnChargeTransaction = pallet_transaction_payment::FungibleAdapter; [INFO] [stdout] 122 + type OnChargeTransaction = pallet_transaction_payment::FungibleAdapter; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 119 | impl pallet_transaction_payment::Config for Runtime { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | frame_system::GenesisConfig::::default().build(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 139 | pub(crate) fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 21 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 21 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:29:68 [INFO] [stdout] | [INFO] [stdout] 29 | type VerifySignatureExt = pallet_verify_signature::VerifySignature; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 29 | type VerifySignatureExt = pallet_verify_signature::VerifySignature; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | frame_system::CheckNonZeroSender::::new(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tx_bare_ext(account: AccountId) -> TxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | frame_system::CheckSpecVersion::::new(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tx_bare_ext(account: AccountId) -> TxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | frame_system::CheckTxVersion::::new(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tx_bare_ext(account: AccountId) -> TxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | frame_system::CheckGenesis::::new(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tx_bare_ext(account: AccountId) -> TxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | frame_system::CheckMortality::::from(Era::immortal()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tx_bare_ext(account: AccountId) -> TxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | frame_system::CheckNonce::::from( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tx_bare_ext(account: AccountId) -> TxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | frame_system::Pallet::::account(&account).nonce, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tx_bare_ext(account: AccountId) -> TxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | frame_system::CheckWeight::::new(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tx_bare_ext(account: AccountId) -> TxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:42:58 [INFO] [stdout] | [INFO] [stdout] 42 | pallet_transaction_payment::ChargeTransactionPayment::::from(0), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tx_bare_ext(account: AccountId) -> TxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | frame_system::CheckNonZeroSender::::new(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | pub fn create_meta_tx_bare_ext(account: AccountId) -> MetaTxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | frame_system::CheckSpecVersion::::new(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | pub fn create_meta_tx_bare_ext(account: AccountId) -> MetaTxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | frame_system::CheckTxVersion::::new(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | pub fn create_meta_tx_bare_ext(account: AccountId) -> MetaTxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | frame_system::CheckGenesis::::new(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | pub fn create_meta_tx_bare_ext(account: AccountId) -> MetaTxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | frame_system::CheckMortality::::from(Era::immortal()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | pub fn create_meta_tx_bare_ext(account: AccountId) -> MetaTxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | frame_system::CheckNonce::::from( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | pub fn create_meta_tx_bare_ext(account: AccountId) -> MetaTxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | frame_system::Pallet::::account(&account).nonce, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | pub fn create_meta_tx_bare_ext(account: AccountId) -> MetaTxBareExtension { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:60:70 [INFO] [stdout] | [INFO] [stdout] 60 | fn create_signature>( [INFO] [stdout] | ^^^^^^^^^^^ help: a type alias with a similar name exists: `RuntimeCallFor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:2595:2 [INFO] [stdout] | [INFO] [stdout] 2595 | pub type RuntimeCallFor = ::RuntimeCall; [INFO] [stdout] | -------------------------- similarly named type alias `RuntimeCallFor` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | xt.apply::(&uxt_info, uxt_len).unwrap() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | fn apply_extrinsic(uxt: UncheckedExtrinsic) -> DispatchResultWithPostInfo { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let meta_tx = MetaTxFor::::new( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 90 | fn sign_and_execute_meta_tx() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | let meta_tx = MetaTxFor::::decode(&mut &meta_tx_encoded[..]).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 90 | fn sign_and_execute_meta_tx() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:145:43 [INFO] [stdout] | [INFO] [stdout] 145 | let tx_weight = tx_ext.weight(&call) + ::WeightInfo::bare_dispatch(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:159:3 [INFO] [stdout] | [INFO] [stdout] 159 | System::assert_has_event(RuntimeEvent::MetaTx(crate::Event::Dispatched { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_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:166:3 [INFO] [stdout] | [INFO] [stdout] 166 | System::assert_has_event(RuntimeEvent::System(frame_system::Event::Remarked { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | hash: ::Hashing::hash(&[1]), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | let meta_tx = MetaTxFor::::new( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 178 | fn invalid_signature() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | let meta_tx = MetaTxFor::::decode(&mut &meta_tx_encoded[..]).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 178 | fn invalid_signature() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:237:49 [INFO] [stdout] | [INFO] [stdout] 237 | assert_eq!(result.unwrap_err().error, Error::::BadProof.into()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 178 | fn invalid_signature() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | let meta_tx = MetaTxFor::::new(remark_call, META_EXTENSION_VERSION, meta_tx_ext); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 247 | fn meta_tx_extension_work() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:282:29 [INFO] [stdout] | [INFO] [stdout] 282 | let meta_tx = MetaTxFor::::decode(&mut &meta_tx_encoded[..]).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 247 | fn meta_tx_extension_work() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:296:26 [INFO] [stdout] | [INFO] [stdout] 296 | frame_system::Pallet::::inc_account_nonce(alice_account.clone()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 247 | fn meta_tx_extension_work() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:302:49 [INFO] [stdout] | [INFO] [stdout] 302 | assert_eq!(result.unwrap_err().error, Error::::Stale.into()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 247 | fn meta_tx_extension_work() { [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:328:45 [INFO] [stdout] | [INFO] [stdout] 328 | let transfer_call = 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] 18 + use crate::Call; [INFO] [stdout] | [INFO] [stdout] 18 + use frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 328 - let transfer_call = RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { [INFO] [stdout] 328 + let transfer_call = RuntimeCall::Balances(Call::transfer_allow_death { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:342:29 [INFO] [stdout] | [INFO] [stdout] 342 | let meta_tx = MetaTxFor::::new( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 311 | fn meta_tx_call_fails() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:353:29 [INFO] [stdout] | [INFO] [stdout] 353 | let meta_tx = MetaTxFor::::decode(&mut &meta_tx_encoded[..]).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 311 | fn meta_tx_call_fails() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:370:43 [INFO] [stdout] | [INFO] [stdout] 370 | let tx_weight = tx_ext.weight(&call) + ::WeightInfo::bare_dispatch(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:384:3 [INFO] [stdout] | [INFO] [stdout] 384 | System::assert_has_event(RuntimeEvent::MetaTx(crate::Event::Dispatched { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate as pallet_meta_tx` [INFO] [stdout] --> src/mock.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate as pallet_meta_tx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame_support::traits::tokens::fungible::Inspect` [INFO] [stdout] --> src/tests.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use frame_support::traits::tokens::fungible::Inspect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_verify_signature` [INFO] [stdout] --> src/mock.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | pub type TxExtension = (pallet_verify_signature::VerifySignature, TxBareExtension); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_verify_signature` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_verify_signature`, use `cargo add pallet_verify_signature` 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_transaction_payment` [INFO] [stdout] --> src/mock.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | pallet_transaction_payment::ChargeTransactionPayment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_transaction_payment` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_transaction_payment`, use `cargo add pallet_transaction_payment` 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_verify_signature` [INFO] [stdout] --> src/mock.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | (pallet_verify_signature::VerifySignature, MetaTxBareExtension); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_verify_signature` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_verify_signature`, use `cargo add pallet_verify_signature` 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_verify_signature` [INFO] [stdout] --> src/mock.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | impl pallet_verify_signature::Config for Runtime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_verify_signature` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_verify_signature`, use `cargo add pallet_verify_signature` 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_balances` [INFO] [stdout] --> src/mock.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | type AccountData = pallet_balances::AccountData<::Balance>; [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_balances` [INFO] [stdout] --> src/mock.rs:108:59 [INFO] [stdout] | [INFO] [stdout] 108 | type AccountData = pallet_balances::AccountData<::Balance>; [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_transaction_payment` [INFO] [stdout] --> src/mock.rs:119:6 [INFO] [stdout] | [INFO] [stdout] 119 | impl pallet_transaction_payment::Config for Runtime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_transaction_payment` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_transaction_payment`, use `cargo add pallet_transaction_payment` 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_transaction_payment` [INFO] [stdout] --> src/mock.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | type OnChargeTransaction = pallet_transaction_payment::FungibleAdapter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_transaction_payment` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_transaction_payment`, use `cargo add pallet_transaction_payment` 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_verify_signature` [INFO] [stdout] --> src/tests.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | type VerifySignatureExt = pallet_verify_signature::VerifySignature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_verify_signature` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_verify_signature`, use `cargo add pallet_verify_signature` 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/tests.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | let balance = Balances::minimum_balance() * 100; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:73:2 [INFO] [stdout] | [INFO] [stdout] 73 | Balances::force_set_balance(RuntimeOrigin::root(), account.into(), balance).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | Balances::force_set_balance(RuntimeOrigin::root(), account.into(), balance).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | RuntimeCall::System(frame_system::Call::remark_with_event { remark: vec![1] }); [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/tests.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | let call = RuntimeCall::MetaTx(Call::dispatch { meta_tx: Box::new(meta_tx.clone()) }); [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 `RuntimeEvent` [INFO] [stdout] --> src/tests.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | System::assert_has_event(RuntimeEvent::MetaTx(crate::Event::Dispatched { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent` [INFO] [stdout] --> src/tests.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | System::assert_has_event(RuntimeEvent::System(frame_system::Event::Remarked { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:172:29 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(alice_balance, Balances::free_balance(alice_account)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:173:36 [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq!(bob_balance - tx_fee, Balances::free_balance(bob_account)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:195:4 [INFO] [stdout] | [INFO] [stdout] 195 | RuntimeCall::System(frame_system::Call::remark_with_event { remark: vec![1] }); [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/tests.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | let call = RuntimeCall::MetaTx(Call::dispatch { meta_tx: Box::new(meta_tx.clone()) }); [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 `Balances` [INFO] [stdout] --> src/tests.rs:240:29 [INFO] [stdout] | [INFO] [stdout] 240 | assert_eq!(alice_balance, Balances::free_balance(alice_account)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:241:36 [INFO] [stdout] | [INFO] [stdout] 241 | assert_eq!(bob_balance - tx_fee, Balances::free_balance(bob_account)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | RuntimeCall::System(frame_system::Call::remark_with_event { remark: vec![1] }); [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/tests.rs:283:14 [INFO] [stdout] | [INFO] [stdout] 283 | let call = RuntimeCall::MetaTx(Call::dispatch { meta_tx: Box::new(meta_tx.clone()) }); [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 `Balances` [INFO] [stdout] --> src/tests.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | assert_eq!(alice_balance, Balances::free_balance(alice_account)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:306:36 [INFO] [stdout] | [INFO] [stdout] 306 | assert_eq!(bob_balance - tx_fee, Balances::free_balance(bob_account)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:328:23 [INFO] [stdout] | [INFO] [stdout] 328 | let transfer_call = 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/tests.rs:354:14 [INFO] [stdout] | [INFO] [stdout] 354 | let call = RuntimeCall::MetaTx(Call::dispatch { meta_tx: Box::new(meta_tx.clone()) }); [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 `RuntimeEvent` [INFO] [stdout] --> src/tests.rs:384:28 [INFO] [stdout] | [INFO] [stdout] 384 | System::assert_has_event(RuntimeEvent::MetaTx(crate::Event::Dispatched { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 395 | assert_eq!(alice_balance, Balances::free_balance(alice_account)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:396:36 [INFO] [stdout] | [INFO] [stdout] 396 | assert_eq!(bob_balance - tx_fee, Balances::free_balance(bob_account)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [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-meta-tx` (lib test) due to 107 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2517a820a14a6bfabbd6e48dd8449aea568c39818f5c83a1efc3ffe94006eedf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2517a820a14a6bfabbd6e48dd8449aea568c39818f5c83a1efc3ffe94006eedf", kill_on_drop: false }` [INFO] [stdout] 2517a820a14a6bfabbd6e48dd8449aea568c39818f5c83a1efc3ffe94006eedf