[INFO] fetching crate pallet-asset-conversion 24.0.0... [INFO] checking pallet-asset-conversion-24.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pallet-asset-conversion 24.0.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate pallet-asset-conversion 24.0.0 [INFO] finished tweaking crates.io crate pallet-asset-conversion 24.0.0 [INFO] tweaked toml for crates.io crate pallet-asset-conversion 24.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-asset-conversion 24.0.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-asset-conversion 24.0.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 726c649456cc9f17fa654a0bf62788d2a9c0cd276366e0ed3907f9fc404deca1 [INFO] running `Command { std: "docker" "start" "-a" "726c649456cc9f17fa654a0bf62788d2a9c0cd276366e0ed3907f9fc404deca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "726c649456cc9f17fa654a0bf62788d2a9c0cd276366e0ed3907f9fc404deca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "726c649456cc9f17fa654a0bf62788d2a9c0cd276366e0ed3907f9fc404deca1", kill_on_drop: false }` [INFO] [stdout] 726c649456cc9f17fa654a0bf62788d2a9c0cd276366e0ed3907f9fc404deca1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af1ef874dc3d0650ffe9e0e2e616271f2fcee41a85f10bf29ca70914be15bc28 [INFO] running `Command { std: "docker" "start" "-a" "af1ef874dc3d0650ffe9e0e2e616271f2fcee41a85f10bf29ca70914be15bc28", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tokio v1.45.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 group v0.13.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking memory-db v0.34.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking trie-db v0.30.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking tuplex v0.1.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking crypto-bigint v0.5.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking ed25519 v2.2.2 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sp-panic-handler v13.0.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 http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Checking ecdsa v0.16.8 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [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 jam-codec-derive v0.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v24.0.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v35.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 v23.0.0 [INFO] [stderr] Checking sp-tracing v18.0.0 [INFO] [stderr] Checking binary-merkle-tree v16.0.0 [INFO] [stderr] Checking sp-externalities v0.30.0 [INFO] [stderr] Checking bounded-collections v0.3.2 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking sp-arithmetic v28.0.0 [INFO] [stderr] Checking frame-metadata v23.0.0 [INFO] [stderr] Checking sp-weights v33.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.12.0 [INFO] [stderr] Checking sp-runtime-interface v31.0.0 [INFO] [stderr] Checking sp-core v38.0.0 [INFO] [stderr] Checking sp-trie v41.0.0 [INFO] [stderr] Checking sp-keystore v0.44.0 [INFO] [stderr] Checking sp-state-machine v0.47.0 [INFO] [stderr] Checking sp-application-crypto v42.0.0 [INFO] [stderr] Checking sp-runtime v43.0.0 [INFO] [stderr] Checking sp-version v41.0.0 [INFO] [stderr] Checking sp-staking v40.0.0 [INFO] [stderr] Checking sp-inherents v38.0.0 [INFO] [stderr] Checking sp-api v38.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.19.0 [INFO] [stderr] Checking frame-support v42.0.0 [INFO] [stderr] Checking frame-system v42.0.0 [INFO] [stderr] Checking pallet-asset-conversion v24.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] --> src/mock.rs:117:2 [INFO] [stdout] | [INFO] [stdout] 117 | pallet_assets::runtime_benchmarks_enabled! { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] --> src/mock.rs:91:2 [INFO] [stdout] | [INFO] [stdout] 91 | pallet_assets::runtime_benchmarks_enabled! { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] --> src/mock.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | PoolAssets: pallet_assets::, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `mock` [INFO] [stdout] --> src/tests.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | if let mock::RuntimeEvent::AssetConversion(inner) = e { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:43:47 [INFO] [stdout] | [INFO] [stdout] 43 | 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] 43 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362| 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:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 20 + 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:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:71:43 [INFO] [stdout] | [INFO] [stdout] 71 | impl pallet_assets::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Balance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-42.0.0/src/traits/tokens/misc.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / pub trait Balance: [INFO] [stdout] 262 | | AtLeast32BitUnsigned [INFO] [stdout] 263 | | + FullCodec [INFO] [stdout] 264 | | + DecodeWithMemTracking [INFO] [stdout] ... | [INFO] [stdout] 273 | | + MaybeSerializeDeserialize [INFO] [stdout] 274 | | + 'static [INFO] [stdout] | |_____________- similarly named trait `Balance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | impl pallet_assets::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Balance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-42.0.0/src/traits/tokens/misc.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / pub trait Balance: [INFO] [stdout] 262 | | AtLeast32BitUnsigned [INFO] [stdout] 263 | | + FullCodec [INFO] [stdout] 264 | | + DecodeWithMemTracking [INFO] [stdout] ... | [INFO] [stdout] 273 | | + MaybeSerializeDeserialize [INFO] [stdout] 274 | | + 'static [INFO] [stdout] | |_____________- similarly named trait `Balance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:132:36 [INFO] [stdout] | [INFO] [stdout] 132 | pub type NativeAndAssets = UnionOf, u128>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-42.0.0/src/traits/tokens/misc.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / pub trait Balance: [INFO] [stdout] 262 | | AtLeast32BitUnsigned [INFO] [stdout] 263 | | + FullCodec [INFO] [stdout] 264 | | + DecodeWithMemTracking [INFO] [stdout] ... | [INFO] [stdout] 273 | | + MaybeSerializeDeserialize [INFO] [stdout] 274 | | + 'static [INFO] [stdout] | |_____________- similarly named trait `Balance` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 132 - pub type NativeAndAssets = UnionOf, u128>; [INFO] [stdout] 132 + pub type NativeAndAssets = UnionOf, u128>; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 132 | pub type NativeAndAssets = UnionOf, u128>; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/mock.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | pub type NativeAndAssets = UnionOf, u128>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-42.0.0/src/traits/tokens/misc.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | / pub trait AssetId: [INFO] [stdout] 237 | | FullCodec [INFO] [stdout] 238 | | + DecodeWithMemTracking [INFO] [stdout] 239 | | + Clone [INFO] [stdout] ... | [INFO] [stdout] 243 | | + scale_info::TypeInfo [INFO] [stdout] 244 | | + MaxEncodedLen [INFO] [stdout] | |___________________- similarly named trait `AssetId` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 132 - pub type NativeAndAssets = UnionOf, u128>; [INFO] [stdout] 132 + pub type NativeAndAssets = UnionOf, u128>; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 132 | pub type NativeAndAssets = UnionOf, u128>; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | impl Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 140 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolAssets` in this scope [INFO] [stdout] --> src/mock.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | type PoolAssets = PoolAssets; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 148 | type PoolAssets = Self::PoolAssets; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 162 | pub(crate) fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | 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] 162 | pub(crate) fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | ext.execute_with(|| System::set_block_number(1)); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn events() -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 33 | fn events() -> Vec> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | let result = System::events() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:46:2 [INFO] [stdout] | [INFO] [stdout] 46 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | fn pools() -> Vec<::PoolId> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 51 | fn pools() -> Vec<::PoolId> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | let mut s: Vec<_> = Pools::::iter().map(|x| x.0).collect(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 51 | fn pools() -> Vec<::PoolId> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | let mut s: Vec<_> = <::PoolAssets>::asset_ids().collect(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | <::Assets>::balance(token_id, &owner) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | <::PoolAssets>::balance(token_id, owner) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | <::Assets>::minimum_balance(NativeOrWithId::Native) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | let account: u128 = ::PoolLocator::address(&( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in module `mock` [INFO] [stdout] --> src/tests.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | >::AssetAccountDeposit::get(); [INFO] [stdout] | ^^^^ not found in `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | let setup_fee = <::PoolSetupFee as Get<::Balance>>::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:192:59 [INFO] [stdout] | [INFO] [stdout] 192 | let setup_fee = <::PoolSetupFee as Get<::Balance>>::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 173 | fn can_create_pool() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | [Event::::PoolCreated { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 173 | fn can_create_pool() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:206:20 [INFO] [stdout] | [INFO] [stdout] 206 | pool_account: ::PoolLocator::address(&pool_id).unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | Error::::InvalidAssetPair [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 173 | fn can_create_pool() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | Error::::InvalidAssetPair [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 173 | fn can_create_pool() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | Error::::PoolExists [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 243 | fn create_same_pool_twice_should_fail() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | Error::::PoolExists [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 243 | fn create_same_pool_twice_should_fail() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | [Event::::PoolCreated { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 284 | fn different_pools_should_have_different_lp_tokens() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:308:20 [INFO] [stdout] | [INFO] [stdout] 308 | pool_account: ::PoolLocator::address(&pool_id_1_2).unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | [Event::::PoolCreated { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 284 | fn different_pools_should_have_different_lp_tokens() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 323 | pool_account: ::PoolLocator::address(&pool_id_1_3).unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:371:38 [INFO] [stdout] | [INFO] [stdout] 371 | assert!(events().contains(&Event::::LiquidityAdded { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 333 | fn can_add_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | let pallet_account = ::PoolLocator::address(&pool_id).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:400:38 [INFO] [stdout] | [INFO] [stdout] 400 | assert!(events().contains(&Event::::LiquidityAdded { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 333 | fn can_add_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:409:25 [INFO] [stdout] | [INFO] [stdout] 409 | let pallet_account = ::PoolLocator::address(&pool_id).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 446 | Error::::AmountOneLessThanMinimal [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 419 | fn add_tiny_liquidity_leads_to_insufficient_liquidity_minted_error() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 460 | Error::::InsufficientLiquidityMinted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 419 | fn add_tiny_liquidity_leads_to_insufficient_liquidity_minted_error() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 493 | ::PoolLocator::address(&(token_1.clone(), token_2.clone())).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | let ed_token_1 = >::minimum_balance(); [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Balance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-42.0.0/src/traits/tokens/misc.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / pub trait Balance: [INFO] [stdout] 262 | | AtLeast32BitUnsigned [INFO] [stdout] 263 | | + FullCodec [INFO] [stdout] 264 | | + DecodeWithMemTracking [INFO] [stdout] ... | [INFO] [stdout] 273 | | + MaybeSerializeDeserialize [INFO] [stdout] 274 | | + 'static [INFO] [stdout] | |_____________- similarly named trait `Balance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:538:21 [INFO] [stdout] | [INFO] [stdout] 538 | let ed_token_2 = >::minimum_balance(2); [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `AssetId` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-42.0.0/src/traits/tokens/misc.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | / pub trait AssetId: [INFO] [stdout] 237 | | FullCodec [INFO] [stdout] 238 | | + DecodeWithMemTracking [INFO] [stdout] 239 | | + Clone [INFO] [stdout] ... | [INFO] [stdout] 243 | | + scale_info::TypeInfo [INFO] [stdout] 244 | | + MaxEncodedLen [INFO] [stdout] | |___________________- similarly named trait `AssetId` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:570:38 [INFO] [stdout] | [INFO] [stdout] 570 | assert!(events().contains(&Event::::LiquidityRemoved { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 522 | fn can_remove_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:578:21 [INFO] [stdout] | [INFO] [stdout] 578 | withdrawal_fee: ::LiquidityWithdrawalFee::get() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:581:23 [INFO] [stdout] | [INFO] [stdout] 581 | let pool_account = ::PoolLocator::address(&pool_id).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1035:25 [INFO] [stdout] | [INFO] [stdout] 1035 | let pallet_account = ::PoolLocator::address(&pool_id).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1085:38 [INFO] [stdout] | [INFO] [stdout] 1085 | assert!(events().contains(&Event::::SwapExecuted { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1044 | fn can_swap_with_realistic_values() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1119:12 [INFO] [stdout] | [INFO] [stdout] 1119 | Error::::PoolNotFound [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1096 | fn can_not_swap_in_pool_with_no_liquidity_added_yet() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1159:38 [INFO] [stdout] | [INFO] [stdout] 1159 | assert!(events().contains(&Event::::LiquidityAdded { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1125 | fn check_no_panic_when_try_swap_close_to_empty_pool() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1169:25 [INFO] [stdout] | [INFO] [stdout] 1169 | let pallet_account = ::PoolLocator::address(&pool_id).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1231:12 [INFO] [stdout] | [INFO] [stdout] 1231 | Error::::ProvidedMaximumNotSufficientForSwap [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1125 | fn check_no_panic_when_try_swap_close_to_empty_pool() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1244:12 [INFO] [stdout] | [INFO] [stdout] 1244 | Error::::AmountOutTooHigh [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1125 | fn check_no_panic_when_try_swap_close_to_empty_pool() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1295:12 [INFO] [stdout] | [INFO] [stdout] 1295 | Error::::ProvidedMinimumNotSufficientForSwap [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1250 | fn swap_should_not_work_if_too_much_slippage() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1319:25 [INFO] [stdout] | [INFO] [stdout] 1319 | let pallet_account = ::PoolLocator::address(&pool_id).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1394:25 [INFO] [stdout] | [INFO] [stdout] 1394 | let pallet_account = ::PoolLocator::address(&pool_id).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1764:12 [INFO] [stdout] | [INFO] [stdout] 1764 | Error::::ProvidedMaximumNotSufficientForSwap [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1719 | fn swap_tokens_for_exact_tokens_should_not_work_if_too_much_slippage() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1838:12 [INFO] [stdout] | [INFO] [stdout] 1838 | Error::::InvalidPath [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1770 | fn swap_exact_tokens_for_tokens_in_multi_hops() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1850:12 [INFO] [stdout] | [INFO] [stdout] 1850 | Error::::NonUniquePath [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1770 | fn swap_exact_tokens_for_tokens_in_multi_hops() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1864:26 [INFO] [stdout] | [INFO] [stdout] 1864 | let pallet_account1 = ::PoolLocator::address(&pool_id1).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1865:26 [INFO] [stdout] | [INFO] [stdout] 1865 | let pallet_account2 = ::PoolLocator::address(&pool_id2).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1947:26 [INFO] [stdout] | [INFO] [stdout] 1947 | let pallet_account1 = ::PoolLocator::address(&pool_id1).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1948:26 [INFO] [stdout] | [INFO] [stdout] 1948 | let pallet_account2 = ::PoolLocator::address(&pool_id2).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1982:12 [INFO] [stdout] | [INFO] [stdout] 1982 | Error::::InvalidAssetPair [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1960 | fn can_not_swap_same_asset() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1995:12 [INFO] [stdout] | [INFO] [stdout] 1995 | Error::::InvalidAssetPair [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1960 | fn can_not_swap_same_asset() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2007:12 [INFO] [stdout] | [INFO] [stdout] 2007 | Error::::InvalidAssetPair [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1960 | fn can_not_swap_same_asset() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2029:5 [INFO] [stdout] | [INFO] [stdout] 2029 | ::PoolLocator::address(&(token_1.clone(), token_2.clone())).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2128:5 [INFO] [stdout] | [INFO] [stdout] 2128 | ::PoolLocator::address(&(token_1.clone(), token_2.clone())).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2130:5 [INFO] [stdout] | [INFO] [stdout] 2130 | ::PoolLocator::address(&(token_1.clone(), token_3.clone())).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2154:13 [INFO] [stdout] | [INFO] [stdout] 2154 | error = >::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2169:13 [INFO] [stdout] | [INFO] [stdout] 2169 | error = >::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2180:5 [INFO] [stdout] | [INFO] [stdout] 2180 | >::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2193:5 [INFO] [stdout] | [INFO] [stdout] 2193 | >::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2253:5 [INFO] [stdout] | [INFO] [stdout] 2253 | >::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2306:16 [INFO] [stdout] | [INFO] [stdout] 2306 | let error = >::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2314:33 [INFO] [stdout] | [INFO] [stdout] 2314 | (expected_credit_in, Error::::ProvidedMinimumNotSufficientForSwap.into()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2264 | fn swap_credit_insufficient_amount_bounds() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2323:16 [INFO] [stdout] | [INFO] [stdout] 2323 | let error = >::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2331:33 [INFO] [stdout] | [INFO] [stdout] 2331 | (expected_credit_in, Error::::ProvidedMaximumNotSufficientForSwap.into()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2264 | fn swap_credit_insufficient_amount_bounds() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2373:30 [INFO] [stdout] | [INFO] [stdout] 2373 | let credit_in = CreditOf::::zero(token_1.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2337 | fn swap_credit_zero_amount() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2374:39 [INFO] [stdout] | [INFO] [stdout] 2374 | let expected_credit_in = CreditOf::::zero(token_1.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2337 | fn swap_credit_zero_amount() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2375:16 [INFO] [stdout] | [INFO] [stdout] 2375 | let error = >::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2381:50 [INFO] [stdout] | [INFO] [stdout] 2381 | assert_eq!(error, (expected_credit_in, Error::::ZeroAmount.into())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2337 | fn swap_credit_zero_amount() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2384:30 [INFO] [stdout] | [INFO] [stdout] 2384 | let credit_in = CreditOf::::zero(token_1.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2337 | fn swap_credit_zero_amount() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2385:39 [INFO] [stdout] | [INFO] [stdout] 2385 | let expected_credit_in = CreditOf::::zero(token_1.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2337 | fn swap_credit_zero_amount() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2386:16 [INFO] [stdout] | [INFO] [stdout] 2386 | let error = >::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2392:50 [INFO] [stdout] | [INFO] [stdout] 2392 | assert_eq!(error, (expected_credit_in, Error::::ZeroAmount.into())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2337 | fn swap_credit_zero_amount() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2397:16 [INFO] [stdout] | [INFO] [stdout] 2397 | let error = >::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2403:50 [INFO] [stdout] | [INFO] [stdout] 2403 | assert_eq!(error, (expected_credit_in, Error::::ZeroAmount.into())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2337 | fn swap_credit_zero_amount() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2408:16 [INFO] [stdout] | [INFO] [stdout] 2408 | let error = >::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2414:50 [INFO] [stdout] | [INFO] [stdout] 2414 | assert_eq!(error, (expected_credit_in, Error::::ZeroAmount.into())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2337 | fn swap_credit_zero_amount() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2457:16 [INFO] [stdout] | [INFO] [stdout] 2457 | let error = >::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2463:50 [INFO] [stdout] | [INFO] [stdout] 2463 | assert_eq!(error, (expected_credit_in, Error::::InvalidPath.into())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2419 | fn swap_credit_invalid_path() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2468:16 [INFO] [stdout] | [INFO] [stdout] 2468 | let error = >::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2474:50 [INFO] [stdout] | [INFO] [stdout] 2474 | assert_eq!(error, (expected_credit_in, Error::::InvalidPath.into())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2419 | fn swap_credit_invalid_path() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2479:16 [INFO] [stdout] | [INFO] [stdout] 2479 | let error = >::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2485:50 [INFO] [stdout] | [INFO] [stdout] 2485 | assert_eq!(error, (expected_credit_in, Error::::InvalidPath.into())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2419 | fn swap_credit_invalid_path() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetConversion` in this scope [INFO] [stdout] --> src/tests.rs:2491:5 [INFO] [stdout] | [INFO] [stdout] 2491 | >::swap_tokens_for_exact_tokens(vec![], credit_in, 10) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1297:2 [INFO] [stdout] | [INFO] [stdout] 1297 | / pub trait AssetConversionApi [INFO] [stdout] 1298 | | where [INFO] [stdout] 1299 | | Balance: frame_support::traits::tokens::Balance + MaybeDisplay, [INFO] [stdout] 1300 | | AssetId: Codec, [INFO] [stdout] ... | [INFO] [stdout] 1325 | | fn get_reserves(asset1: AssetId, asset2: AssetId) -> Option<(Balance, Balance)>; [INFO] [stdout] 1326 | | } [INFO] [stdout] | |_____- similarly named trait `AssetConversionApi` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2493:50 [INFO] [stdout] | [INFO] [stdout] 2493 | assert_eq!(error, (expected_credit_in, Error::::InvalidPath.into())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2419 | fn swap_credit_invalid_path() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] --> src/mock.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | impl pallet_assets::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_assets`, use `cargo add pallet_assets` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] --> src/mock.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | impl pallet_assets::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_assets`, use `cargo add pallet_assets` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:141:26 [INFO] [stdout] | [INFO] [stdout] 141 | type Balance = ::Balance; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:165:2 [INFO] [stdout] | [INFO] [stdout] 165 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let mut s: Vec<_> = Assets::asset_ids().map(|id| NativeOrWithId::WithId(id)).collect(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | assert_ok!(Assets::force_create(RuntimeOrigin::root(), asset_id, owner, false, ed)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | assert_ok!(Assets::force_create(RuntimeOrigin::root(), asset_id, owner, false, ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(AssetConversion::quote(&3u128, &u128::MAX, &u128::MAX).ok().unwrap(), 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | assert!(AssetConversion::quote(&u128::MAX, &3u128, &u128::MAX).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(AssetConversion::quote(&u128::MAX, &u128::MAX, &1u128).ok().unwrap(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | AssetConversion::get_amount_out(&100u128, &u128::MAX, &u128::MAX).ok().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | AssetConversion::get_amount_in(&100u128, &u128::MAX, &u128::MAX).ok().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] --> src/tests.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | >::AssetAccountDeposit::get(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_assets`, use `cargo add pallet_assets` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | let lp_token = AssetConversion::get_next_pool_asset_id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 1000)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:185:42 [INFO] [stdout] | [INFO] [stdout] 185 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:199:28 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(lp_token + 1, AssetConversion::get_next_pool_asset_id()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 234 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | let lp_token = AssetConversion::get_next_pool_asset_id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:252:14 [INFO] [stdout] | [INFO] [stdout] 252 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:253:4 [INFO] [stdout] | [INFO] [stdout] 253 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(expected_free, AssetConversion::get_next_pool_asset_id()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:261:4 [INFO] [stdout] | [INFO] [stdout] 261 | AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | assert_eq!(expected_free, AssetConversion::get_next_pool_asset_id()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:272:4 [INFO] [stdout] | [INFO] [stdout] 272 | AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:279:29 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(expected_free, AssetConversion::get_next_pool_asset_id()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | let lp_token2_1 = AssetConversion::get_next_pool_asset_id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:297:4 [INFO] [stdout] | [INFO] [stdout] 297 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | let lp_token3_1 = AssetConversion::get_next_pool_asset_id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:313:14 [INFO] [stdout] | [INFO] [stdout] 313 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:314:4 [INFO] [stdout] | [INFO] [stdout] 314 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:341:19 [INFO] [stdout] | [INFO] [stdout] 341 | let lp_token1 = AssetConversion::get_next_pool_asset_id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:342:14 [INFO] [stdout] | [INFO] [stdout] 342 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:347:19 [INFO] [stdout] | [INFO] [stdout] 347 | let lp_token2 = AssetConversion::get_next_pool_asset_id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:348:14 [INFO] [stdout] | [INFO] [stdout] 348 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:349:4 [INFO] [stdout] | [INFO] [stdout] 349 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:355:14 [INFO] [stdout] | [INFO] [stdout] 355 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 10000 * 2 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:355:42 [INFO] [stdout] | [INFO] [stdout] 355 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 10000 * 2 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:356:27 [INFO] [stdout] | [INFO] [stdout] 356 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:357:14 [INFO] [stdout] | [INFO] [stdout] 357 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 3, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:357:27 [INFO] [stdout] | [INFO] [stdout] 357 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 3, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:359:14 [INFO] [stdout] | [INFO] [stdout] 359 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:360:4 [INFO] [stdout] | [INFO] [stdout] 360 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:388:14 [INFO] [stdout] | [INFO] [stdout] 388 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:389:4 [INFO] [stdout] | [INFO] [stdout] 389 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:426:14 [INFO] [stdout] | [INFO] [stdout] 426 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:427:4 [INFO] [stdout] | [INFO] [stdout] 427 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:432:14 [INFO] [stdout] | [INFO] [stdout] 432 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 1000)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:432:42 [INFO] [stdout] | [INFO] [stdout] 432 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:433:14 [INFO] [stdout] | [INFO] [stdout] 433 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:433:27 [INFO] [stdout] | [INFO] [stdout] 433 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:436:4 [INFO] [stdout] | [INFO] [stdout] 436 | AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 437 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:450:4 [INFO] [stdout] | [INFO] [stdout] 450 | AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 451 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:474:14 [INFO] [stdout] | [INFO] [stdout] 474 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:475:4 [INFO] [stdout] | [INFO] [stdout] 475 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:479:14 [INFO] [stdout] | [INFO] [stdout] 479 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:480:4 [INFO] [stdout] | [INFO] [stdout] 480 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:486:14 [INFO] [stdout] | [INFO] [stdout] 486 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 10000 * 2 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:486:42 [INFO] [stdout] | [INFO] [stdout] 486 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 10000 * 2 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:487:27 [INFO] [stdout] | [INFO] [stdout] 487 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:488:14 [INFO] [stdout] | [INFO] [stdout] 488 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 3, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:488:27 [INFO] [stdout] | [INFO] [stdout] 488 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 3, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:494:14 [INFO] [stdout] | [INFO] [stdout] 494 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), pallet_account, 1000)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:494:42 [INFO] [stdout] | [INFO] [stdout] 494 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), pallet_account, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:496:14 [INFO] [stdout] | [INFO] [stdout] 496 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:497:4 [INFO] [stdout] | [INFO] [stdout] 497 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:508:14 [INFO] [stdout] | [INFO] [stdout] 508 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:509:4 [INFO] [stdout] | [INFO] [stdout] 509 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:530:18 [INFO] [stdout] | [INFO] [stdout] 530 | let lp_token = AssetConversion::get_next_pool_asset_id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:531:14 [INFO] [stdout] | [INFO] [stdout] 531 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:532:4 [INFO] [stdout] | [INFO] [stdout] 532 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:539:14 [INFO] [stdout] | [INFO] [stdout] 539 | assert_ok!(Balances::force_set_balance( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:540:4 [INFO] [stdout] | [INFO] [stdout] 540 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:544:14 [INFO] [stdout] | [INFO] [stdout] 544 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 100000 + ed_token_2)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:544:27 [INFO] [stdout] | [INFO] [stdout] 544 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 100000 + ed_token_2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:546:14 [INFO] [stdout] | [INFO] [stdout] 546 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:547:4 [INFO] [stdout] | [INFO] [stdout] 547 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:560:14 [INFO] [stdout] | [INFO] [stdout] 560 | assert_ok!(AssetConversion::remove_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:561:4 [INFO] [stdout] | [INFO] [stdout] 561 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:601:18 [INFO] [stdout] | [INFO] [stdout] 601 | let lp_token = AssetConversion::get_next_pool_asset_id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:604:14 [INFO] [stdout] | [INFO] [stdout] 604 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:605:4 [INFO] [stdout] | [INFO] [stdout] 605 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:610:14 [INFO] [stdout] | [INFO] [stdout] 610 | assert_ok!(Balances::force_set_balance( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:611:4 [INFO] [stdout] | [INFO] [stdout] 611 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:615:14 [INFO] [stdout] | [INFO] [stdout] 615 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:615:27 [INFO] [stdout] | [INFO] [stdout] 615 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:617:14 [INFO] [stdout] | [INFO] [stdout] 617 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:618:4 [INFO] [stdout] | [INFO] [stdout] 618 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:632:4 [INFO] [stdout] | [INFO] [stdout] 632 | AssetConversion::remove_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:633:5 [INFO] [stdout] | [INFO] [stdout] 633 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:654:14 [INFO] [stdout] | [INFO] [stdout] 654 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:655:4 [INFO] [stdout] | [INFO] [stdout] 655 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:660:14 [INFO] [stdout] | [INFO] [stdout] 660 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 100000)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:660:42 [INFO] [stdout] | [INFO] [stdout] 660 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 100000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:661:14 [INFO] [stdout] | [INFO] [stdout] 661 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:661:27 [INFO] [stdout] | [INFO] [stdout] 661 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:663:14 [INFO] [stdout] | [INFO] [stdout] 663 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:664:4 [INFO] [stdout] | [INFO] [stdout] 664 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:675:4 [INFO] [stdout] | [INFO] [stdout] 675 | AssetConversion::quote_price_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:685:4 [INFO] [stdout] | [INFO] [stdout] 685 | AssetConversion::quote_price_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:696:4 [INFO] [stdout] | [INFO] [stdout] 696 | AssetConversion::quote_price_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:706:4 [INFO] [stdout] | [INFO] [stdout] 706 | AssetConversion::quote_price_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:717:4 [INFO] [stdout] | [INFO] [stdout] 717 | AssetConversion::quote_price_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:727:4 [INFO] [stdout] | [INFO] [stdout] 727 | AssetConversion::quote_price_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:740:4 [INFO] [stdout] | [INFO] [stdout] 740 | AssetConversion::quote_price_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:750:4 [INFO] [stdout] | [INFO] [stdout] 750 | AssetConversion::quote_price_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:761:4 [INFO] [stdout] | [INFO] [stdout] 761 | AssetConversion::quote_price_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:771:4 [INFO] [stdout] | [INFO] [stdout] 771 | AssetConversion::quote_price_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:782:4 [INFO] [stdout] | [INFO] [stdout] 782 | AssetConversion::quote_price_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:792:4 [INFO] [stdout] | [INFO] [stdout] 792 | AssetConversion::quote_price_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:807:4 [INFO] [stdout] | [INFO] [stdout] 807 | AssetConversion::quote_price_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:813:23 [INFO] [stdout] | [INFO] [stdout] 813 | .and_then(|amount| AssetConversion::quote_price_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:822:4 [INFO] [stdout] | [INFO] [stdout] 822 | AssetConversion::quote_price_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:828:23 [INFO] [stdout] | [INFO] [stdout] 828 | .and_then(|amount| AssetConversion::quote_price_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:838:4 [INFO] [stdout] | [INFO] [stdout] 838 | AssetConversion::quote_price_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:844:23 [INFO] [stdout] | [INFO] [stdout] 844 | .and_then(|amount| AssetConversion::quote_price_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:853:4 [INFO] [stdout] | [INFO] [stdout] 853 | AssetConversion::quote_price_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:859:23 [INFO] [stdout] | [INFO] [stdout] 859 | .and_then(|amount| AssetConversion::quote_price_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:879:14 [INFO] [stdout] | [INFO] [stdout] 879 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:880:4 [INFO] [stdout] | [INFO] [stdout] 880 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:885:14 [INFO] [stdout] | [INFO] [stdout] 885 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 100000)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:885:42 [INFO] [stdout] | [INFO] [stdout] 885 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 100000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:886:14 [INFO] [stdout] | [INFO] [stdout] 886 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:886:27 [INFO] [stdout] | [INFO] [stdout] 886 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:888:14 [INFO] [stdout] | [INFO] [stdout] 888 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:889:4 [INFO] [stdout] | [INFO] [stdout] 889 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:902:4 [INFO] [stdout] | [INFO] [stdout] 902 | AssetConversion::quote_price_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:911:14 [INFO] [stdout] | [INFO] [stdout] 911 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user2, amount)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:911:27 [INFO] [stdout] | [INFO] [stdout] 911 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user2, amount)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:914:14 [INFO] [stdout] | [INFO] [stdout] 914 | assert_ok!(AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:915:4 [INFO] [stdout] | [INFO] [stdout] 915 | RuntimeOrigin::signed(user2), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:936:14 [INFO] [stdout] | [INFO] [stdout] 936 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:937:4 [INFO] [stdout] | [INFO] [stdout] 937 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:942:14 [INFO] [stdout] | [INFO] [stdout] 942 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 100000)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:942:42 [INFO] [stdout] | [INFO] [stdout] 942 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 100000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:943:14 [INFO] [stdout] | [INFO] [stdout] 943 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:943:27 [INFO] [stdout] | [INFO] [stdout] 943 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:945:14 [INFO] [stdout] | [INFO] [stdout] 945 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:946:4 [INFO] [stdout] | [INFO] [stdout] 946 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:959:4 [INFO] [stdout] | [INFO] [stdout] 959 | AssetConversion::quote_price_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:968:14 [INFO] [stdout] | [INFO] [stdout] 968 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user2, amount)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:968:27 [INFO] [stdout] | [INFO] [stdout] 968 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user2, amount)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:973:14 [INFO] [stdout] | [INFO] [stdout] 973 | assert_ok!(AssetConversion::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:974:4 [INFO] [stdout] | [INFO] [stdout] 974 | RuntimeOrigin::signed(user2), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:996:14 [INFO] [stdout] | [INFO] [stdout] 996 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:997:4 [INFO] [stdout] | [INFO] [stdout] 997 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1003:14 [INFO] [stdout] | [INFO] [stdout] 1003 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 10000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1003:42 [INFO] [stdout] | [INFO] [stdout] 1003 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 10000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1004:14 [INFO] [stdout] | [INFO] [stdout] 1004 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1004:27 [INFO] [stdout] | [INFO] [stdout] 1004 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1009:14 [INFO] [stdout] | [INFO] [stdout] 1009 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1010:4 [INFO] [stdout] | [INFO] [stdout] 1010 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1022:4 [INFO] [stdout] | [INFO] [stdout] 1022 | AssetConversion::get_amount_out(&input_amount, &liquidity2, &liquidity1) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1026:14 [INFO] [stdout] | [INFO] [stdout] 1026 | assert_ok!(AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1027:4 [INFO] [stdout] | [INFO] [stdout] 1027 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1050:14 [INFO] [stdout] | [INFO] [stdout] 1050 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1051:4 [INFO] [stdout] | [INFO] [stdout] 1051 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1058:14 [INFO] [stdout] | [INFO] [stdout] 1058 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 300_000 * UNIT)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1058:42 [INFO] [stdout] | [INFO] [stdout] 1058 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 300_000 * UNIT)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1059:14 [INFO] [stdout] | [INFO] [stdout] 1059 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1_100_000 * UNIT)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1059:27 [INFO] [stdout] | [INFO] [stdout] 1059 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1_100_000 * UNIT)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1063:14 [INFO] [stdout] | [INFO] [stdout] 1063 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1064:4 [INFO] [stdout] | [INFO] [stdout] 1064 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1076:14 [INFO] [stdout] | [INFO] [stdout] 1076 | assert_ok!(AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1077:4 [INFO] [stdout] | [INFO] [stdout] 1077 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1103:14 [INFO] [stdout] | [INFO] [stdout] 1103 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1104:4 [INFO] [stdout] | [INFO] [stdout] 1104 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1111:4 [INFO] [stdout] | [INFO] [stdout] 1111 | AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1112:5 [INFO] [stdout] | [INFO] [stdout] 1112 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1131:18 [INFO] [stdout] | [INFO] [stdout] 1131 | let lp_token = AssetConversion::get_next_pool_asset_id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1134:14 [INFO] [stdout] | [INFO] [stdout] 1134 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1135:4 [INFO] [stdout] | [INFO] [stdout] 1135 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1141:14 [INFO] [stdout] | [INFO] [stdout] 1141 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 10000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1141:42 [INFO] [stdout] | [INFO] [stdout] 1141 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 10000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1142:14 [INFO] [stdout] | [INFO] [stdout] 1142 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1142:27 [INFO] [stdout] | [INFO] [stdout] 1142 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1147:14 [INFO] [stdout] | [INFO] [stdout] 1147 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1148:4 [INFO] [stdout] | [INFO] [stdout] 1148 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1173:14 [INFO] [stdout] | [INFO] [stdout] 1173 | assert_ok!(AssetConversion::remove_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1174:4 [INFO] [stdout] | [INFO] [stdout] 1174 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1190:4 [INFO] [stdout] | [INFO] [stdout] 1190 | AssetConversion::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1191:5 [INFO] [stdout] | [INFO] [stdout] 1191 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1201:14 [INFO] [stdout] | [INFO] [stdout] 1201 | assert_ok!(AssetConversion::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1202:4 [INFO] [stdout] | [INFO] [stdout] 1202 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1216:4 [INFO] [stdout] | [INFO] [stdout] 1216 | AssetConversion::get_amount_in(&(token_1_left - 1), &token_2_left, &token_1_left) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1223:4 [INFO] [stdout] | [INFO] [stdout] 1223 | AssetConversion::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1224:5 [INFO] [stdout] | [INFO] [stdout] 1224 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1236:4 [INFO] [stdout] | [INFO] [stdout] 1236 | AssetConversion::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1237:5 [INFO] [stdout] | [INFO] [stdout] 1237 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1257:14 [INFO] [stdout] | [INFO] [stdout] 1257 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1258:4 [INFO] [stdout] | [INFO] [stdout] 1258 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1263:14 [INFO] [stdout] | [INFO] [stdout] 1263 | assert_ok!(Balances::force_set_balance( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1264:4 [INFO] [stdout] | [INFO] [stdout] 1264 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1268:14 [INFO] [stdout] | [INFO] [stdout] 1268 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1268:27 [INFO] [stdout] | [INFO] [stdout] 1268 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1273:14 [INFO] [stdout] | [INFO] [stdout] 1273 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1274:4 [INFO] [stdout] | [INFO] [stdout] 1274 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1287:4 [INFO] [stdout] | [INFO] [stdout] 1287 | AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1288:5 [INFO] [stdout] | [INFO] [stdout] 1288 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1309:14 [INFO] [stdout] | [INFO] [stdout] 1309 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1310:4 [INFO] [stdout] | [INFO] [stdout] 1310 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1316:14 [INFO] [stdout] | [INFO] [stdout] 1316 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1316:42 [INFO] [stdout] | [INFO] [stdout] 1316 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1317:14 [INFO] [stdout] | [INFO] [stdout] 1317 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1317:27 [INFO] [stdout] | [INFO] [stdout] 1317 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1326:14 [INFO] [stdout] | [INFO] [stdout] 1326 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1327:4 [INFO] [stdout] | [INFO] [stdout] 1327 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1338:19 [INFO] [stdout] | [INFO] [stdout] 1338 | let expect_in = AssetConversion::get_amount_in(&exchange_out, &liquidity1, &liquidity2) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1342:14 [INFO] [stdout] | [INFO] [stdout] 1342 | assert_ok!(AssetConversion::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1343:4 [INFO] [stdout] | [INFO] [stdout] 1343 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1378:18 [INFO] [stdout] | [INFO] [stdout] 1378 | let lp_token = AssetConversion::get_next_pool_asset_id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1381:14 [INFO] [stdout] | [INFO] [stdout] 1381 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1382:4 [INFO] [stdout] | [INFO] [stdout] 1382 | RuntimeOrigin::signed(user2), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1390:14 [INFO] [stdout] | [INFO] [stdout] 1390 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, base1 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1390:42 [INFO] [stdout] | [INFO] [stdout] 1390 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, base1 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1391:14 [INFO] [stdout] | [INFO] [stdout] 1391 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user2, base1 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1391:42 [INFO] [stdout] | [INFO] [stdout] 1391 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user2, base1 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1392:14 [INFO] [stdout] | [INFO] [stdout] 1392 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user2), 2, user2, base2)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1392:27 [INFO] [stdout] | [INFO] [stdout] 1392 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user2), 2, user2, base2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1405:14 [INFO] [stdout] | [INFO] [stdout] 1405 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1406:4 [INFO] [stdout] | [INFO] [stdout] 1406 | RuntimeOrigin::signed(user2), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1420:19 [INFO] [stdout] | [INFO] [stdout] 1420 | let expect_in = AssetConversion::get_amount_in(&exchange_out, &liquidity1, &liquidity2) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1424:14 [INFO] [stdout] | [INFO] [stdout] 1424 | assert_ok!(AssetConversion::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1425:4 [INFO] [stdout] | [INFO] [stdout] 1425 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1457:14 [INFO] [stdout] | [INFO] [stdout] 1457 | assert_ok!(AssetConversion::remove_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1458:4 [INFO] [stdout] | [INFO] [stdout] 1458 | RuntimeOrigin::signed(user2), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1478:14 [INFO] [stdout] | [INFO] [stdout] 1478 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1479:4 [INFO] [stdout] | [INFO] [stdout] 1479 | RuntimeOrigin::signed(user2), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1485:14 [INFO] [stdout] | [INFO] [stdout] 1485 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 101)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1485:42 [INFO] [stdout] | [INFO] [stdout] 1485 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 101)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1486:14 [INFO] [stdout] | [INFO] [stdout] 1486 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user2, 10000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1486:42 [INFO] [stdout] | [INFO] [stdout] 1486 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user2, 10000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1487:14 [INFO] [stdout] | [INFO] [stdout] 1487 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user2), 2, user2, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1487:27 [INFO] [stdout] | [INFO] [stdout] 1487 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user2), 2, user2, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1488:14 [INFO] [stdout] | [INFO] [stdout] 1488 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user2), 2, user, 2)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1488:27 [INFO] [stdout] | [INFO] [stdout] 1488 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user2), 2, user, 2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1490:14 [INFO] [stdout] | [INFO] [stdout] 1490 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1491:4 [INFO] [stdout] | [INFO] [stdout] 1491 | RuntimeOrigin::signed(user2), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1502:4 [INFO] [stdout] | [INFO] [stdout] 1502 | AssetConversion::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1503:5 [INFO] [stdout] | [INFO] [stdout] 1503 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1514:4 [INFO] [stdout] | [INFO] [stdout] 1514 | AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1515:5 [INFO] [stdout] | [INFO] [stdout] 1515 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1526:4 [INFO] [stdout] | [INFO] [stdout] 1526 | AssetConversion::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1527:5 [INFO] [stdout] | [INFO] [stdout] 1527 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1538:4 [INFO] [stdout] | [INFO] [stdout] 1538 | AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1539:5 [INFO] [stdout] | [INFO] [stdout] 1539 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1562:14 [INFO] [stdout] | [INFO] [stdout] 1562 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1563:4 [INFO] [stdout] | [INFO] [stdout] 1563 | RuntimeOrigin::signed(user2), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1567:14 [INFO] [stdout] | [INFO] [stdout] 1567 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1568:4 [INFO] [stdout] | [INFO] [stdout] 1568 | RuntimeOrigin::signed(user2), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1572:14 [INFO] [stdout] | [INFO] [stdout] 1572 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1573:4 [INFO] [stdout] | [INFO] [stdout] 1573 | RuntimeOrigin::signed(user2), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1579:14 [INFO] [stdout] | [INFO] [stdout] 1579 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1579:42 [INFO] [stdout] | [INFO] [stdout] 1579 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1580:14 [INFO] [stdout] | [INFO] [stdout] 1580 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user2, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1580:42 [INFO] [stdout] | [INFO] [stdout] 1580 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user2, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1581:14 [INFO] [stdout] | [INFO] [stdout] 1581 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user2), 2, user2, 400 + ed_assets)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1581:27 [INFO] [stdout] | [INFO] [stdout] 1581 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user2), 2, user2, 400 + ed_assets)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1582:14 [INFO] [stdout] | [INFO] [stdout] 1582 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user2), 3, user2, 20000 + ed_assets)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1582:27 [INFO] [stdout] | [INFO] [stdout] 1582 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user2), 3, user2, 20000 + ed_assets)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1584:14 [INFO] [stdout] | [INFO] [stdout] 1584 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user2), 2, user, 400 + ed_assets)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1584:27 [INFO] [stdout] | [INFO] [stdout] 1584 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user2), 2, user, 400 + ed_assets)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1585:14 [INFO] [stdout] | [INFO] [stdout] 1585 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user2), 3, user, 20000 + ed_assets)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1585:27 [INFO] [stdout] | [INFO] [stdout] 1585 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user2), 3, user, 20000 + ed_assets)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1587:14 [INFO] [stdout] | [INFO] [stdout] 1587 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1588:4 [INFO] [stdout] | [INFO] [stdout] 1588 | RuntimeOrigin::signed(user2), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1598:14 [INFO] [stdout] | [INFO] [stdout] 1598 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1599:4 [INFO] [stdout] | [INFO] [stdout] 1599 | RuntimeOrigin::signed(user2), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1609:14 [INFO] [stdout] | [INFO] [stdout] 1609 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1610:4 [INFO] [stdout] | [INFO] [stdout] 1610 | RuntimeOrigin::signed(user2), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1622:4 [INFO] [stdout] | [INFO] [stdout] 1622 | AssetConversion::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1623:5 [INFO] [stdout] | [INFO] [stdout] 1623 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1635:4 [INFO] [stdout] | [INFO] [stdout] 1635 | AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1636:5 [INFO] [stdout] | [INFO] [stdout] 1636 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1648:4 [INFO] [stdout] | [INFO] [stdout] 1648 | AssetConversion::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1649:5 [INFO] [stdout] | [INFO] [stdout] 1649 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1661:4 [INFO] [stdout] | [INFO] [stdout] 1661 | AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1662:5 [INFO] [stdout] | [INFO] [stdout] 1662 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1673:19 [INFO] [stdout] | [INFO] [stdout] 1673 | let amount_in = AssetConversion::balance_path_from_amount_out( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1683:4 [INFO] [stdout] | [INFO] [stdout] 1683 | AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1684:5 [INFO] [stdout] | [INFO] [stdout] 1684 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1695:19 [INFO] [stdout] | [INFO] [stdout] 1695 | let amount_in = AssetConversion::balance_path_from_amount_out( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1705:4 [INFO] [stdout] | [INFO] [stdout] 1705 | AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1706:5 [INFO] [stdout] | [INFO] [stdout] 1706 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1726:14 [INFO] [stdout] | [INFO] [stdout] 1726 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1727:4 [INFO] [stdout] | [INFO] [stdout] 1727 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1732:14 [INFO] [stdout] | [INFO] [stdout] 1732 | assert_ok!(Balances::force_set_balance( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1733:4 [INFO] [stdout] | [INFO] [stdout] 1733 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1737:14 [INFO] [stdout] | [INFO] [stdout] 1737 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1737:27 [INFO] [stdout] | [INFO] [stdout] 1737 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1742:14 [INFO] [stdout] | [INFO] [stdout] 1742 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1743:4 [INFO] [stdout] | [INFO] [stdout] 1743 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1756:4 [INFO] [stdout] | [INFO] [stdout] 1756 | AssetConversion::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1757:5 [INFO] [stdout] | [INFO] [stdout] 1757 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1778:14 [INFO] [stdout] | [INFO] [stdout] 1778 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1779:4 [INFO] [stdout] | [INFO] [stdout] 1779 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1783:14 [INFO] [stdout] | [INFO] [stdout] 1783 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1784:4 [INFO] [stdout] | [INFO] [stdout] 1784 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1792:14 [INFO] [stdout] | [INFO] [stdout] 1792 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, base1 * 2 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1792:42 [INFO] [stdout] | [INFO] [stdout] 1792 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, base1 * 2 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1793:14 [INFO] [stdout] | [INFO] [stdout] 1793 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, base2)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1793:27 [INFO] [stdout] | [INFO] [stdout] 1793 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, base2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1794:14 [INFO] [stdout] | [INFO] [stdout] 1794 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 3, user, base2)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1794:27 [INFO] [stdout] | [INFO] [stdout] 1794 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 3, user, base2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1800:14 [INFO] [stdout] | [INFO] [stdout] 1800 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1801:4 [INFO] [stdout] | [INFO] [stdout] 1801 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1810:14 [INFO] [stdout] | [INFO] [stdout] 1810 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1811:4 [INFO] [stdout] | [INFO] [stdout] 1811 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1822:21 [INFO] [stdout] | [INFO] [stdout] 1822 | let expect_out2 = AssetConversion::get_amount_out(&input_amount, &liquidity1, &liquidity2) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1825:21 [INFO] [stdout] | [INFO] [stdout] 1825 | let expect_out3 = AssetConversion::get_amount_out(&expect_out2, &liquidity2, &liquidity3) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1830:4 [INFO] [stdout] | [INFO] [stdout] 1830 | AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1831:5 [INFO] [stdout] | [INFO] [stdout] 1831 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1842:4 [INFO] [stdout] | [INFO] [stdout] 1842 | AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1843:5 [INFO] [stdout] | [INFO] [stdout] 1843 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1853:14 [INFO] [stdout] | [INFO] [stdout] 1853 | assert_ok!(AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1854:4 [INFO] [stdout] | [INFO] [stdout] 1854 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1885:14 [INFO] [stdout] | [INFO] [stdout] 1885 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1886:4 [INFO] [stdout] | [INFO] [stdout] 1886 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1890:14 [INFO] [stdout] | [INFO] [stdout] 1890 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1891:4 [INFO] [stdout] | [INFO] [stdout] 1891 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1899:14 [INFO] [stdout] | [INFO] [stdout] 1899 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, base1 * 2 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1899:42 [INFO] [stdout] | [INFO] [stdout] 1899 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, base1 * 2 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1900:14 [INFO] [stdout] | [INFO] [stdout] 1900 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, base2)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1900:27 [INFO] [stdout] | [INFO] [stdout] 1900 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, base2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1901:14 [INFO] [stdout] | [INFO] [stdout] 1901 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 3, user, base2)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1901:27 [INFO] [stdout] | [INFO] [stdout] 1901 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 3, user, base2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1907:14 [INFO] [stdout] | [INFO] [stdout] 1907 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1908:4 [INFO] [stdout] | [INFO] [stdout] 1908 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1917:14 [INFO] [stdout] | [INFO] [stdout] 1917 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1918:4 [INFO] [stdout] | [INFO] [stdout] 1918 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1929:20 [INFO] [stdout] | [INFO] [stdout] 1929 | let expect_in2 = AssetConversion::get_amount_in(&exchange_out3, &liquidity2, &liquidity3) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1932:20 [INFO] [stdout] | [INFO] [stdout] 1932 | let expect_in1 = AssetConversion::get_amount_in(&expect_in2, &liquidity1, &liquidity2) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1936:14 [INFO] [stdout] | [INFO] [stdout] 1936 | assert_ok!(AssetConversion::swap_tokens_for_exact_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1937:4 [INFO] [stdout] | [INFO] [stdout] 1937 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:1967:14 [INFO] [stdout] | [INFO] [stdout] 1967 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 1, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1967:27 [INFO] [stdout] | [INFO] [stdout] 1967 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 1, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1972:4 [INFO] [stdout] | [INFO] [stdout] 1972 | AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1973:5 [INFO] [stdout] | [INFO] [stdout] 1973 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1987:4 [INFO] [stdout] | [INFO] [stdout] 1987 | AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1988:5 [INFO] [stdout] | [INFO] [stdout] 1988 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:1999:4 [INFO] [stdout] | [INFO] [stdout] 1999 | AssetConversion::swap_exact_tokens_for_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2000:5 [INFO] [stdout] | [INFO] [stdout] 2000 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2021:14 [INFO] [stdout] | [INFO] [stdout] 2021 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), attacker, 10000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2021:42 [INFO] [stdout] | [INFO] [stdout] 2021 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), attacker, 10000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2031:14 [INFO] [stdout] | [INFO] [stdout] 2031 | assert_ok!(Balances::transfer_allow_death( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2032:4 [INFO] [stdout] | [INFO] [stdout] 2032 | RuntimeOrigin::signed(attacker), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2039:15 [INFO] [stdout] | [INFO] [stdout] 2039 | assert_ok!(Assets::mint(RuntimeOrigin::signed(attacker), i, attacker, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2039:28 [INFO] [stdout] | [INFO] [stdout] 2039 | assert_ok!(Assets::mint(RuntimeOrigin::signed(attacker), i, attacker, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2040:15 [INFO] [stdout] | [INFO] [stdout] 2040 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(attacker), i, pool_account, 1)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2040:32 [INFO] [stdout] | [INFO] [stdout] 2040 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(attacker), i, pool_account, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2045:14 [INFO] [stdout] | [INFO] [stdout] 2045 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2046:4 [INFO] [stdout] | [INFO] [stdout] 2046 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2053:14 [INFO] [stdout] | [INFO] [stdout] 2053 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 10000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2053:42 [INFO] [stdout] | [INFO] [stdout] 2053 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 10000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2054:14 [INFO] [stdout] | [INFO] [stdout] 2054 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 10000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2054:27 [INFO] [stdout] | [INFO] [stdout] 2054 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 10000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2055:14 [INFO] [stdout] | [INFO] [stdout] 2055 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(user), 2, pool_account, 1)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2055:31 [INFO] [stdout] | [INFO] [stdout] 2055 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(user), 2, pool_account, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2058:14 [INFO] [stdout] | [INFO] [stdout] 2058 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2059:4 [INFO] [stdout] | [INFO] [stdout] 2059 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2082:14 [INFO] [stdout] | [INFO] [stdout] 2082 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2083:4 [INFO] [stdout] | [INFO] [stdout] 2083 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2087:14 [INFO] [stdout] | [INFO] [stdout] 2087 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2088:4 [INFO] [stdout] | [INFO] [stdout] 2088 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2094:14 [INFO] [stdout] | [INFO] [stdout] 2094 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2094:42 [INFO] [stdout] | [INFO] [stdout] 2094 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2095:14 [INFO] [stdout] | [INFO] [stdout] 2095 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2095:27 [INFO] [stdout] | [INFO] [stdout] 2095 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2096:14 [INFO] [stdout] | [INFO] [stdout] 2096 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 3, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2096:27 [INFO] [stdout] | [INFO] [stdout] 2096 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 3, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2098:14 [INFO] [stdout] | [INFO] [stdout] 2098 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user2, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2098:42 [INFO] [stdout] | [INFO] [stdout] 2098 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user2, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2099:14 [INFO] [stdout] | [INFO] [stdout] 2099 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user2, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2099:27 [INFO] [stdout] | [INFO] [stdout] 2099 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user2, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2100:14 [INFO] [stdout] | [INFO] [stdout] 2100 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 3, user2, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2100:27 [INFO] [stdout] | [INFO] [stdout] 2100 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 3, user2, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2105:14 [INFO] [stdout] | [INFO] [stdout] 2105 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2106:4 [INFO] [stdout] | [INFO] [stdout] 2106 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2116:14 [INFO] [stdout] | [INFO] [stdout] 2116 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2117:4 [INFO] [stdout] | [INFO] [stdout] 2117 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2132:14 [INFO] [stdout] | [INFO] [stdout] 2132 | assert_eq!(Balances::balance(&pool_1), liquidity1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2133:14 [INFO] [stdout] | [INFO] [stdout] 2133 | assert_eq!(Assets::balance(2, pool_1), liquidity2); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2134:14 [INFO] [stdout] | [INFO] [stdout] 2134 | assert_eq!(Balances::balance(&pool_2), liquidity1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2135:14 [INFO] [stdout] | [INFO] [stdout] 2135 | assert_eq!(Assets::balance(3, pool_2), liquidity2); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2139:19 [INFO] [stdout] | [INFO] [stdout] 2139 | let amount_in = AssetConversion::balance_path_from_amount_out( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2204:14 [INFO] [stdout] | [INFO] [stdout] 2204 | assert_eq!(Balances::balance(&pool_1), liquidity1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2205:14 [INFO] [stdout] | [INFO] [stdout] 2205 | assert_eq!(Assets::balance(2, pool_1), liquidity2); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2206:14 [INFO] [stdout] | [INFO] [stdout] 2206 | assert_eq!(Balances::balance(&pool_2), liquidity1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2207:14 [INFO] [stdout] | [INFO] [stdout] 2207 | assert_eq!(Assets::balance(3, pool_2), liquidity2); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2219:14 [INFO] [stdout] | [INFO] [stdout] 2219 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2220:4 [INFO] [stdout] | [INFO] [stdout] 2220 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2226:14 [INFO] [stdout] | [INFO] [stdout] 2226 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2226:42 [INFO] [stdout] | [INFO] [stdout] 2226 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2227:14 [INFO] [stdout] | [INFO] [stdout] 2227 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2227:27 [INFO] [stdout] | [INFO] [stdout] 2227 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2232:14 [INFO] [stdout] | [INFO] [stdout] 2232 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2233:4 [INFO] [stdout] | [INFO] [stdout] 2233 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2247:4 [INFO] [stdout] | [INFO] [stdout] 2247 | AssetConversion::get_amount_in(&expected_credit_out.peek(), &liquidity1, &liquidity2) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2272:14 [INFO] [stdout] | [INFO] [stdout] 2272 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2273:4 [INFO] [stdout] | [INFO] [stdout] 2273 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2279:14 [INFO] [stdout] | [INFO] [stdout] 2279 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2279:42 [INFO] [stdout] | [INFO] [stdout] 2279 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2280:14 [INFO] [stdout] | [INFO] [stdout] 2280 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2280:27 [INFO] [stdout] | [INFO] [stdout] 2280 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2282:14 [INFO] [stdout] | [INFO] [stdout] 2282 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user2, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2282:42 [INFO] [stdout] | [INFO] [stdout] 2282 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user2, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2283:14 [INFO] [stdout] | [INFO] [stdout] 2283 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user2, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2283:27 [INFO] [stdout] | [INFO] [stdout] 2283 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user2, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2288:14 [INFO] [stdout] | [INFO] [stdout] 2288 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2289:4 [INFO] [stdout] | [INFO] [stdout] 2289 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2302:4 [INFO] [stdout] | [INFO] [stdout] 2302 | AssetConversion::get_amount_in(&(amount_out_min - 1), &liquidity2, &liquidity1) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2320:4 [INFO] [stdout] | [INFO] [stdout] 2320 | AssetConversion::get_amount_in(&(amount_out - 1), &liquidity2, &liquidity1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2345:14 [INFO] [stdout] | [INFO] [stdout] 2345 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2346:4 [INFO] [stdout] | [INFO] [stdout] 2346 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2352:14 [INFO] [stdout] | [INFO] [stdout] 2352 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2352:42 [INFO] [stdout] | [INFO] [stdout] 2352 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2353:14 [INFO] [stdout] | [INFO] [stdout] 2353 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2353:27 [INFO] [stdout] | [INFO] [stdout] 2353 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2355:14 [INFO] [stdout] | [INFO] [stdout] 2355 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user2, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2355:42 [INFO] [stdout] | [INFO] [stdout] 2355 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user2, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2356:14 [INFO] [stdout] | [INFO] [stdout] 2356 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user2, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2356:27 [INFO] [stdout] | [INFO] [stdout] 2356 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user2, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2361:14 [INFO] [stdout] | [INFO] [stdout] 2361 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2362:4 [INFO] [stdout] | [INFO] [stdout] 2362 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2427:14 [INFO] [stdout] | [INFO] [stdout] 2427 | assert_ok!(AssetConversion::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2428:4 [INFO] [stdout] | [INFO] [stdout] 2428 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2434:14 [INFO] [stdout] | [INFO] [stdout] 2434 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2434:42 [INFO] [stdout] | [INFO] [stdout] 2434 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2435:14 [INFO] [stdout] | [INFO] [stdout] 2435 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2435:27 [INFO] [stdout] | [INFO] [stdout] 2435 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:2437:14 [INFO] [stdout] | [INFO] [stdout] 2437 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user2, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a trait with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2437:42 [INFO] [stdout] | [INFO] [stdout] 2437 | assert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), user2, 20000 + ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:2438:14 [INFO] [stdout] | [INFO] [stdout] 2438 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user2, 1000)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Assets` [INFO] [stdout] | help: a trait with a similar name exists: `AssetId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2438:27 [INFO] [stdout] | [INFO] [stdout] 2438 | assert_ok!(Assets::mint(RuntimeOrigin::signed(user), 2, user2, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssetConversion` [INFO] [stdout] --> src/tests.rs:2443:14 [INFO] [stdout] | [INFO] [stdout] 2443 | assert_ok!(AssetConversion::add_liquidity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `AssetConversion` [INFO] [stdout] | help: a trait with a similar name exists: `AssetConversionApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2444:4 [INFO] [stdout] | [INFO] [stdout] 2444 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-asset-conversion` (lib test) due to 565 previous errors [INFO] running `Command { std: "docker" "inspect" "af1ef874dc3d0650ffe9e0e2e616271f2fcee41a85f10bf29ca70914be15bc28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af1ef874dc3d0650ffe9e0e2e616271f2fcee41a85f10bf29ca70914be15bc28", kill_on_drop: false }` [INFO] [stdout] af1ef874dc3d0650ffe9e0e2e616271f2fcee41a85f10bf29ca70914be15bc28