[INFO] fetching crate pallet-assets-holder 0.9.0... [INFO] testing pallet-assets-holder-0.9.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate pallet-assets-holder 0.9.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate pallet-assets-holder 0.9.0 [INFO] finished tweaking crates.io crate pallet-assets-holder 0.9.0 [INFO] tweaked toml for crates.io crate pallet-assets-holder 0.9.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-assets-holder 0.9.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-assets-holder 0.9.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a15a66bf0d408d81ed6f8d2f470ddc0420ec1f93f0592bc864954f0fe9de4151 [INFO] running `Command { std: "docker" "start" "-a" "a15a66bf0d408d81ed6f8d2f470ddc0420ec1f93f0592bc864954f0fe9de4151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a15a66bf0d408d81ed6f8d2f470ddc0420ec1f93f0592bc864954f0fe9de4151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a15a66bf0d408d81ed6f8d2f470ddc0420ec1f93f0592bc864954f0fe9de4151", kill_on_drop: false }` [INFO] [stdout] a15a66bf0d408d81ed6f8d2f470ddc0420ec1f93f0592bc864954f0fe9de4151 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afb13d85018ca4cb61be76a5c8962bcaff28ee8bf4d2223fd4949a702103589c [INFO] running `Command { std: "docker" "start" "-a" "afb13d85018ca4cb61be76a5c8962bcaff28ee8bf4d2223fd4949a702103589c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [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.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling sp-debug-derive v15.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling strum_macros v0.26.4 [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 aquamarine v0.5.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.5.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ed25519 v2.2.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling spki v0.7.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [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] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Compiling bip39 v2.2.0 [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 ecdsa v0.16.8 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling substrate-bip39 v0.6.1 [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 v21.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v27.0.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling sp-storage v23.0.0 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-tracing v19.0.0 [INFO] [stderr] Compiling sp-wasm-interface v24.0.0 [INFO] [stderr] Compiling binary-merkle-tree v16.1.1 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v37.0.0 [INFO] [stderr] Compiling sp-externalities v0.32.0 [INFO] [stderr] Compiling sp-runtime-interface v34.0.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.17.7 [INFO] [stderr] Compiling bounded-collections v0.3.2 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling sp-arithmetic v28.0.1 [INFO] [stderr] Compiling frame-metadata v23.0.1 [INFO] [stderr] Compiling sp-metadata-ir v0.12.3 [INFO] [stderr] Compiling sp-core v40.0.0 [INFO] [stderr] Compiling sp-weights v34.0.0 [INFO] [stderr] Compiling sp-trie v43.0.0 [INFO] [stderr] Compiling sp-keystore v0.46.0 [INFO] [stderr] Compiling sp-state-machine v0.50.0 [INFO] [stderr] Compiling sp-io v45.0.0 [INFO] [stderr] Compiling sp-application-crypto v45.0.0 [INFO] [stderr] Compiling sp-runtime v46.0.0 [INFO] [stderr] Compiling sp-version v44.0.0 [INFO] [stderr] Compiling sp-inherents v41.0.0 [INFO] [stderr] Compiling sp-staking v43.0.0 [INFO] [stderr] Compiling sp-api v41.0.0 [INFO] [stderr] Compiling sp-genesis-builder v0.22.0 [INFO] [stderr] Compiling frame-support v46.0.0 [INFO] [stderr] Compiling frame-system v46.0.0 [INFO] [stderr] Compiling pallet-assets v49.0.0 [INFO] [stderr] Compiling pallet-assets-holder v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 51s [INFO] running `Command { std: "docker" "inspect" "afb13d85018ca4cb61be76a5c8962bcaff28ee8bf4d2223fd4949a702103589c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afb13d85018ca4cb61be76a5c8962bcaff28ee8bf4d2223fd4949a702103589c", kill_on_drop: false }` [INFO] [stdout] afb13d85018ca4cb61be76a5c8962bcaff28ee8bf4d2223fd4949a702103589c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd417409b39cbcfc1fb480f0ecb32bdb6f7d321c05a0c087d2bd26f1fc8668bd [INFO] running `Command { std: "docker" "start" "-a" "dd417409b39cbcfc1fb480f0ecb32bdb6f7d321c05a0c087d2bd26f1fc8668bd", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-assets-holder v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/mock.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig as pallet_balances::DefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/mock.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | pub type Balances = pallet_balances; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | pub type AccountId = ::AccountId; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | pub type Balance = ::Balance; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | pub type AssetId = ::AssetId; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | 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] 30 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: 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[E0425]: 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-46.0.0/src/lib.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: 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-46.0.0/src/lib.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: 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-46.0.0/src/lib.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: 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-46.0.0/src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | 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[E0425]: 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-46.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | impl pallet_assets::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 28 | pub type Balance = ::Balance; [INFO] [stdout] | -------------------------------------------------------------- similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 72 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 72 - type Currency = Balances; [INFO] [stdout] 72 + type Currency = Balance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/mock.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | type Holder = AssetsHolder; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive_impl(pallet_assets::config_preludes::TestDefaultConfig as pallet_assets::DefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pallet_assets::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/pallet-assets-49.0.0/src/lib.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | impl Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 103 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sp_io` in this scope [INFO] [stdout] --> src/mock.rs:106:48 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new_test_ext(execute: impl FnOnce()) -> 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[E0422]: cannot find struct, variant or union type `RuntimeGenesisConfig` in this scope [INFO] [stdout] --> src/mock.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | let t = RuntimeGenesisConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sp_io` in this scope [INFO] [stdout] --> src/mock.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 120 | let mut ext: sp_io::TestExternalities = t.into(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_io`, use `cargo add sp_io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | 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[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | >::balance_on_hold(ASSET_ID, &WHO), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | >::balance_on_hold(ASSET_ID, &WHO), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | >::balance_on_hold(ASSET_ID, &WHO), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | >::balance_on_hold(ASSET_ID, &WHO), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | >::balance_on_hold(ASSET_ID, &WHO), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | >::balance_on_hold(ASSET_ID, &WHO), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | assert!(BalancesOnHold::::get(ASSET_ID, WHO).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn died_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | assert!(Holds::::get(ASSET_ID, WHO).is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 89 | fn died_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | >::balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:135:6 [INFO] [stdout] | [INFO] [stdout] 135 | >::balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:144:6 [INFO] [stdout] | [INFO] [stdout] 144 | >::balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:153:6 [INFO] [stdout] | [INFO] [stdout] 153 | >::balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:164:6 [INFO] [stdout] | [INFO] [stdout] 164 | >::balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:173:6 [INFO] [stdout] | [INFO] [stdout] 173 | >::balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | assert_eq!(Holds::::get(ASSET_ID, WHO).to_vec(), vec![]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_on_hold_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(BalancesOnHold::::get(ASSET_ID, WHO), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_on_hold_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | Holds::::get(ASSET_ID, WHO).to_vec(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_on_hold_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | assert_eq!(BalancesOnHold::::get(ASSET_ID, WHO), Some(1)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_on_hold_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | Holds::::get(ASSET_ID, WHO).to_vec(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_on_hold_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | assert_eq!(BalancesOnHold::::get(ASSET_ID, WHO), Some(3)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_on_hold_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | Holds::::get(ASSET_ID, WHO).to_vec(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_on_hold_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:236:32 [INFO] [stdout] | [INFO] [stdout] 236 | assert_eq!(BalancesOnHold::::get(ASSET_ID, WHO), Some(5)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_on_hold_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | Holds::::get(ASSET_ID, WHO).to_vec(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_on_hold_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:260:32 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(BalancesOnHold::::get(ASSET_ID, WHO), Some(4)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_on_hold_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | Holds::::get(ASSET_ID, WHO).to_vec(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_on_hold_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:272:32 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(BalancesOnHold::::get(ASSET_ID, WHO), Some(1)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_on_hold_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:280:23 [INFO] [stdout] | [INFO] [stdout] 280 | assert_eq!(Holds::::get(ASSET_ID, WHO).to_vec(), vec![]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_on_hold_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:281:32 [INFO] [stdout] | [INFO] [stdout] 281 | assert_eq!(BalancesOnHold::::get(ASSET_ID, WHO), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_on_hold_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:309:6 [INFO] [stdout] | [INFO] [stdout] 309 | >::balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:329:6 [INFO] [stdout] | [INFO] [stdout] 329 | >::balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:344:6 [INFO] [stdout] | [INFO] [stdout] 344 | >::balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sp_io` in this scope [INFO] [stdout] --> src/tests.rs:356:23 [INFO] [stdout] | [INFO] [stdout] 356 | 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[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:376:6 [INFO] [stdout] | [INFO] [stdout] 376 | >::balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:397:6 [INFO] [stdout] | [INFO] [stdout] 397 | >::balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:503:4 [INFO] [stdout] | [INFO] [stdout] 503 | System::assert_has_event( [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 287 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:504:13 [INFO] [stdout] | [INFO] [stdout] 504 | Event::::Held { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 501 | fn done_held_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:525:4 [INFO] [stdout] | [INFO] [stdout] 525 | System::assert_has_event( [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 287 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | Event::::Released { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 516 | fn done_release_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:547:4 [INFO] [stdout] | [INFO] [stdout] 547 | System::assert_has_event( [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 287 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:548:13 [INFO] [stdout] | [INFO] [stdout] 548 | Event::::Burned { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 538 | fn done_burn_held_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Inspect`, `MutateHold`, and `UnbalancedHold` [INFO] [stdout] --> src/tests.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | traits::tokens::fungibles::{Inspect, InspectHold, MutateHold, UnbalancedHold}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/mock.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | frame_support::assert_ok!(AssetsHolder::do_try_state()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | assert_ok!(AssetsHolder::set_balance_on_hold(ASSET_ID, &id, &WHO, amount)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | assert_ok!(AssetsHolder::set_balance_on_hold(ASSET_ID, &id, &WHO, 0)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | AssetsHolder::died(ASSET_ID, &WHO); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | AssetsHolder::died(ASSET_ID, &WHO); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | assert_eq!(AssetsHolder::total_balance_on_hold(ASSET_ID, &WHO), 0u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(AssetsHolder::total_balance_on_hold(ASSET_ID, &WHO), 1u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | assert_eq!(AssetsHolder::total_balance_on_hold(ASSET_ID, &WHO), 4u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(AssetsHolder::total_balance_on_hold(ASSET_ID, &WHO), 5u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | assert_eq!(AssetsHolder::total_balance_on_hold(ASSET_ID, &WHO), 3u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(AssetsHolder::total_balance_on_hold(ASSET_ID, &WHO), 0u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | assert_ok!(AssetsHolder::set_balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:211:15 [INFO] [stdout] | [INFO] [stdout] 211 | assert_ok!(AssetsHolder::set_balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | assert_ok!(AssetsHolder::set_balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:247:15 [INFO] [stdout] | [INFO] [stdout] 247 | assert_ok!(AssetsHolder::set_balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:262:15 [INFO] [stdout] | [INFO] [stdout] 262 | assert_ok!(AssetsHolder::set_balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:274:15 [INFO] [stdout] | [INFO] [stdout] 274 | assert_ok!(AssetsHolder::set_balance_on_hold( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:296:15 [INFO] [stdout] | [INFO] [stdout] 296 | assert_ok!(AssetsHolder::hold(ASSET_ID, &DummyHoldReason::Governance, &WHO, 10)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:297:15 [INFO] [stdout] | [INFO] [stdout] 297 | assert_eq!(Assets::balance(ASSET_ID, &WHO), 90); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 297 - assert_eq!(Assets::balance(ASSET_ID, &WHO), 90); [INFO] [stdout] 297 + assert_eq!(AssetId::balance(ASSET_ID, &WHO), 90); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | Assets::reducible_balance( [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 300 - Assets::reducible_balance( [INFO] [stdout] 300 + AssetId::reducible_balance( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:316:15 [INFO] [stdout] | [INFO] [stdout] 316 | assert_eq!(AssetsHolder::total_balance_on_hold(ASSET_ID, &WHO), 10); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:318:15 [INFO] [stdout] | [INFO] [stdout] 318 | assert_eq!(Assets::total_balance(ASSET_ID, &WHO), 100); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 318 - assert_eq!(Assets::total_balance(ASSET_ID, &WHO), 100); [INFO] [stdout] 318 + assert_eq!(AssetId::total_balance(ASSET_ID, &WHO), 100); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:320:15 [INFO] [stdout] | [INFO] [stdout] 320 | assert_eq!(Assets::total_issuance(ASSET_ID), 100); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 320 - assert_eq!(Assets::total_issuance(ASSET_ID), 100); [INFO] [stdout] 320 + assert_eq!(AssetId::total_issuance(ASSET_ID), 100); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:326:15 [INFO] [stdout] | [INFO] [stdout] 326 | assert_ok!(AssetsHolder::hold(ASSET_ID, &DummyHoldReason::Governance, &WHO, 20)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:327:15 [INFO] [stdout] | [INFO] [stdout] 327 | assert_eq!(Assets::balance(ASSET_ID, &WHO), 70); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 327 - assert_eq!(Assets::balance(ASSET_ID, &WHO), 70); [INFO] [stdout] 327 + assert_eq!(AssetId::balance(ASSET_ID, &WHO), 70); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:336:15 [INFO] [stdout] | [INFO] [stdout] 336 | assert_eq!(AssetsHolder::total_balance_on_hold(ASSET_ID, &WHO), 30); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:337:15 [INFO] [stdout] | [INFO] [stdout] 337 | assert_eq!(Assets::total_issuance(ASSET_ID), 100); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 337 - assert_eq!(Assets::total_issuance(ASSET_ID), 100); [INFO] [stdout] 337 + assert_eq!(AssetId::total_issuance(ASSET_ID), 100); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:341:15 [INFO] [stdout] | [INFO] [stdout] 341 | assert_ok!(AssetsHolder::hold(ASSET_ID, &DummyHoldReason::Staking, &WHO, 20)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:342:15 [INFO] [stdout] | [INFO] [stdout] 342 | assert_eq!(Assets::balance(ASSET_ID, &WHO), 50); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 342 - assert_eq!(Assets::balance(ASSET_ID, &WHO), 50); [INFO] [stdout] 342 + assert_eq!(AssetId::balance(ASSET_ID, &WHO), 50); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:351:15 [INFO] [stdout] | [INFO] [stdout] 351 | assert_eq!(AssetsHolder::total_balance_on_hold(ASSET_ID, &WHO), 50); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:352:15 [INFO] [stdout] | [INFO] [stdout] 352 | assert_eq!(Assets::total_issuance(ASSET_ID), 100); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 352 - assert_eq!(Assets::total_issuance(ASSET_ID), 100); [INFO] [stdout] 352 + assert_eq!(AssetId::total_issuance(ASSET_ID), 100); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:358:15 [INFO] [stdout] | [INFO] [stdout] 358 | assert_ok!(AssetsHolder::hold(ASSET_ID, &DummyHoldReason::Governance, &WHO, 30)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:359:15 [INFO] [stdout] | [INFO] [stdout] 359 | assert_ok!(AssetsHolder::hold(ASSET_ID, &DummyHoldReason::Staking, &WHO, 20)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:368:15 [INFO] [stdout] | [INFO] [stdout] 368 | assert_ok!(AssetsHolder::release( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:383:15 [INFO] [stdout] | [INFO] [stdout] 383 | assert_eq!(Assets::balance(ASSET_ID, WHO), 70); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 383 - assert_eq!(Assets::balance(ASSET_ID, WHO), 70); [INFO] [stdout] 383 + assert_eq!(AssetId::balance(ASSET_ID, WHO), 70); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:389:15 [INFO] [stdout] | [INFO] [stdout] 389 | assert_ok!(AssetsHolder::release( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | assert_eq!(Assets::balance(ASSET_ID, WHO), 80); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 404 - assert_eq!(Assets::balance(ASSET_ID, WHO), 80); [INFO] [stdout] 404 + assert_eq!(AssetId::balance(ASSET_ID, WHO), 80); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | AssetsHolder::release( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:426:15 [INFO] [stdout] | [INFO] [stdout] 426 | assert_ok!(AssetsHolder::burn_held( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:434:15 [INFO] [stdout] | [INFO] [stdout] 434 | assert_eq!(Assets::total_balance(ASSET_ID, &WHO), 99); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 434 - assert_eq!(Assets::total_balance(ASSET_ID, &WHO), 99); [INFO] [stdout] 434 + assert_eq!(AssetId::total_balance(ASSET_ID, &WHO), 99); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:435:15 [INFO] [stdout] | [INFO] [stdout] 435 | assert_eq!(Assets::total_issuance(ASSET_ID), 99); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 435 - assert_eq!(Assets::total_issuance(ASSET_ID), 99); [INFO] [stdout] 435 + assert_eq!(AssetId::total_issuance(ASSET_ID), 99); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:441:15 [INFO] [stdout] | [INFO] [stdout] 441 | assert_ok!(AssetsHolder::burn_held( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:449:15 [INFO] [stdout] | [INFO] [stdout] 449 | assert_eq!(AssetsHolder::total_balance_on_hold(ASSET_ID, &WHO), 40); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:450:15 [INFO] [stdout] | [INFO] [stdout] 450 | assert_eq!(Assets::balance(ASSET_ID, WHO), 50); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 450 - assert_eq!(Assets::balance(ASSET_ID, WHO), 50); [INFO] [stdout] 450 + assert_eq!(AssetId::balance(ASSET_ID, WHO), 50); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:456:15 [INFO] [stdout] | [INFO] [stdout] 456 | assert_ok!(AssetsHolder::burn_held( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:464:15 [INFO] [stdout] | [INFO] [stdout] 464 | assert_eq!(AssetsHolder::total_balance_on_hold(ASSET_ID, &WHO), 20); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:465:15 [INFO] [stdout] | [INFO] [stdout] 465 | assert_eq!(Assets::balance(ASSET_ID, WHO), 50); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 465 - assert_eq!(Assets::balance(ASSET_ID, WHO), 50); [INFO] [stdout] 465 + assert_eq!(AssetId::balance(ASSET_ID, WHO), 50); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 471 | AssetsHolder::burn_held( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:488:15 [INFO] [stdout] | [INFO] [stdout] 488 | assert_ok!(AssetsHolder::burn_all_held( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:495:15 [INFO] [stdout] | [INFO] [stdout] 495 | assert_eq!(AssetsHolder::total_balance_on_hold(ASSET_ID, &WHO), 20); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:496:15 [INFO] [stdout] | [INFO] [stdout] 496 | assert_eq!(Assets::balance(ASSET_ID, WHO), 50); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 496 - assert_eq!(Assets::balance(ASSET_ID, WHO), 50); [INFO] [stdout] 496 + assert_eq!(AssetId::balance(ASSET_ID, WHO), 50); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:518:15 [INFO] [stdout] | [INFO] [stdout] 518 | assert_ok!(AssetsHolder::release( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AssetsHolder` in this scope [INFO] [stdout] --> src/tests.rs:540:15 [INFO] [stdout] | [INFO] [stdout] 540 | assert_ok!(AssetsHolder::burn_all_held( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AssetsHolder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/mock.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | pub 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]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/mock.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | 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] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-assets-holder` (lib test) due to 117 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "dd417409b39cbcfc1fb480f0ecb32bdb6f7d321c05a0c087d2bd26f1fc8668bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd417409b39cbcfc1fb480f0ecb32bdb6f7d321c05a0c087d2bd26f1fc8668bd", kill_on_drop: false }` [INFO] [stdout] dd417409b39cbcfc1fb480f0ecb32bdb6f7d321c05a0c087d2bd26f1fc8668bd