[INFO] fetching crate pallet-dex-v2 0.0.5... [INFO] testing pallet-dex-v2-0.0.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pallet-dex-v2 0.0.5 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate pallet-dex-v2 0.0.5 [INFO] finished tweaking crates.io crate pallet-dex-v2 0.0.5 [INFO] tweaked toml for crates.io crate pallet-dex-v2 0.0.5 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-dex-v2 0.0.5 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 438 packages to latest compatible versions [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding frame-benchmarking v31.0.0 (available: v40.2.0) [INFO] [stderr] Adding frame-support v31.0.0 (available: v40.1.0) [INFO] [stderr] Adding frame-system v31.0.0 (available: v40.1.0) [INFO] [stderr] Adding sp-runtime v34.0.0 (available: v41.1.0) [INFO] [stderr] Adding unicode-normalization v0.1.22 (available: v0.1.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-storage v20.0.0 [INFO] [stderr] Downloaded frame-support-procedural-tools v11.0.1 [INFO] [stderr] Downloaded frame-benchmarking v31.0.0 [INFO] [stderr] Downloaded sp-runtime-interface v26.0.0 [INFO] [stderr] Downloaded frame-system v31.0.0 [INFO] [stderr] Downloaded sp-state-machine v0.38.0 [INFO] [stderr] Downloaded sp-core v31.0.0 [INFO] [stderr] Downloaded sp-arithmetic v25.0.0 [INFO] [stderr] Downloaded frame-support-procedural v26.0.1 [INFO] [stderr] Downloaded sp-api-proc-macro v17.0.1 [INFO] [stderr] Downloaded sp-api v29.0.0 [INFO] [stderr] Downloaded sp-staking v29.0.0 [INFO] [stderr] Downloaded sp-version v32.0.0 [INFO] [stderr] Downloaded sp-application-crypto v33.0.0 [INFO] [stderr] Downloaded frame-support v31.0.0 [INFO] [stderr] Downloaded sp-tracing v16.0.0 [INFO] [stderr] Downloaded sp-wasm-interface v20.0.0 [INFO] [stderr] Downloaded substrate-bip39 v0.5.0 [INFO] [stderr] Downloaded sp-trie v32.0.0 [INFO] [stderr] Downloaded sp-weights v30.0.0 [INFO] [stderr] Downloaded sp-runtime v34.0.0 [INFO] [stderr] Downloaded sp-genesis-builder v0.10.0 [INFO] [stderr] Downloaded sp-inherents v29.0.0 [INFO] [stderr] Downloaded sp-metadata-ir v0.6.0 [INFO] [stderr] Downloaded sp-version-proc-macro v13.0.0 [INFO] [stderr] Downloaded sp-keystore v0.37.0 [INFO] [stderr] Downloaded sp-externalities v0.27.0 [INFO] [stderr] Downloaded sp-io v33.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 075182a9d9fb6867599ba320dc42f7ecaf8b3cf59edd9315efd6de003a69e8e6 [INFO] running `Command { std: "docker" "start" "-a" "075182a9d9fb6867599ba320dc42f7ecaf8b3cf59edd9315efd6de003a69e8e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "075182a9d9fb6867599ba320dc42f7ecaf8b3cf59edd9315efd6de003a69e8e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "075182a9d9fb6867599ba320dc42f7ecaf8b3cf59edd9315efd6de003a69e8e6", kill_on_drop: false }` [INFO] [stdout] 075182a9d9fb6867599ba320dc42f7ecaf8b3cf59edd9315efd6de003a69e8e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5fee30e5bd4e1e98fa2a986efe35a6b8a82f25b5b409c7053e6a45b2e98b9c01 [INFO] running `Command { std: "docker" "start" "-a" "5fee30e5bd4e1e98fa2a986efe35a6b8a82f25b5b409c7053e6a45b2e98b9c01", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling rustix v0.36.17 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling wasmtime-runtime v8.0.1 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling wasmtime-jit-debug v8.0.1 [INFO] [stderr] Compiling wasmtime-asm-macros v8.0.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v8.0.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling wasmtime v8.0.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling memfd v0.6.4 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling trie-root v0.18.0 [INFO] [stderr] Compiling memory-db v0.32.0 [INFO] [stderr] Compiling trie-db v0.28.0 [INFO] [stderr] Compiling schnellru v0.2.4 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v33.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling simple-mermaid v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parity-wasm v0.45.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling proc-macro-warning v1.84.1 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling dyn-clonable v0.9.2 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling ed25519-zebra v3.1.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling derive-syn-parse v0.1.5 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling cranelift-entity v0.95.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling wasmparser v0.102.0 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling object v0.30.4 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling substrate-bip39 v0.5.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling frame-support-procedural-tools v11.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling sp-api-proc-macro v17.0.1 [INFO] [stderr] Compiling frame-support-procedural v26.0.1 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling wasmtime-types v8.0.1 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling wasmtime-environ v8.0.1 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling sp-storage v20.0.0 [INFO] [stderr] Compiling sp-tracing v16.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v13.0.0 [INFO] [stderr] Compiling sp-externalities v0.27.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling bounded-collections v0.2.4 [INFO] [stderr] Compiling sp-arithmetic v25.0.0 [INFO] [stderr] Compiling frame-metadata v16.0.0 [INFO] [stderr] Compiling wasmtime-jit v8.0.1 [INFO] [stderr] Compiling sp-metadata-ir v0.6.0 [INFO] [stderr] Compiling sp-weights v30.0.0 [INFO] [stderr] Compiling sp-wasm-interface v20.0.0 [INFO] [stderr] Compiling sp-runtime-interface v26.0.0 [INFO] [stderr] Compiling sp-core v31.0.0 [INFO] [stderr] Compiling sp-trie v32.0.0 [INFO] [stderr] Compiling sp-keystore v0.37.0 [INFO] [stderr] Compiling sp-state-machine v0.38.0 [INFO] [stderr] Compiling sp-application-crypto v33.0.0 [INFO] [stderr] Compiling sp-runtime v34.0.0 [INFO] [stderr] Compiling sp-version v32.0.0 [INFO] [stderr] Compiling sp-staking v29.0.0 [INFO] [stderr] Compiling sp-inherents v29.0.0 [INFO] [stderr] Compiling sp-api v29.0.0 [INFO] [stderr] Compiling sp-genesis-builder v0.10.0 [INFO] [stderr] Compiling frame-support v31.0.0 [INFO] [stderr] Compiling frame-system v31.0.0 [INFO] [stderr] Compiling pallet-dex-v2 v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pallet::*` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pallet::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: trie-db v0.28.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5fee30e5bd4e1e98fa2a986efe35a6b8a82f25b5b409c7053e6a45b2e98b9c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fee30e5bd4e1e98fa2a986efe35a6b8a82f25b5b409c7053e6a45b2e98b9c01", kill_on_drop: false }` [INFO] [stdout] 5fee30e5bd4e1e98fa2a986efe35a6b8a82f25b5b409c7053e6a45b2e98b9c01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a6d0f0020cc4ee2c64cc7d1e458028cb74035823beb9bce25f10f0f04dca9e5b [INFO] running `Command { std: "docker" "start" "-a" "a6d0f0020cc4ee2c64cc7d1e458028cb74035823beb9bce25f10f0f04dca9e5b", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-dex-v2 v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pallet::*` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pallet::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/mock.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sp_core::H256; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `sp_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_core`, use `cargo add sp_core` 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:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | Assets: pallet_assets, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | 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] 18 | 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:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | type RuntimeOrigin = RuntimeOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 38 | type RuntimeOrigin = Self::RuntimeOrigin; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 39 | type RuntimeCall = Self::RuntimeCall; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 46 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | type PalletInfo = PalletInfo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-31.0.0/src/lib.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct PalletId(pub [u8; 8]); [INFO] [stdout] | ------------------- similarly named struct `PalletId` defined here [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 49 | type PalletInfo = Self::PalletInfo; [INFO] [stdout] | ++++++ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 49 - type PalletInfo = PalletInfo; [INFO] [stdout] 49 + type PalletInfo = PalletId; [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-31.0.0/src/lib.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301| 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:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | impl pallet_balances::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:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | type AccountStore = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | 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:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | 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:81:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub type Balance = u128; [INFO] [stdout] | ------------------------ similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 81 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | impl pallet_dex::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:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 99 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 19 | pub type Balance = u128; [INFO] [stdout] | ------------------------ similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 100 | type NativeBalance = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/mock.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | type Fungibles = Assets; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> src/mock.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_io`, use `cargo add sp_io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 107 | frame_system::GenesisConfig::::default() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 106 | pub 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/tests/create_liquidity_pool.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | let account: AccountIdOf = 4; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_create_liquidity_pool() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | let pool = Pallet::::create_liquidity_pool(origin.into(), asset_a, asset_b, liquidity_token).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_create_liquidity_pool() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | let pool = LiquidityPools::::get(pool_pair).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_create_liquidity_pool() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:27:49 [INFO] [stdout] | [INFO] [stdout] 27 | let liquidity_token = LiquidityTokens::::get(liquidity_token); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_create_liquidity_pool() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | let account: AccountIdOf = 4; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 34 | fn test_should_not_create_liquidity_pool_with_same_assets() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | let _ = Pallet::::create_liquidity_pool(origin.clone().into(), asset_a, asset_b, liquidity_token); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 34 | fn test_should_not_create_liquidity_pool_with_same_assets() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | let result = Pallet::::create_liquidity_pool(origin.into(), asset_a, asset_b, liquidity_token); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 34 | fn test_should_not_create_liquidity_pool_with_same_assets() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | assert_noop!(result, Error::::LiquidityPoolAlreadyExists); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 34 | fn test_should_not_create_liquidity_pool_with_same_assets() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | let account: AccountIdOf = 4; [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 ensure_only_signed_origin_can_create_liquidity_pool() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | let result = Pallet::::create_liquidity_pool(origin.into(), asset_a, asset_b, liquidity_token); [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 ensure_only_signed_origin_can_create_liquidity_pool() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | let account: AccountIdOf = 4; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 68 | fn ensure_event_was_emitted_on_pool_creation() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | let _ = Pallet::::create_liquidity_pool(origin.into(), asset_a, asset_b, liquidity_token); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 68 | fn ensure_event_was_emitted_on_pool_creation() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | assert!(System::events().iter().any(|a| a.event == RuntimeEvent::Dex(event.clone()))); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | let account: AccountIdOf = 4; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 88 | fn should_not_be_able_to_create_a_pair_twice_1() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | let _ = Pallet::::create_liquidity_pool(origin.clone().into(), asset_a, asset_b, liquidity_token); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 88 | fn should_not_be_able_to_create_a_pair_twice_1() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:98:31 [INFO] [stdout] | [INFO] [stdout] 98 | let result = Pallet::::create_liquidity_pool(origin.clone().into(), asset_a, asset_b, liquidity_token); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 88 | fn should_not_be_able_to_create_a_pair_twice_1() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | assert_noop!(result, Error::::LiquidityPoolAlreadyExists); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 88 | fn should_not_be_able_to_create_a_pair_twice_1() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | let account: AccountIdOf = 4; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 106 | fn should_not_be_able_to_create_a_pair_twice_2() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | let _ = Pallet::::create_liquidity_pool(origin.clone().into(), asset_a, asset_b, liquidity_token); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 106 | fn should_not_be_able_to_create_a_pair_twice_2() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | let result = Pallet::::create_liquidity_pool(origin.clone().into(), asset_b, asset_a, liquidity_token); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 106 | fn should_not_be_able_to_create_a_pair_twice_2() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | assert_noop!(result, Error::::LiquidityPoolAlreadyExists); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 106 | fn should_not_be_able_to_create_a_pair_twice_2() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mint_liquidity.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | let account: AccountIdOf = 4; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | Pallet::::create_liquidity_pool(origin.clone().into(), asset_a, asset_b, liquidity_token).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | let mut pool = LiquidityPools::::get(pool_pair).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | Pallet::::mint_liquidity( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | pool = LiquidityPools::::get(pool_pair).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mint_liquidity.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | let account: AccountIdOf = 4; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 65 | fn test_test_only_signed_origin_can_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | Pallet::::create_liquidity_pool(origin.clone().into(), asset_a, asset_b, liquidity_token).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 65 | fn test_test_only_signed_origin_can_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | let mut pool = LiquidityPools::::get(pool_pair).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 65 | fn test_test_only_signed_origin_can_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | let result = Pallet::::mint_liquidity( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 65 | fn test_test_only_signed_origin_can_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mint_liquidity.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | let account: AccountIdOf = 4; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn test_should_mint_liquidity_even_with_switched_pair() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | Pallet::::create_liquidity_pool(origin.clone().into(), asset_a, asset_b, liquidity_token).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn test_should_mint_liquidity_even_with_switched_pair() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:140:41 [INFO] [stdout] | [INFO] [stdout] 140 | let mut pool = LiquidityPools::::get(pool_pair).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn test_should_mint_liquidity_even_with_switched_pair() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | Pallet::::mint_liquidity( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn test_should_mint_liquidity_even_with_switched_pair() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:156:33 [INFO] [stdout] | [INFO] [stdout] 156 | pool = LiquidityPools::::get(pool_pair).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn test_should_mint_liquidity_even_with_switched_pair() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mint_liquidity.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | let account: AccountIdOf = 4; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 168 | fn test_should_mint_liquidity_with_min_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | Pallet::::create_liquidity_pool(origin.clone().into(), asset_a, asset_b, liquidity_token).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 168 | fn test_should_mint_liquidity_with_min_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:197:41 [INFO] [stdout] | [INFO] [stdout] 197 | let mut pool = LiquidityPools::::get(pool_pair).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 168 | fn test_should_mint_liquidity_with_min_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:199:31 [INFO] [stdout] | [INFO] [stdout] 199 | let result = Pallet::::mint_liquidity( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 168 | fn test_should_mint_liquidity_with_min_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:208:38 [INFO] [stdout] | [INFO] [stdout] 208 | assert_noop!(result, 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] 168 | fn test_should_mint_liquidity_with_min_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mint_liquidity.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | let account: AccountIdOf = 4; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 214 | fn test_should_mint_liquidity_with_event_test() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | Pallet::::create_liquidity_pool(origin.clone().into(), asset_a, asset_b, liquidity_token).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 214 | fn test_should_mint_liquidity_with_event_test() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:243:41 [INFO] [stdout] | [INFO] [stdout] 243 | let mut pool = LiquidityPools::::get(pool_pair).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 214 | fn test_should_mint_liquidity_with_event_test() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mint_liquidity.rs:245:31 [INFO] [stdout] | [INFO] [stdout] 245 | let result = Pallet::::mint_liquidity( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 214 | fn test_should_mint_liquidity_with_event_test() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mint_liquidity.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | assert!(System::events().iter().any(|a| a.event == RuntimeEvent::Dex(event.clone()))); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/burn_liquidity.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/burn_liquidity.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | let account: AccountIdOf = 4; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/burn_liquidity.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | Pallet::::create_liquidity_pool(origin.clone().into(), asset_a, asset_b, liquidity_token).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/burn_liquidity.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | let mut pool = LiquidityPools::::get(pool_pair).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/burn_liquidity.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | Pallet::::mint_liquidity( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/burn_liquidity.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | pool = LiquidityPools::::get(pool_pair).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/burn_liquidity.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | Pallet::::burn_liquidity(origin.into(), asset_a, asset_b, 50, 0, 0).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/burn_liquidity.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | pool = LiquidityPools::::get(pool_pair).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_should_mint_liquidity() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/swap.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 1 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/swap.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | let account: AccountIdOf = 4; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_swap() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/swap.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | Pallet::::create_liquidity_pool(origin.clone().into(), asset_a, asset_b, liquidity_token).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_swap() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/swap.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | let mut pool = LiquidityPools::::get(pool_pair).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_swap() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/swap.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | Pallet::::mint_liquidity( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_swap() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/swap.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | pool = LiquidityPools::::get(pool_pair).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_swap() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/swap.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | Pallet::::swap(origin.into(), asset_a, asset_b, 10, 0).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_swap() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/swap.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | pool = LiquidityPools::::get(pool_pair).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn test_swap() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pallet::*` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pallet::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | 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_balances` [INFO] [stdout] --> src/mock.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | impl pallet_balances::Config for Test { [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:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | 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 undeclared type `RuntimeEvent` [INFO] [stdout] --> src/tests/create_liquidity_pool.rs:83:60 [INFO] [stdout] | [INFO] [stdout] 83 | assert!(System::events().iter().any(|a| a.event == RuntimeEvent::Dex(event.clone()))); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Assets::force_create(force_origin.clone().into(), asset_a.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Assets::force_create(force_origin.clone().into(), asset_b.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Assets::force_create(force_origin.clone().into(), liquidity_token.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Assets::mint(origin.clone().into(), asset_a.into(), account, 1000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Assets::mint(origin.clone().into(), asset_b.into(), account, 1000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | let balance_a = Assets::balance(asset_a, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let balance_b = Assets::balance(asset_b, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let balance_lp = Assets::balance(liquidity_token, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | Assets::force_create(force_origin.clone().into(), asset_a.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | Assets::force_create(force_origin.clone().into(), asset_b.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | Assets::force_create(force_origin.clone().into(), liquidity_token.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | Assets::mint(origin.clone().into(), asset_a.into(), account, 1000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Assets::mint(origin.clone().into(), asset_b.into(), account, 1000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | Assets::force_create(force_origin.clone().into(), asset_a.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | Assets::force_create(force_origin.clone().into(), asset_b.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | Assets::force_create(force_origin.clone().into(), liquidity_token.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | Assets::mint(origin.clone().into(), asset_a.into(), account, 1000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Assets::mint(origin.clone().into(), asset_b.into(), account, 1000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | let balance_a = Assets::balance(asset_a, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | let balance_b = Assets::balance(asset_b, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | let balance_lp = Assets::balance(liquidity_token, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | Assets::force_create(force_origin.clone().into(), asset_a.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | Assets::force_create(force_origin.clone().into(), asset_b.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | Assets::force_create(force_origin.clone().into(), liquidity_token.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | Assets::mint(origin.clone().into(), asset_a.into(), account, 1000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | Assets::mint(origin.clone().into(), asset_b.into(), account, 1000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | Assets::force_create(force_origin.clone().into(), asset_a.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | Assets::force_create(force_origin.clone().into(), asset_b.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | Assets::force_create(force_origin.clone().into(), liquidity_token.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | Assets::mint(origin.clone().into(), asset_a.into(), account, 1000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/mint_liquidity.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | Assets::mint(origin.clone().into(), asset_b.into(), account, 1000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent` [INFO] [stdout] --> src/tests/mint_liquidity.rs:255:60 [INFO] [stdout] | [INFO] [stdout] 255 | assert!(System::events().iter().any(|a| a.event == RuntimeEvent::Dex(event.clone()))); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/burn_liquidity.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Assets::force_create(force_origin.clone().into(), asset_a.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/burn_liquidity.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Assets::force_create(force_origin.clone().into(), asset_b.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/burn_liquidity.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Assets::force_create(force_origin.clone().into(), liquidity_token.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/burn_liquidity.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Assets::mint(origin.clone().into(), asset_a.into(), account, 1000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/burn_liquidity.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Assets::mint(origin.clone().into(), asset_b.into(), account, 1000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/burn_liquidity.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | let balance_a = Assets::balance(asset_a, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/burn_liquidity.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let balance_b = Assets::balance(asset_b, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/burn_liquidity.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let balance_lp = Assets::balance(liquidity_token, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/burn_liquidity.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | let balance_a = Assets::balance(asset_a, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/burn_liquidity.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | let balance_b = Assets::balance(asset_b, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/burn_liquidity.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | let balance_lp = Assets::balance(liquidity_token, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/swap.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Assets::force_create(force_origin.clone().into(), asset_a.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/swap.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Assets::force_create(force_origin.clone().into(), asset_b.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/swap.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Assets::force_create(force_origin.clone().into(), liquidity_token.into(), account, true, 1).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/swap.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Assets::mint(origin.clone().into(), asset_a.into(), account, 1000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/swap.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Assets::mint(origin.clone().into(), asset_b.into(), account, 1000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/swap.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | let balance_a = Assets::balance(asset_a, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/swap.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let balance_b = Assets::balance(asset_b, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/swap.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let balance_lp = Assets::balance(liquidity_token, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/swap.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | let balance_a = Assets::balance(asset_a, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/swap.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | let balance_b = Assets::balance(asset_b, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests/swap.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | let balance_lp = Assets::balance(liquidity_token, account); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-dex-v2` (lib test) due to 151 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a6d0f0020cc4ee2c64cc7d1e458028cb74035823beb9bce25f10f0f04dca9e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6d0f0020cc4ee2c64cc7d1e458028cb74035823beb9bce25f10f0f04dca9e5b", kill_on_drop: false }` [INFO] [stdout] a6d0f0020cc4ee2c64cc7d1e458028cb74035823beb9bce25f10f0f04dca9e5b