[INFO] fetching crate orml-currencies 1.4.0... [INFO] checking orml-currencies-1.4.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate orml-currencies 1.4.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate orml-currencies 1.4.0 [INFO] finished tweaking crates.io crate orml-currencies 1.4.0 [INFO] tweaked toml for crates.io crate orml-currencies 1.4.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate orml-currencies 1.4.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate orml-currencies 1.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 404f798e9ac96dd709cefc291aefef6dfbcc0b182c041bcbc9ad60440f74c225 [INFO] running `Command { std: "docker" "start" "-a" "404f798e9ac96dd709cefc291aefef6dfbcc0b182c041bcbc9ad60440f74c225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "404f798e9ac96dd709cefc291aefef6dfbcc0b182c041bcbc9ad60440f74c225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "404f798e9ac96dd709cefc291aefef6dfbcc0b182c041bcbc9ad60440f74c225", kill_on_drop: false }` [INFO] [stdout] 404f798e9ac96dd709cefc291aefef6dfbcc0b182c041bcbc9ad60440f74c225 [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef4b81dd54169e2860f2837e6500aa1dde001b0d53a0e43931c0932648f0650d [INFO] running `Command { std: "docker" "start" "-a" "ef4b81dd54169e2860f2837e6500aa1dde001b0d53a0e43931c0932648f0650d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_write v0.1.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling winnow v0.7.7 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling parity-scale-codec v3.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking base64ct v1.7.3 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking blake2b_simd v1.0.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking array-bytes v6.2.3 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking memory-db v0.32.0 [INFO] [stderr] Checking trie-db v0.30.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v40.0.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking schnellru v0.2.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Checking tuplex v0.1.2 [INFO] [stderr] Compiling proc-macro-warning v1.84.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking parity-wasm v0.45.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] Checking tt-call v1.0.9 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Checking dyn-clonable v0.9.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive-where v1.3.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling xcm-procedural v11.0.2 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking sp-panic-handler v13.0.2 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.25 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Checking k256 v0.13.4 [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.4 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v22.0.0 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v33.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking impl-codec v0.7.1 [INFO] [stderr] Checking sp-storage v22.0.0 [INFO] [stderr] Checking sp-wasm-interface v21.0.1 [INFO] [stderr] Checking sp-tracing v17.1.0 [INFO] [stderr] Checking binary-merkle-tree v16.0.0 [INFO] [stderr] Checking sp-externalities v0.30.0 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking bounded-collections v0.2.4 [INFO] [stderr] Checking sp-arithmetic v26.1.0 [INFO] [stderr] Checking frame-metadata v20.0.0 [INFO] [stderr] Checking sp-weights v31.1.0 [INFO] [stderr] Checking sp-runtime-interface v29.0.1 [INFO] [stderr] Checking sp-core v36.1.0 [INFO] [stderr] Checking sp-metadata-ir v0.10.0 [INFO] [stderr] Checking sp-trie v39.1.0 [INFO] [stderr] Checking sp-keystore v0.42.0 [INFO] [stderr] Checking sp-state-machine v0.45.0 [INFO] [stderr] Checking sp-application-crypto v40.1.0 [INFO] [stderr] Checking sp-runtime v41.1.0 [INFO] [stderr] Checking sp-version v39.0.0 [INFO] [stderr] Checking sp-inherents v36.0.0 [INFO] [stderr] Checking sp-staking v38.0.0 [INFO] [stderr] Checking sp-api v36.0.1 [INFO] [stderr] Checking sp-genesis-builder v0.17.0 [INFO] [stderr] Checking frame-support v40.1.0 [INFO] [stderr] Checking orml-utilities v1.4.0 [INFO] [stderr] Checking staging-xcm v16.1.0 [INFO] [stderr] Checking frame-system v40.1.0 [INFO] [stderr] Checking pallet-balances v41.1.0 [INFO] [stderr] Checking orml-traits v1.4.0 [INFO] [stderr] Checking orml-currencies v1.4.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:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | 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-40.1.0/src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342| 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-40.1.0/src/lib.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344| 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] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346| type Self::RuntimeCall = (); [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] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348| type Self::PalletInfo = (); [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-40.1.0/src/lib.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `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 `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | 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:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | 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:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | 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:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | 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] 104 | 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:105:54 [INFO] [stdout] | [INFO] [stdout] 105 | 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] 105 | 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:105:63 [INFO] [stdout] | [INFO] [stdout] 105 | 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] 105 - pub type AdaptedBasicCurrency = BasicCurrencyAdapter; [INFO] [stdout] 105 + pub type AdaptedBasicCurrency = BasicCurrencyAdapter; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 105 | 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:107:47 [INFO] [stdout] | [INFO] [stdout] 107 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 107 | 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:146:45 [INFO] [stdout] | [INFO] [stdout] 146 | 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] 130 | impl ExtBuilder { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:150:36 [INFO] [stdout] | [INFO] [stdout] 150 | 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] 130 | impl ExtBuilder { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | 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] 130 | 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)]` 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:163:3 [INFO] [stdout] | [INFO] [stdout] 163 | 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 125 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ef4b81dd54169e2860f2837e6500aa1dde001b0d53a0e43931c0932648f0650d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef4b81dd54169e2860f2837e6500aa1dde001b0d53a0e43931c0932648f0650d", kill_on_drop: false }` [INFO] [stdout] ef4b81dd54169e2860f2837e6500aa1dde001b0d53a0e43931c0932648f0650d