[INFO] fetching crate xcm-fee-payment-runtime-api 0.4.0... [INFO] testing xcm-fee-payment-runtime-api-0.4.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate xcm-fee-payment-runtime-api 0.4.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate xcm-fee-payment-runtime-api 0.4.0 [INFO] finished tweaking crates.io crate xcm-fee-payment-runtime-api 0.4.0 [INFO] tweaked toml for crates.io crate xcm-fee-payment-runtime-api 0.4.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xcm-fee-payment-runtime-api 0.4.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 342 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.8) [INFO] [stderr] Adding frame-support v35.0.0 (available: v42.0.0) [INFO] [stderr] Adding sp-api v33.0.0 (available: v38.0.0) [INFO] [stderr] Adding sp-runtime v38.0.1 (available: v43.0.0) [INFO] [stderr] Adding sp-weights v31.1.0 (available: v33.0.0) [INFO] [stderr] Adding staging-xcm v14.2.2 (available: v18.0.0) [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0db563c7efa3fcdd092ee99981f1b755d361eaad08adba59dab19d98e58b1a81 [INFO] running `Command { std: "docker" "start" "-a" "0db563c7efa3fcdd092ee99981f1b755d361eaad08adba59dab19d98e58b1a81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0db563c7efa3fcdd092ee99981f1b755d361eaad08adba59dab19d98e58b1a81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0db563c7efa3fcdd092ee99981f1b755d361eaad08adba59dab19d98e58b1a81", kill_on_drop: false }` [INFO] [stdout] 0db563c7efa3fcdd092ee99981f1b755d361eaad08adba59dab19d98e58b1a81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 066c981686192b778d60f5649186edb0013ff8099e923283011871d4c2900e10 [INFO] running `Command { std: "docker" "start" "-a" "066c981686192b778d60f5649186edb0013ff8099e923283011871d4c2900e10", kill_on_drop: false }` [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling schnorrkel v0.11.5 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling sp-storage v21.0.0 [INFO] [stderr] Compiling sp-tracing v17.1.0 [INFO] [stderr] Compiling sp-externalities v0.29.0 [INFO] [stderr] Compiling sp-wasm-interface v21.0.1 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling dyn-clonable v0.9.2 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ed25519-zebra v4.1.0 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling bounded-collections v0.2.4 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling trie-root v0.18.0 [INFO] [stderr] Compiling schnellru v0.2.4 [INFO] [stderr] Compiling memory-db v0.32.0 [INFO] [stderr] Compiling trie-db v0.29.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling sp-io v37.0.0 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling simple-mermaid v0.1.1 [INFO] [stderr] Compiling sp-runtime-interface v28.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling sp-arithmetic v26.1.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling sp-io v38.0.2 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling frame-metadata v16.0.0 [INFO] [stderr] Compiling parity-wasm v0.45.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling sp-api-proc-macro v20.0.3 [INFO] [stderr] Compiling sp-core v34.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v14.0.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling sp-weights v31.1.0 [INFO] [stderr] Compiling sp-metadata-ir v0.7.0 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling proc-macro-warning v1.84.1 [INFO] [stderr] Compiling xcm-procedural v10.1.0 [INFO] [stderr] Compiling frame-support-procedural v30.0.6 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling sp-keystore v0.40.0 [INFO] [stderr] Compiling sp-trie v36.0.0 [INFO] [stderr] Compiling sp-trie v37.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling sp-state-machine v0.42.0 [INFO] [stderr] Compiling sp-state-machine v0.43.0 [INFO] [stderr] Compiling sp-application-crypto v37.0.0 [INFO] [stderr] Compiling sp-runtime v38.0.1 [INFO] [stderr] Compiling sp-application-crypto v38.0.0 [INFO] [stderr] Compiling sp-runtime v39.0.5 [INFO] [stderr] Compiling sp-version v36.0.0 [INFO] [stderr] Compiling sp-staking v33.0.0 [INFO] [stderr] Compiling sp-inherents v33.0.0 [INFO] [stderr] Compiling staging-xcm v14.2.2 [INFO] [stderr] Compiling sp-api v33.0.0 [INFO] [stderr] Compiling sp-genesis-builder v0.14.0 [INFO] [stderr] Compiling frame-support v35.0.0 [INFO] [stderr] Compiling xcm-fee-payment-runtime-api v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: trie-db v0.29.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "066c981686192b778d60f5649186edb0013ff8099e923283011871d4c2900e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "066c981686192b778d60f5649186edb0013ff8099e923283011871d4c2900e10", kill_on_drop: false }` [INFO] [stdout] 066c981686192b778d60f5649186edb0013ff8099e923283011871d4c2900e10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1edd2334de8802ba5fe52d596249a569bcff2be7af492cb117808f75edbb51f [INFO] running `Command { std: "docker" "start" "-a" "e1edd2334de8802ba5fe52d596249a569bcff2be7af492cb117808f75edbb51f", kill_on_drop: false }` [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling sp-arithmetic v26.1.0 [INFO] [stderr] Compiling sp-io v38.0.2 [INFO] [stderr] Compiling frame-support-procedural v30.0.6 [INFO] [stderr] Compiling sp-weights v31.1.0 [INFO] [stderr] Compiling sp-runtime v38.0.1 [INFO] [stderr] Compiling sp-application-crypto v38.0.0 [INFO] [stderr] Compiling sp-runtime v39.0.5 [INFO] [stderr] Compiling sp-version v36.0.0 [INFO] [stderr] Compiling sp-inherents v33.0.0 [INFO] [stderr] Compiling sp-staking v33.0.0 [INFO] [stderr] Compiling sp-api v33.0.0 [INFO] [stderr] Compiling sp-genesis-builder v0.14.0 [INFO] [stderr] Compiling staging-xcm v14.2.2 [INFO] [stderr] Compiling frame-support v35.0.0 [INFO] [stderr] Compiling xcm-fee-payment-runtime-api v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `frame_system` [INFO] [stdout] --> tests/mock.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use frame_system::{EnsureRoot, RawOrigin as SystemRawOrigin}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_xcm` [INFO] [stdout] --> tests/mock.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use pallet_xcm::TestWeightInfo; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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 `xcm_executor` [INFO] [stdout] --> tests/mock.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use xcm_executor::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `xcm_executor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xcm_executor`, use `cargo add xcm_executor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xcm_builder` [INFO] [stdout] --> tests/mock.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use xcm_builder::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `xcm_builder` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xcm_builder`, use `cargo add xcm_builder` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xcm_executor` [INFO] [stdout] --> tests/mock.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use xcm_executor::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `xcm_executor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xcm_executor`, use `cargo add xcm_executor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xcm_executor` [INFO] [stdout] --> tests/mock.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | use xcm_executor::RecordXcm; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `xcm_executor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xcm_executor`, use `cargo add xcm_executor` 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_xcm` [INFO] [stdout] --> tests/mock.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | XcmPallet: pallet_xcm, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] --> tests/mock.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> tests/mock.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | #[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_assets` [INFO] [stdout] --> tests/mock.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive_impl(pallet_assets::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `frame_system` [INFO] [stdout] --> tests/fee_estimation.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use frame_system::RawOrigin; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `frame_system` [INFO] [stdout] --> tests/mock.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use frame_system::{EnsureRoot, RawOrigin as SystemRawOrigin}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_xcm` [INFO] [stdout] --> tests/mock.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use pallet_xcm::TestWeightInfo; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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 `xcm_executor` [INFO] [stdout] --> tests/mock.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use xcm_executor::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `xcm_executor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xcm_executor`, use `cargo add xcm_executor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xcm_builder` [INFO] [stdout] --> tests/mock.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use xcm_builder::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `xcm_builder` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xcm_builder`, use `cargo add xcm_builder` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xcm_executor` [INFO] [stdout] --> tests/mock.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use xcm_executor::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `xcm_executor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xcm_executor`, use `cargo add xcm_executor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mock::OriginCaller`, `mock::RuntimeCall`, `mock::RuntimeEvent` [INFO] [stdout] --> tests/fee_estimation.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | DeliveryFees, ExistentialDeposit, HereLocation, OriginCaller, RuntimeCall, RuntimeEvent, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ no `RuntimeEvent` in `mock` [INFO] [stdout] | | | [INFO] [stdout] | | no `RuntimeCall` in `mock` [INFO] [stdout] | no `OriginCaller` in `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xcm_executor` [INFO] [stdout] --> tests/mock.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | use xcm_executor::RecordXcm; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `xcm_executor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xcm_executor`, use `cargo add xcm_executor` 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_xcm` [INFO] [stdout] --> tests/mock.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | XcmPallet: pallet_xcm, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] --> tests/mock.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> tests/mock.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | #[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_assets` [INFO] [stdout] --> tests/mock.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive_impl(pallet_assets::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] --> tests/mock.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` 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 `frame_system` [INFO] [stdout] --> tests/mock.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` 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 `frame_system` [INFO] [stdout] --> tests/mock.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` 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 `frame_system` [INFO] [stdout] --> tests/mock.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` 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_xcm` [INFO] [stdout] --> tests/mock.rs:456:4 [INFO] [stdout] | [INFO] [stdout] 456 | pallet_xcm::Pallet::::set_record_xcm(true); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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_xcm` [INFO] [stdout] --> tests/mock.rs:458:4 [INFO] [stdout] | [INFO] [stdout] 458 | pallet_xcm::Pallet::::set_record_xcm(false); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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_xcm` [INFO] [stdout] --> tests/mock.rs:459:20 [INFO] [stdout] | [INFO] [stdout] 459 | let local_xcm = pallet_xcm::Pallet::::recorded_xcm(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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_xcm` [INFO] [stdout] --> tests/mock.rs:456:4 [INFO] [stdout] | [INFO] [stdout] 456 | pallet_xcm::Pallet::::set_record_xcm(true); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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_xcm` [INFO] [stdout] --> tests/mock.rs:458:4 [INFO] [stdout] | [INFO] [stdout] 458 | pallet_xcm::Pallet::::set_record_xcm(false); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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_xcm` [INFO] [stdout] --> tests/fee_estimation.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | let call = RuntimeCall::XcmPallet(pallet_xcm::Call::transfer_assets { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` to add it to your `Cargo.toml` [INFO] [stdout] help: there is an enum variant `frame_support::pallet_prelude::InvalidTransaction::Call` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 51 - let call = RuntimeCall::XcmPallet(pallet_xcm::Call::transfer_assets { [INFO] [stdout] 51 + let call = RuntimeCall::XcmPallet(frame_support::pallet_prelude::InvalidTransaction::transfer_assets { [INFO] [stdout] | [INFO] [stdout] 51 - let call = RuntimeCall::XcmPallet(pallet_xcm::Call::transfer_assets { [INFO] [stdout] 51 + let call = RuntimeCall::XcmPallet(sp_runtime::transaction_validity::InvalidTransaction::transfer_assets { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] --> tests/mock.rs:459:20 [INFO] [stdout] | [INFO] [stdout] 459 | let local_xcm = pallet_xcm::Pallet::::recorded_xcm(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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 `frame_system` [INFO] [stdout] --> tests/fee_estimation.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | RuntimeEvent::System(frame_system::Event::NewAccount { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` 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] --> tests/fee_estimation.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | RuntimeEvent::Balances(pallet_balances::Event::Endowed { [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] --> tests/fee_estimation.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | RuntimeEvent::Balances(pallet_balances::Event::Minted { [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_assets` [INFO] [stdout] --> tests/fee_estimation.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | RuntimeEvent::AssetsPallet(pallet_assets::Event::Burned { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_assets`, use `cargo add pallet_assets` 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] --> tests/fee_estimation.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | RuntimeEvent::Balances(pallet_balances::Event::Burned { who: 1, amount: 100 }), [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_xcm` [INFO] [stdout] --> tests/fee_estimation.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | RuntimeEvent::XcmPallet(pallet_xcm::Event::Attempted { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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] --> tests/fee_estimation.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | RuntimeEvent::Balances(pallet_balances::Event::Burned { who: 1, amount: 20 }), [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_xcm` [INFO] [stdout] --> tests/fee_estimation.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | RuntimeEvent::XcmPallet(pallet_xcm::Event::FeesPaid { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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_xcm` [INFO] [stdout] --> tests/fee_estimation.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | RuntimeEvent::XcmPallet(pallet_xcm::Event::Sent { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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_xcm` [INFO] [stdout] --> tests/fee_estimation.rs:207:37 [INFO] [stdout] | [INFO] [stdout] 207 | let call = RuntimeCall::XcmPallet(pallet_xcm::Call::transfer_assets { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` to add it to your `Cargo.toml` [INFO] [stdout] help: there is an enum variant `frame_support::pallet_prelude::InvalidTransaction::Call` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 207 - let call = RuntimeCall::XcmPallet(pallet_xcm::Call::transfer_assets { [INFO] [stdout] 207 + let call = RuntimeCall::XcmPallet(frame_support::pallet_prelude::InvalidTransaction::transfer_assets { [INFO] [stdout] | [INFO] [stdout] 207 - let call = RuntimeCall::XcmPallet(pallet_xcm::Call::transfer_assets { [INFO] [stdout] 207 + let call = RuntimeCall::XcmPallet(sp_runtime::transaction_validity::InvalidTransaction::transfer_assets { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] --> tests/fee_estimation.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | RuntimeEvent::AssetsPallet(pallet_assets::Event::Burned { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_assets`, use `cargo add pallet_assets` 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_xcm` [INFO] [stdout] --> tests/fee_estimation.rs:256:29 [INFO] [stdout] | [INFO] [stdout] 256 | RuntimeEvent::XcmPallet(pallet_xcm::Event::Attempted { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:61:51 [INFO] [stdout] | [INFO] [stdout] 61 | pub type SignedExtra = (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] 61 | pub type SignedExtra = (frame_system::CheckWeight,); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:62:47 [INFO] [stdout] | [INFO] [stdout] 62 | pub type TestXt = sp_runtime::testing::TestXt; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | pub type TestXt = sp_runtime::testing::TestXt; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> tests/mock.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | message.using_encoded(sp_io::hashing::blake2_256) [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 `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:158:49 [INFO] [stdout] | [INFO] [stdout] 158 | type Weigher = FixedWeightBounds; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 158 | type Weigher = FixedWeightBounds; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> tests/mock.rs:213:2 [INFO] [stdout] | [INFO] [stdout] 64 | type Balance = u128; [INFO] [stdout] | -------------------- similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 213 | Balances, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 213 - Balances, [INFO] [stdout] 213 + Balance, [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 211 | pub type NativeTokenTransactor = FungibleAdapter< [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetsPallet` in this scope [INFO] [stdout] --> tests/mock.rs:244:2 [INFO] [stdout] | [INFO] [stdout] 244 | AssetsPallet, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 242 | pub type RelayTokenTransactor = FungiblesAdapter< [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AllPalletsWithSystem` in this scope [INFO] [stdout] --> tests/mock.rs:291:29 [INFO] [stdout] | [INFO] [stdout] 291 | type PalletInstancesInfo = AllPalletsWithSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:296:24 [INFO] [stdout] | [INFO] [stdout] 296 | type CallDispatcher = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XcmPallet` in this scope [INFO] [stdout] --> tests/mock.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | type XcmRecorder = XcmPallet; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> tests/mock.rs:327:57 [INFO] [stdout] | [INFO] [stdout] 327 | pub type LocalOriginToLocation = SignedToAccountIndex64; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 327 | pub type LocalOriginToLocation = SignedToAccountIndex64; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | impl pallet_xcm::Config for TestRuntime { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> tests/mock.rs:330:22 [INFO] [stdout] | [INFO] [stdout] 330 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> tests/mock.rs:331:39 [INFO] [stdout] | [INFO] [stdout] 331 | type SendXcmOrigin = EnsureXcmOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 329 | impl pallet_xcm::Config for TestRuntime { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> tests/mock.rs:333:42 [INFO] [stdout] | [INFO] [stdout] 333 | type ExecuteXcmOrigin = EnsureXcmOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 329 | impl pallet_xcm::Config for TestRuntime { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> tests/mock.rs:340:23 [INFO] [stdout] | [INFO] [stdout] 340 | type RuntimeOrigin = RuntimeOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> tests/mock.rs:347:18 [INFO] [stdout] | [INFO] [stdout] 64 | type Balance = u128; [INFO] [stdout] | -------------------- similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 347 | type Currency = 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 unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> tests/mock.rs:355:75 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn new_test_ext_with_balances(balances: Vec<(AccountId, Balance)>) -> 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 `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:356:44 [INFO] [stdout] | [INFO] [stdout] 356 | 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] 355 | pub fn new_test_ext_with_balances(balances: Vec<(AccountId, Balance)>) -> sp_io::TestExternalities { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:358:35 [INFO] [stdout] | [INFO] [stdout] 358 | pallet_balances::GenesisConfig:: { balances } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 355 | pub fn new_test_ext_with_balances(balances: Vec<(AccountId, Balance)>) -> 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] --> tests/mock.rs:362:16 [INFO] [stdout] | [INFO] [stdout] 362 | 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] --> tests/mock.rs:363:22 [INFO] [stdout] | [INFO] [stdout] 363 | ext.execute_with(|| 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] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> tests/mock.rs:370:6 [INFO] [stdout] | [INFO] [stdout] 370 | ) -> 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 `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:371:44 [INFO] [stdout] | [INFO] [stdout] 371 | 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] 367 | pub fn new_test_ext_with_balances_and_assets( [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:373:35 [INFO] [stdout] | [INFO] [stdout] 373 | pallet_balances::GenesisConfig:: { balances } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 367 | pub fn new_test_ext_with_balances_and_assets( [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:377:33 [INFO] [stdout] | [INFO] [stdout] 377 | pallet_assets::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 367 | pub fn new_test_ext_with_balances_and_assets( [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> tests/mock.rs:393:16 [INFO] [stdout] | [INFO] [stdout] 393 | 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] --> tests/mock.rs:394:22 [INFO] [stdout] | [INFO] [stdout] 394 | ext.execute_with(|| 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] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> tests/mock.rs:453:37 [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginCaller` in this scope [INFO] [stdout] --> tests/mock.rs:453:51 [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginCaller` in this scope [INFO] [stdout] --> tests/mock.rs:454:27 [INFO] [stdout] | [INFO] [stdout] 454 | fn dry_run_call(origin: OriginCaller, call: RuntimeCall) -> Result, XcmDryRunApiError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:454:47 [INFO] [stdout] | [INFO] [stdout] 454 | fn dry_run_call(origin: OriginCaller, call: RuntimeCall) -> Result, XcmDryRunApiError> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> tests/mock.rs:454:88 [INFO] [stdout] | [INFO] [stdout] 454 | fn dry_run_call(origin: OriginCaller, call: RuntimeCall) -> Result, XcmDryRunApiError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:456:25 [INFO] [stdout] | [INFO] [stdout] 456 | pallet_xcm::Pallet::::set_record_xcm(true); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | pallet_xcm::Pallet::::set_record_xcm(false); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> tests/fee_estimation.rs:259:28 [INFO] [stdout] | [INFO] [stdout] 259 | RuntimeEvent::Balances(pallet_balances::Event::Burned { who: 1, amount: 20 }), [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[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:459:41 [INFO] [stdout] | [INFO] [stdout] 459 | let local_xcm = pallet_xcm::Pallet::::recorded_xcm(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> tests/mock.rs:466:20 [INFO] [stdout] | [INFO] [stdout] 466 | let events: Vec = System::read_events_no_consensus().map(|record| record.event.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> tests/mock.rs:466:36 [INFO] [stdout] | [INFO] [stdout] 466 | let events: Vec = System::read_events_no_consensus().map(|record| record.event.clone()).collect(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:475:72 [INFO] [stdout] | [INFO] [stdout] 475 | fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunA... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> tests/mock.rs:475:113 [INFO] [stdout] | [INFO] [stdout] 475 | ...onedXcm) -> Result, XcmDryRunApiError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:484:17 [INFO] [stdout] | [INFO] [stdout] 484 | let xcm: Xcm = xcm.try_into().map_err(|error| { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> tests/mock.rs:506:20 [INFO] [stdout] | [INFO] [stdout] 506 | let events: Vec = System::events().iter().map(|record| record.event.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> tests/mock.rs:506:36 [INFO] [stdout] | [INFO] [stdout] 506 | let events: Vec = System::events().iter().map(|record| record.event.clone()).collect(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsEnsureOriginWithArg` and `ConstU128` [INFO] [stdout] --> tests/mock.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | AsEnsureOriginWithArg, ConstU128, ConstU32, Contains, ContainsPair, Everything, Nothing, [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: `IdentityLookup` [INFO] [stdout] --> tests/mock.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | traits::{Dispatchable, Get, IdentityLookup, MaybeEquivalence, TryConvert}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] --> tests/fee_estimation.rs:260:29 [INFO] [stdout] | [INFO] [stdout] 260 | RuntimeEvent::XcmPallet(pallet_xcm::Event::FeesPaid { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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_xcm` [INFO] [stdout] --> tests/fee_estimation.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 264 | RuntimeEvent::XcmPallet(pallet_xcm::Event::Sent { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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] --> tests/fee_estimation.rs:345:28 [INFO] [stdout] | [INFO] [stdout] 345 | RuntimeEvent::Balances(pallet_balances::Event::Burned { who: 1, amount: 540 }), [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 `frame_system` [INFO] [stdout] --> tests/fee_estimation.rs:346:26 [INFO] [stdout] | [INFO] [stdout] 346 | RuntimeEvent::System(frame_system::Event::NewAccount { account: 2100 }), [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` 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] --> tests/fee_estimation.rs:347:28 [INFO] [stdout] | [INFO] [stdout] 347 | RuntimeEvent::Balances(pallet_balances::Event::Endowed { [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] --> tests/fee_estimation.rs:351:28 [INFO] [stdout] | [INFO] [stdout] 351 | RuntimeEvent::Balances(pallet_balances::Event::Minted { who: 2100, amount: 520 }), [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[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:61:51 [INFO] [stdout] | [INFO] [stdout] 61 | pub type SignedExtra = (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] 61 | pub type SignedExtra = (frame_system::CheckWeight,); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:62:47 [INFO] [stdout] | [INFO] [stdout] 62 | pub type TestXt = sp_runtime::testing::TestXt; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | pub type TestXt = sp_runtime::testing::TestXt; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> tests/mock.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | message.using_encoded(sp_io::hashing::blake2_256) [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 `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:158:49 [INFO] [stdout] | [INFO] [stdout] 158 | type Weigher = FixedWeightBounds; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 158 | type Weigher = FixedWeightBounds; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> tests/mock.rs:213:2 [INFO] [stdout] | [INFO] [stdout] 64 | type Balance = u128; [INFO] [stdout] | -------------------- similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 213 | Balances, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 213 - Balances, [INFO] [stdout] 213 + Balance, [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 211 | pub type NativeTokenTransactor = FungibleAdapter< [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetsPallet` in this scope [INFO] [stdout] --> tests/mock.rs:244:2 [INFO] [stdout] | [INFO] [stdout] 244 | AssetsPallet, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 242 | pub type RelayTokenTransactor = FungiblesAdapter< [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AllPalletsWithSystem` in this scope [INFO] [stdout] --> tests/mock.rs:291:29 [INFO] [stdout] | [INFO] [stdout] 291 | type PalletInstancesInfo = AllPalletsWithSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:296:24 [INFO] [stdout] | [INFO] [stdout] 296 | type CallDispatcher = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XcmPallet` in this scope [INFO] [stdout] --> tests/mock.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | type XcmRecorder = XcmPallet; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> tests/mock.rs:327:57 [INFO] [stdout] | [INFO] [stdout] 327 | pub type LocalOriginToLocation = SignedToAccountIndex64; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 327 | pub type LocalOriginToLocation = SignedToAccountIndex64; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | impl pallet_xcm::Config for TestRuntime { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> tests/mock.rs:330:22 [INFO] [stdout] | [INFO] [stdout] 330 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> tests/mock.rs:331:39 [INFO] [stdout] | [INFO] [stdout] 331 | type SendXcmOrigin = EnsureXcmOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 329 | impl pallet_xcm::Config for TestRuntime { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> tests/mock.rs:333:42 [INFO] [stdout] | [INFO] [stdout] 333 | type ExecuteXcmOrigin = EnsureXcmOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 329 | impl pallet_xcm::Config for TestRuntime { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> tests/mock.rs:340:23 [INFO] [stdout] | [INFO] [stdout] 340 | type RuntimeOrigin = RuntimeOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> tests/mock.rs:347:18 [INFO] [stdout] | [INFO] [stdout] 64 | type Balance = u128; [INFO] [stdout] | -------------------- similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 347 | type Currency = 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 unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> tests/mock.rs:355:75 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn new_test_ext_with_balances(balances: Vec<(AccountId, Balance)>) -> 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 `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:356:44 [INFO] [stdout] | [INFO] [stdout] 356 | 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] 355 | pub fn new_test_ext_with_balances(balances: Vec<(AccountId, Balance)>) -> sp_io::TestExternalities { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:358:35 [INFO] [stdout] | [INFO] [stdout] 358 | pallet_balances::GenesisConfig:: { balances } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 355 | pub fn new_test_ext_with_balances(balances: Vec<(AccountId, Balance)>) -> 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] --> tests/mock.rs:362:16 [INFO] [stdout] | [INFO] [stdout] 362 | 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] --> tests/mock.rs:363:22 [INFO] [stdout] | [INFO] [stdout] 363 | ext.execute_with(|| 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] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> tests/mock.rs:370:6 [INFO] [stdout] | [INFO] [stdout] 370 | ) -> 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 `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:371:44 [INFO] [stdout] | [INFO] [stdout] 371 | 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] 367 | pub fn new_test_ext_with_balances_and_assets( [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:373:35 [INFO] [stdout] | [INFO] [stdout] 373 | pallet_balances::GenesisConfig:: { balances } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 367 | pub fn new_test_ext_with_balances_and_assets( [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:377:33 [INFO] [stdout] | [INFO] [stdout] 377 | pallet_assets::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 367 | pub fn new_test_ext_with_balances_and_assets( [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> tests/mock.rs:393:16 [INFO] [stdout] | [INFO] [stdout] 393 | 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] --> tests/mock.rs:394:22 [INFO] [stdout] | [INFO] [stdout] 394 | ext.execute_with(|| 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] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> tests/mock.rs:453:37 [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginCaller` in this scope [INFO] [stdout] --> tests/mock.rs:453:51 [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginCaller` in this scope [INFO] [stdout] --> tests/mock.rs:454:27 [INFO] [stdout] | [INFO] [stdout] 454 | fn dry_run_call(origin: OriginCaller, call: RuntimeCall) -> Result, XcmDryRunApiError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:454:47 [INFO] [stdout] | [INFO] [stdout] 454 | fn dry_run_call(origin: OriginCaller, call: RuntimeCall) -> Result, XcmDryRunApiError> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> tests/mock.rs:454:88 [INFO] [stdout] | [INFO] [stdout] 454 | fn dry_run_call(origin: OriginCaller, call: RuntimeCall) -> Result, XcmDryRunApiError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:456:25 [INFO] [stdout] | [INFO] [stdout] 456 | pallet_xcm::Pallet::::set_record_xcm(true); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | pallet_xcm::Pallet::::set_record_xcm(false); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRuntime` in this scope [INFO] [stdout] --> tests/mock.rs:459:41 [INFO] [stdout] | [INFO] [stdout] 459 | let local_xcm = pallet_xcm::Pallet::::recorded_xcm(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> tests/mock.rs:466:20 [INFO] [stdout] | [INFO] [stdout] 466 | let events: Vec = System::read_events_no_consensus().map(|record| record.event.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> tests/mock.rs:466:36 [INFO] [stdout] | [INFO] [stdout] 466 | let events: Vec = System::read_events_no_consensus().map(|record| record.event.clone()).collect(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:475:72 [INFO] [stdout] | [INFO] [stdout] 475 | fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunA... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> tests/mock.rs:475:113 [INFO] [stdout] | [INFO] [stdout] 475 | ...onedXcm) -> Result, XcmDryRunApiError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> tests/mock.rs:484:17 [INFO] [stdout] | [INFO] [stdout] 484 | let xcm: Xcm = xcm.try_into().map_err(|error| { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> tests/mock.rs:506:20 [INFO] [stdout] | [INFO] [stdout] 506 | let events: Vec = System::events().iter().map(|record| record.event.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 453 | impl DryRunApi for RuntimeApi { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> tests/mock.rs:506:36 [INFO] [stdout] | [INFO] [stdout] 506 | let events: Vec = System::events().iter().map(|record| record.event.clone()).collect(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsEnsureOriginWithArg` and `ConstU128` [INFO] [stdout] --> tests/mock.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | AsEnsureOriginWithArg, ConstU128, ConstU32, Contains, ContainsPair, Everything, Nothing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xcm-fee-payment-runtime-api` (test "mock") due to 69 previous errors; 2 warnings emitted [INFO] [stdout] warning: unused import: `IdentityLookup` [INFO] [stdout] --> tests/mock.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | traits::{Dispatchable, Get, IdentityLookup, MaybeEquivalence, TryConvert}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] --> tests/mock.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | pub type SignedExtra = (frame_system::CheckWeight,); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XcmPallet` [INFO] [stdout] --> tests/mock.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 143 | pub CheckAccount: AccountId = XcmPallet::check_account(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `XcmPallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `xcm_executor` [INFO] [stdout] --> tests/mock.rs:274:6 [INFO] [stdout] | [INFO] [stdout] 274 | impl xcm_executor::Config for XcmConfig { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `xcm_executor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xcm_executor`, use `cargo add xcm_executor` 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_xcm` [INFO] [stdout] --> tests/mock.rs:329:6 [INFO] [stdout] | [INFO] [stdout] 329 | impl pallet_xcm::Config for TestRuntime { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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] --> tests/mock.rs:358:2 [INFO] [stdout] | [INFO] [stdout] 358 | pallet_balances::GenesisConfig:: { balances } [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] --> tests/mock.rs:373:2 [INFO] [stdout] | [INFO] [stdout] 373 | pallet_balances::GenesisConfig:: { balances } [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_assets` [INFO] [stdout] --> tests/mock.rs:377:2 [INFO] [stdout] | [INFO] [stdout] 377 | pallet_assets::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_assets`, use `cargo add pallet_assets` 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 `frame_system` [INFO] [stdout] --> tests/mock.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | pub type SignedExtra = (frame_system::CheckWeight,); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_system` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_system`, use `cargo add frame_system` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XcmPallet` [INFO] [stdout] --> tests/mock.rs:423:4 [INFO] [stdout] | [INFO] [stdout] 423 | XcmPallet::query_xcm_weight(message) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `XcmPallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XcmPallet` [INFO] [stdout] --> tests/mock.rs:449:4 [INFO] [stdout] | [INFO] [stdout] 449 | XcmPallet::query_delivery_fees(destination, message) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `XcmPallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XcmPallet` [INFO] [stdout] --> tests/mock.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 143 | pub CheckAccount: AccountId = XcmPallet::check_account(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `XcmPallet` [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `xcm_executor` [INFO] [stdout] --> tests/mock.rs:274:6 [INFO] [stdout] | [INFO] [stdout] 274 | impl xcm_executor::Config for XcmConfig { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `xcm_executor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `xcm_executor`, use `cargo add xcm_executor` 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_xcm` [INFO] [stdout] --> tests/mock.rs:329:6 [INFO] [stdout] | [INFO] [stdout] 329 | impl pallet_xcm::Config for TestRuntime { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_xcm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_xcm`, use `cargo add pallet_xcm` 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] --> tests/mock.rs:358:2 [INFO] [stdout] | [INFO] [stdout] 358 | pallet_balances::GenesisConfig:: { balances } [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] --> tests/mock.rs:373:2 [INFO] [stdout] | [INFO] [stdout] 373 | pallet_balances::GenesisConfig:: { balances } [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_assets` [INFO] [stdout] --> tests/mock.rs:377:2 [INFO] [stdout] | [INFO] [stdout] 377 | pallet_assets::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_assets`, use `cargo add pallet_assets` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XcmPallet` [INFO] [stdout] --> tests/mock.rs:423:4 [INFO] [stdout] | [INFO] [stdout] 423 | XcmPallet::query_xcm_weight(message) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `XcmPallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XcmPallet` [INFO] [stdout] --> tests/mock.rs:449:4 [INFO] [stdout] | [INFO] [stdout] 449 | XcmPallet::query_delivery_fees(destination, message) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `XcmPallet` [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 `xcm-fee-payment-runtime-api` (test "fee_estimation") due to 91 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e1edd2334de8802ba5fe52d596249a569bcff2be7af492cb117808f75edbb51f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1edd2334de8802ba5fe52d596249a569bcff2be7af492cb117808f75edbb51f", kill_on_drop: false }` [INFO] [stdout] e1edd2334de8802ba5fe52d596249a569bcff2be7af492cb117808f75edbb51f