[INFO] fetching crate orml-currencies 1.5.0... [INFO] testing orml-currencies-1.5.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate orml-currencies 1.5.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate orml-currencies 1.5.0 [INFO] finished tweaking crates.io crate orml-currencies 1.5.0 [INFO] tweaked toml for crates.io crate orml-currencies 1.5.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate orml-currencies 1.5.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate orml-currencies 1.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce1672fb21ce3f5623bb4682b64d44b6257e11d599e1d04b546b529e6827175c [INFO] running `Command { std: "docker" "start" "-a" "ce1672fb21ce3f5623bb4682b64d44b6257e11d599e1d04b546b529e6827175c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce1672fb21ce3f5623bb4682b64d44b6257e11d599e1d04b546b529e6827175c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce1672fb21ce3f5623bb4682b64d44b6257e11d599e1d04b546b529e6827175c", kill_on_drop: false }` [INFO] [stdout] ce1672fb21ce3f5623bb4682b64d44b6257e11d599e1d04b546b529e6827175c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff5e17a83e2b4a0d06b79511c2a2af24ab3985c0323c0c44ce13fa9a0a2dd61b [INFO] running `Command { std: "docker" "start" "-a" "ff5e17a83e2b4a0d06b79511c2a2af24ab3985c0323c0c44ce13fa9a0a2dd61b", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling toml_write v0.1.0 [INFO] [stderr] Compiling winnow v0.7.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [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 derive_more v1.0.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling trie-db v0.30.0 [INFO] [stderr] Compiling memory-db v0.34.0 [INFO] [stderr] Compiling trie-root v0.18.0 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v41.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling schnellru v0.2.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling simple-mermaid v0.1.1 [INFO] [stderr] Compiling tuplex v0.1.2 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling proc-macro-warning v1.84.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling parity-wasm v0.45.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling xcm-procedural v11.0.2 [INFO] [stderr] Compiling derive-where v1.3.0 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling toml_edit v0.22.25 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling toml v0.8.21 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v19.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v23.0.0 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v34.0.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling sp-tracing v17.1.0 [INFO] [stderr] Compiling sp-wasm-interface v22.0.0 [INFO] [stderr] Compiling binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling bounded-collections v0.2.4 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling sp-arithmetic v27.0.0 [INFO] [stderr] Compiling frame-metadata v23.0.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.17.7 [INFO] [stderr] Compiling sp-runtime-interface v30.0.0 [INFO] [stderr] Compiling sp-core v37.0.0 [INFO] [stderr] Compiling sp-weights v32.0.0 [INFO] [stderr] Compiling sp-metadata-ir v0.11.0 [INFO] [stderr] Compiling sp-trie v40.0.0 [INFO] [stderr] Compiling sp-keystore v0.43.0 [INFO] [stderr] Compiling sp-state-machine v0.46.0 [INFO] [stderr] Compiling sp-application-crypto v41.0.0 [INFO] [stderr] Compiling sp-runtime v42.0.0 [INFO] [stderr] Compiling sp-version v40.0.0 [INFO] [stderr] Compiling sp-inherents v37.0.0 [INFO] [stderr] Compiling sp-staking v39.0.0 [INFO] [stderr] Compiling sp-api v37.0.0 [INFO] [stderr] Compiling sp-genesis-builder v0.18.0 [INFO] [stderr] Compiling frame-support v41.0.0 [INFO] [stderr] Compiling orml-utilities v1.5.0 [INFO] [stderr] Compiling staging-xcm v17.0.0 [INFO] [stderr] Compiling frame-system v41.0.0 [INFO] [stderr] Compiling orml-traits v1.5.0 [INFO] [stderr] Compiling orml-currencies v1.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 55s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: trie-db v0.30.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "ff5e17a83e2b4a0d06b79511c2a2af24ab3985c0323c0c44ce13fa9a0a2dd61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff5e17a83e2b4a0d06b79511c2a2af24ab3985c0323c0c44ce13fa9a0a2dd61b", kill_on_drop: false }` [INFO] [stdout] ff5e17a83e2b4a0d06b79511c2a2af24ab3985c0323c0c44ce13fa9a0a2dd61b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87996d07daa3895bd8d8dd7072d140944c92f314d311477ad85df270cdb01b39 [INFO] running `Command { std: "docker" "start" "-a" "87996d07daa3895bd8d8dd7072d140944c92f314d311477ad85df270cdb01b39", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-balances v42.0.0 [INFO] [stderr] Compiling orml-currencies v1.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `orml_tokens` [INFO] [stdout] --> src/mock.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | Tokens: orml_tokens, [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `orml_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | impl frame_system::Config for Runtime { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-41.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-41.0.0/src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-41.0.0/src/lib.rs:2595:2 [INFO] [stdout] | [INFO] [stdout] 2595 | pub type RuntimeCallFor = ::RuntimeCall; [INFO] [stdout] | -------------------------- similarly named type alias `RuntimeCallFor` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-41.0.0/src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-41.0.0/src/lib.rs:362:20 [INFO] [stdout] | [INFO] [stdout] 362 | type RuntimeCallFor = (); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-41.0.0/src/lib.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct PalletId(pub [u8; 8]); [INFO] [stdout] | ------------------- similarly named struct `PalletId` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-41.0.0/src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-41.0.0/src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 - type PalletInfo = (); [INFO] [stdout] 364 + type PalletId = (); [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 5 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/mock.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-41.0.0/src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | impl pallet_balances::Config for Runtime { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 38 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | type AccountStore = frame_system::Pallet; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 35 | impl pallet_balances::Config for Runtime { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeHoldReason` in this scope [INFO] [stdout] --> src/mock.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | type RuntimeHoldReason = RuntimeHoldReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 45 | type RuntimeHoldReason = Self::RuntimeHoldReason; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeFreezeReason` in this scope [INFO] [stdout] --> src/mock.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | type RuntimeFreezeReason = RuntimeFreezeReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 46 | type RuntimeFreezeReason = Self::RuntimeFreezeReason; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | impl orml_tokens::Config for Runtime { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | type CurrencyHooks = CurrencyHooks; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | impl orml_tokens::Config for Runtime { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | impl Config for Runtime { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tokens` in this scope [INFO] [stdout] --> src/mock.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | type MultiCurrency = Tokens; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:103:44 [INFO] [stdout] | [INFO] [stdout] 103 | pub type NativeCurrency = NativeCurrencyOf; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 103 | pub type NativeCurrency = NativeCurrencyOf; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:104:54 [INFO] [stdout] | [INFO] [stdout] 104 | pub type AdaptedBasicCurrency = BasicCurrencyAdapter; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 104 | pub type AdaptedBasicCurrency = BasicCurrencyAdapter; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletBalances` in this scope [INFO] [stdout] --> src/mock.rs:104:63 [INFO] [stdout] | [INFO] [stdout] 104 | pub type AdaptedBasicCurrency = BasicCurrencyAdapter; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:648:1 [INFO] [stdout] | [INFO] [stdout] 648 | type PalletBalanceOf = >::Balance; [INFO] [stdout] | ----------------------------------------------------------------------------- similarly named type alias `PalletBalanceOf` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 104 - pub type AdaptedBasicCurrency = BasicCurrencyAdapter; [INFO] [stdout] 104 + pub type AdaptedBasicCurrency = BasicCurrencyAdapter; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 104 | pub type AdaptedBasicCurrency = BasicCurrencyAdapter; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 106 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | let mut t = frame_system::GenesisConfig::::default() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | impl ExtBuilder { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | impl ExtBuilder { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | orml_tokens::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | impl ExtBuilder { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Currencies` in this scope [INFO] [stdout] --> src/tests.rs:203:16 [INFO] [stdout] | [INFO] [stdout] 203 | assert_ok!(>::update_balance( [INFO] [stdout] | ^^^^^^^^^^ help: a struct with a similar name exists: `Currency` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:461:1 [INFO] [stdout] | [INFO] [stdout] 461 | pub struct Currency(marker::PhantomData, marker::PhantomData); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- similarly named struct `Currency` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Currencies` in this scope [INFO] [stdout] --> src/tests.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | assert_ok!(>::update_balance( [INFO] [stdout] | ^^^^^^^^^^ help: a struct with a similar name exists: `Currency` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:461:1 [INFO] [stdout] | [INFO] [stdout] 461 | pub struct Currency(marker::PhantomData, marker::PhantomData); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- similarly named struct `Currency` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:300:65 [INFO] [stdout] | [INFO] [stdout] 300 | assert_noop!(AdaptedBasicCurrency::deposit(&EVA, 1), Error::::DepositFailed); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 293 | fn basic_currency_adapting_pallet_balances_deposit_throw_error_when_actual_deposit_is_not_expected() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:384:4 [INFO] [stdout] | [INFO] [stdout] 384 | 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] 5 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 5 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:389:4 [INFO] [stdout] | [INFO] [stdout] 389 | System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Transfer { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 5 + 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 `orml_tokens` [INFO] [stdout] --> src/tests.rs:389:51 [INFO] [stdout] | [INFO] [stdout] 389 | System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Transfer { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `orml_tokens` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `orml_tokens`, use `cargo add orml_tokens` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 5 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] 5 + use pallet_balances::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 389 - System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Transfer { [INFO] [stdout] 389 + System::assert_last_event(RuntimeEvent::Tokens(Event::Transfer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Currencies` in this scope [INFO] [stdout] --> src/tests.rs:396:16 [INFO] [stdout] | [INFO] [stdout] 396 | assert_ok!(>::transfer( [INFO] [stdout] | ^^^^^^^^^^ help: a struct with a similar name exists: `Currency` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:461:1 [INFO] [stdout] | [INFO] [stdout] 461 | pub struct Currency(marker::PhantomData, marker::PhantomData); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- similarly named struct `Currency` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:405:4 [INFO] [stdout] | [INFO] [stdout] 405 | System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Transfer { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 5 + 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 `orml_tokens` [INFO] [stdout] --> src/tests.rs:405:51 [INFO] [stdout] | [INFO] [stdout] 405 | System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Transfer { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `orml_tokens` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `orml_tokens`, use `cargo add orml_tokens` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 5 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] 5 + use pallet_balances::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 405 - System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Transfer { [INFO] [stdout] 405 + System::assert_last_event(RuntimeEvent::Tokens(Event::Transfer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Currencies` in this scope [INFO] [stdout] --> src/tests.rs:412:16 [INFO] [stdout] | [INFO] [stdout] 412 | assert_ok!(>::deposit( [INFO] [stdout] | ^^^^^^^^^^ help: a struct with a similar name exists: `Currency` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:461:1 [INFO] [stdout] | [INFO] [stdout] 461 | pub struct Currency(marker::PhantomData, marker::PhantomData); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- similarly named struct `Currency` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:416:4 [INFO] [stdout] | [INFO] [stdout] 416 | System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Deposited { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 5 + 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 `orml_tokens` [INFO] [stdout] --> src/tests.rs:416:51 [INFO] [stdout] | [INFO] [stdout] 416 | System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Deposited { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `orml_tokens` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `orml_tokens`, use `cargo add orml_tokens` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 5 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] 5 + use pallet_balances::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 416 - System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Deposited { [INFO] [stdout] 416 + System::assert_last_event(RuntimeEvent::Tokens(Event::Deposited { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Currencies` in this scope [INFO] [stdout] --> src/tests.rs:422:16 [INFO] [stdout] | [INFO] [stdout] 422 | assert_ok!(>::withdraw( [INFO] [stdout] | ^^^^^^^^^^ help: a struct with a similar name exists: `Currency` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:461:1 [INFO] [stdout] | [INFO] [stdout] 461 | pub struct Currency(marker::PhantomData, marker::PhantomData); [INFO] [stdout] | -------------------------------------------------------------------------------------------------- similarly named struct `Currency` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:429:4 [INFO] [stdout] | [INFO] [stdout] 429 | System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Withdrawn { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 5 + 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 `orml_tokens` [INFO] [stdout] --> src/tests.rs:429:51 [INFO] [stdout] | [INFO] [stdout] 429 | System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Withdrawn { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `orml_tokens` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `orml_tokens`, use `cargo add orml_tokens` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 5 + use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] 5 + use pallet_balances::Event; [INFO] [stdout] | [INFO] [stdout] help: if you import `Event`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 429 - System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Withdrawn { [INFO] [stdout] 429 + System::assert_last_event(RuntimeEvent::Tokens(Event::Withdrawn { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate as currencies` [INFO] [stdout] --> src/mock.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate as currencies; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `AccountId` not found for `T` [INFO] [stdout] --> src/mock.rs:63:47 [INFO] [stdout] | [INFO] [stdout] 63 | impl MutationHooks for CurrencyHooks [INFO] [stdout] | ^^^^^^^^^ associated type `AccountId` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `CurrencyId` not found for `T` [INFO] [stdout] --> src/mock.rs:63:61 [INFO] [stdout] | [INFO] [stdout] 63 | impl MutationHooks for CurrencyHooks [INFO] [stdout] | ^^^^^^^^^^ there is an associated type `CurrencyId` in the trait `orml_traits::MultiCurrency` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` with trait `MultiCurrency` [INFO] [stdout] | [INFO] [stdout] 63 | impl> MutationHooks for CurrencyHooks [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Balance` not found for `T` [INFO] [stdout] --> src/mock.rs:63:76 [INFO] [stdout] | [INFO] [stdout] 63 | impl MutationHooks for CurrencyHooks [INFO] [stdout] | ^^^^^^^ associated type `Balance` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `orml_tokens` [INFO] [stdout] --> src/mock.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | impl MutationHooks for CurrencyHooks [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `orml_tokens` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `orml_tokens`, use `cargo add orml_tokens` 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 `orml_tokens` [INFO] [stdout] --> src/mock.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | type OnDust = orml_tokens::TransferDust; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `orml_tokens` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `orml_tokens`, use `cargo add orml_tokens` 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 `orml_tokens` [INFO] [stdout] --> src/mock.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | impl orml_tokens::Config for Runtime { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `orml_tokens` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `orml_tokens`, use `cargo add orml_tokens` 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 `orml_tokens` [INFO] [stdout] --> src/mock.rs:162:3 [INFO] [stdout] | [INFO] [stdout] 162 | orml_tokens::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `orml_tokens` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `orml_tokens`, use `cargo add orml_tokens` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | assert_ok!(Currencies::set_lock(ID_1, X_TOKEN_ID, &ALICE, 50)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tokens` [INFO] [stdout] --> src/tests.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(Tokens::locks(&ALICE, X_TOKEN_ID).len(), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `Tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | assert_ok!(Currencies::set_lock(ID_1, NATIVE_CURRENCY_ID, &ALICE, 50)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(PalletBalances::locks(&ALICE).len(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(Currencies::total_issuance(NATIVE_CURRENCY_ID), 200); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(Currencies::total_issuance(X_TOKEN_ID), 200); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &ALICE), 100); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | assert_ok!(Currencies::reserve(X_TOKEN_ID, &ALICE, 30)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | assert_ok!(Currencies::reserve(NATIVE_CURRENCY_ID, &ALICE, 40)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(Currencies::reserved_balance(X_TOKEN_ID, &ALICE), 30); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(Currencies::reserved_balance(NATIVE_CURRENCY_ID, &ALICE), 40); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(Currencies::total_issuance(NATIVE_CURRENCY_ID), 200); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(Currencies::total_issuance(X_TOKEN_ID), 200); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &ALICE), 100); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | assert_ok!(Currencies::reserve_named(&RID_1, X_TOKEN_ID, &ALICE, 30)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | assert_ok!(Currencies::reserve_named(&RID_2, X_TOKEN_ID, &ALICE, 50)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | assert_ok!(Currencies::reserve_named(&RID_1, NATIVE_CURRENCY_ID, &ALICE, 20)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | assert_ok!(Currencies::reserve_named(&RID_2, NATIVE_CURRENCY_ID, &ALICE, 60)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Currencies::reserved_balance_named(&RID_1, X_TOKEN_ID, &ALICE), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | Currencies::reserved_balance_named(&RID_2, X_TOKEN_ID, &ALICE), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Currencies::reserved_balance_named(&RID_1, NATIVE_CURRENCY_ID, &ALICE), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Currencies::reserved_balance_named(&RID_2, NATIVE_CURRENCY_ID, &ALICE), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &ALICE), x_free_before); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(Currencies::unreserve_named(&RID_1, NATIVE_CURRENCY_ID, &ALICE, 100), 80); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | Currencies::reserved_balance_named(&RID_1, NATIVE_CURRENCY_ID, &ALICE), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | Currencies::reserved_balance_named(&RID_2, NATIVE_CURRENCY_ID, &ALICE), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Currencies::reserved_balance_named(&RID_1, X_TOKEN_ID, &ALICE), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | Currencies::reserved_balance_named(&RID_2, X_TOKEN_ID, &ALICE), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | assert_eq!(Currencies::unreserve_named(&RID_1, X_TOKEN_ID, &ALICE, 100), 70); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &ALICE), x_free_before + 30); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(Currencies::reserved_balance_named(&RID_1, X_TOKEN_ID, &ALICE), 0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | Currencies::reserved_balance_named(&RID_2, X_TOKEN_ID, &ALICE), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | Currencies::reserved_balance_named(&RID_2, NATIVE_CURRENCY_ID, &ALICE), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(PalletBalances::locks(&ALICE).len(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(PalletBalances::locks(&ALICE).len(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(PalletBalances::locks(&ALICE).len(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(PalletBalances::locks(&ALICE).len(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | assert_ok!(Currencies::transfer(Some(ALICE).into(), BOB, X_TOKEN_ID, 50)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &ALICE), 50); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 193 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &BOB), 150); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:206:15 [INFO] [stdout] | [INFO] [stdout] 206 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &ALICE), 150); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 216 | assert_ok!(Currencies::transfer_native_currency(Some(ALICE).into(), BOB, 50)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | assert_eq!(Currencies::slash(NATIVE_CURRENCY_ID, &ALICE, 10), 0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:265:15 [INFO] [stdout] | [INFO] [stdout] 265 | assert_eq!(PalletBalances::total_balance(&ALICE), 50); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:266:15 [INFO] [stdout] | [INFO] [stdout] 266 | assert_eq!(PalletBalances::total_balance(&BOB), 150); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:275:15 [INFO] [stdout] | [INFO] [stdout] 275 | assert_eq!(PalletBalances::total_balance(&ALICE), 40); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:276:15 [INFO] [stdout] | [INFO] [stdout] 276 | assert_eq!(PalletBalances::total_balance(&EVA), 10); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:287:15 [INFO] [stdout] | [INFO] [stdout] 287 | assert_eq!(PalletBalances::total_balance(&EVA), 50); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:288:15 [INFO] [stdout] | [INFO] [stdout] 288 | assert_eq!(PalletBalances::total_issuance(), 250); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:298:15 [INFO] [stdout] | [INFO] [stdout] 298 | assert_eq!(PalletBalances::total_balance(&EVA), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:299:15 [INFO] [stdout] | [INFO] [stdout] 299 | assert_eq!(PalletBalances::total_issuance(), 200); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | assert_eq!(PalletBalances::total_balance(&EVA), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:302:15 [INFO] [stdout] | [INFO] [stdout] 302 | assert_eq!(PalletBalances::total_issuance(), 200); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | assert_eq!(PalletBalances::total_balance(&EVA), 2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:305:15 [INFO] [stdout] | [INFO] [stdout] 305 | assert_eq!(PalletBalances::total_issuance(), 202); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:320:15 [INFO] [stdout] | [INFO] [stdout] 320 | assert_eq!(PalletBalances::total_balance(&ALICE), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:321:15 [INFO] [stdout] | [INFO] [stdout] 321 | assert_eq!(PalletBalances::total_issuance(), 100); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:332:15 [INFO] [stdout] | [INFO] [stdout] 332 | assert_eq!(PalletBalances::total_balance(&ALICE), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:333:15 [INFO] [stdout] | [INFO] [stdout] 333 | assert_eq!(PalletBalances::total_issuance(), 100); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:344:15 [INFO] [stdout] | [INFO] [stdout] 344 | assert_eq!(PalletBalances::total_balance(&ALICE), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PalletBalances` [INFO] [stdout] --> src/tests.rs:345:15 [INFO] [stdout] | [INFO] [stdout] 345 | assert_eq!(PalletBalances::total_issuance(), 190); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PalletBalances` [INFO] [stdout] | help: a type alias with a similar name exists: `PalletBalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:355:15 [INFO] [stdout] | [INFO] [stdout] 355 | assert_ok!(Currencies::update_balance( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:362:15 [INFO] [stdout] | [INFO] [stdout] 362 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &ALICE), 100); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:363:15 [INFO] [stdout] | [INFO] [stdout] 363 | assert_ok!(Currencies::update_balance(RuntimeOrigin::root(), ALICE, X_TOKEN_ID, 10)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:363:42 [INFO] [stdout] | [INFO] [stdout] 363 | assert_ok!(Currencies::update_balance(RuntimeOrigin::root(), ALICE, X_TOKEN_ID, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:364:15 [INFO] [stdout] | [INFO] [stdout] 364 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &ALICE), 110); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:372:4 [INFO] [stdout] | [INFO] [stdout] 372 | Currencies::update_balance(Some(ALICE).into(), ALICE, X_TOKEN_ID, 100), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:386:15 [INFO] [stdout] | [INFO] [stdout] 386 | assert_ok!(Currencies::transfer(Some(ALICE).into(), BOB, X_TOKEN_ID, 50)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:387:15 [INFO] [stdout] | [INFO] [stdout] 387 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &ALICE), 50); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:388:15 [INFO] [stdout] | [INFO] [stdout] 388 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &BOB), 150); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent` [INFO] [stdout] --> src/tests.rs:389:30 [INFO] [stdout] | [INFO] [stdout] 389 | System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Transfer { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:403:15 [INFO] [stdout] | [INFO] [stdout] 403 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &ALICE), 40); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &BOB), 160); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent` [INFO] [stdout] --> src/tests.rs:405:30 [INFO] [stdout] | [INFO] [stdout] 405 | System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Transfer { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:415:15 [INFO] [stdout] | [INFO] [stdout] 415 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &ALICE), 140); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent` [INFO] [stdout] --> src/tests.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Deposited { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Currencies` [INFO] [stdout] --> src/tests.rs:428:15 [INFO] [stdout] | [INFO] [stdout] 428 | assert_eq!(Currencies::free_balance(X_TOKEN_ID, &ALICE), 120); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Currencies` [INFO] [stdout] | help: a struct with a similar name exists: `Currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent` [INFO] [stdout] --> src/tests.rs:429:30 [INFO] [stdout] | [INFO] [stdout] 429 | System::assert_last_event(RuntimeEvent::Tokens(orml_tokens::Event::Withdrawn { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: could not compile `orml-currencies` (lib test) due to 124 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "87996d07daa3895bd8d8dd7072d140944c92f314d311477ad85df270cdb01b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87996d07daa3895bd8d8dd7072d140944c92f314d311477ad85df270cdb01b39", kill_on_drop: false }` [INFO] [stdout] 87996d07daa3895bd8d8dd7072d140944c92f314d311477ad85df270cdb01b39