[INFO] fetching crate pallet-nft-fractionalization 23.0.0... [INFO] testing pallet-nft-fractionalization-23.0.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pallet-nft-fractionalization 23.0.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate pallet-nft-fractionalization 23.0.0 [INFO] finished tweaking crates.io crate pallet-nft-fractionalization 23.0.0 [INFO] tweaked toml for crates.io crate pallet-nft-fractionalization 23.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-nft-fractionalization 23.0.0 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 361 packages to latest compatible versions [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded frame-benchmarking v40.2.0 [INFO] [stderr] Downloaded pallet-nfts v34.1.0 [INFO] [stderr] Downloaded pallet-assets v42.0.0 [INFO] [stderr] Downloaded frame-support-procedural v33.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d16e47b755c1996d35de7698017303af45226ee4a73ca28ace3d054e2d6f96db [INFO] running `Command { std: "docker" "start" "-a" "d16e47b755c1996d35de7698017303af45226ee4a73ca28ace3d054e2d6f96db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d16e47b755c1996d35de7698017303af45226ee4a73ca28ace3d054e2d6f96db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d16e47b755c1996d35de7698017303af45226ee4a73ca28ace3d054e2d6f96db", kill_on_drop: false }` [INFO] [stdout] d16e47b755c1996d35de7698017303af45226ee4a73ca28ace3d054e2d6f96db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 69f2190c12924872a2e38c729a9692c6bf4974c449d42cda6585e6d8c7a3ae71 [INFO] running `Command { std: "docker" "start" "-a" "69f2190c12924872a2e38c729a9692c6bf4974c449d42cda6585e6d8c7a3ae71", kill_on_drop: false }` [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling schnellru v0.2.4 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling trie-db v0.30.0 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling sp-io v40.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proc-macro-warning v1.84.1 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling dyn-clonable v0.9.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [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.9 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling toml v0.8.23 [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 docify_macros v0.2.9 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v22.0.1 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v33.0.1 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-wasm-interface v21.0.1 [INFO] [stderr] Compiling sp-tracing v17.1.0 [INFO] [stderr] Compiling binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling bounded-collections v0.2.4 [INFO] [stderr] Compiling sp-arithmetic v26.1.0 [INFO] [stderr] Compiling frame-metadata v20.0.0 [INFO] [stderr] Compiling linregress v0.5.4 [INFO] [stderr] Compiling sp-metadata-ir v0.10.0 [INFO] [stderr] Compiling sp-runtime-interface v29.0.1 [INFO] [stderr] Compiling sp-weights v31.1.0 [INFO] [stderr] Compiling sp-core v36.1.0 [INFO] [stderr] Compiling sp-trie v39.1.0 [INFO] [stderr] Compiling sp-keystore v0.42.0 [INFO] [stderr] Compiling sp-state-machine v0.45.0 [INFO] [stderr] Compiling sp-application-crypto v40.1.0 [INFO] [stderr] Compiling sp-runtime v41.1.0 [INFO] [stderr] Compiling sp-version v39.0.0 [INFO] [stderr] Compiling sp-inherents v36.0.0 [INFO] [stderr] Compiling sp-staking v38.0.0 [INFO] [stderr] Compiling sp-api v36.0.1 [INFO] [stderr] Compiling sp-genesis-builder v0.17.0 [INFO] [stderr] Compiling frame-support v40.1.0 [INFO] [stderr] Compiling frame-system v40.1.0 [INFO] [stderr] Compiling pallet-nfts v34.1.0 [INFO] [stderr] Compiling pallet-assets v42.0.0 [INFO] [stderr] Compiling frame-benchmarking v40.2.0 [INFO] [stderr] Compiling pallet-nft-fractionalization v23.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: trie-db v0.30.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "69f2190c12924872a2e38c729a9692c6bf4974c449d42cda6585e6d8c7a3ae71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69f2190c12924872a2e38c729a9692c6bf4974c449d42cda6585e6d8c7a3ae71", kill_on_drop: false }` [INFO] [stdout] 69f2190c12924872a2e38c729a9692c6bf4974c449d42cda6585e6d8c7a3ae71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a81ad5dce3da24ed1529f70137076407c97f228b8be41bb870a5bb353c68316a [INFO] running `Command { std: "docker" "start" "-a" "a81ad5dce3da24ed1529f70137076407c97f228b8be41bb870a5bb353c68316a", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-nft-fractionalization v23.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Balances: pallet_balances, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `mock` [INFO] [stdout] --> src/tests.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | if let mock::RuntimeEvent::NftFractionalization(inner) = e { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 35 | 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:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[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-40.1.0/src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[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-40.1.0/src/lib.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[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-40.1.0/src/lib.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[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-40.1.0/src/lib.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/mock.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[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-40.1.0/src/lib.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | 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:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 66 | 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:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | impl pallet_nfts::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:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 95 | 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:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:119:50 [INFO] [stdout] | [INFO] [stdout] 119 | type BlockNumberProvider = frame_system::Pallet; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 94 | impl pallet_nfts::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | impl Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 133 | 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:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/mock.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | type Assets = Assets; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 142 | type Assets = Self::Assets; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Nfts` in this scope [INFO] [stdout] --> src/mock.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | type Nfts = Nfts; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 143 | type Nfts = Self::Nfts; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeHoldReason` in this scope [INFO] [stdout] --> src/mock.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | type RuntimeHoldReason = RuntimeHoldReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 149 | type RuntimeHoldReason = Self::RuntimeHoldReason; [INFO] [stdout] | ++++++ [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:153:33 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) 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:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | let t = frame_system::GenesisConfig::::default().build_storage().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [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:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | let mut ext = sp_io::TestExternalities::new(t); [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]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | ext.execute_with(|| System::set_block_number(1)); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | let mut s: Vec<_> = <::Assets>::asset_ids().collect(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | fn events() -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 37 | fn events() -> Vec> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | let result = System::events() [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[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | fn account(id: u8) -> AccountIdOf { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 57 | fn account(id: u8) -> AccountIdOf { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | let details = NftToAsset::::get((&nft_collection_id, &nft_id)).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | fn fractionalize_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:117:38 [INFO] [stdout] | [INFO] [stdout] 117 | assert!(events().contains(&Event::::NftFractionalized { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | fn fractionalize_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | Error::::NftNotFound [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | fn fractionalize_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | Error::::NoPermission [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | fn fractionalize_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | Error::::NftNotFractionalized [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 187 | fn unify_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | Error::::IncorrectAssetId [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 187 | fn unify_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | assert!(!NftToAsset::::contains_key((&nft_collection_id, &nft_id))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 187 | fn unify_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:264:38 [INFO] [stdout] | [INFO] [stdout] 264 | assert!(events().contains(&Event::::NftUnified { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 187 | fn unify_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate as pallet_nft_fractionalization` [INFO] [stdout] --> src/mock.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate as pallet_nft_fractionalization; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutate as MutateFungible`, `hold::Inspect as InspectHold`, and `metadata::Inspect` [INFO] [stdout] --> src/tests.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | fungible::{hold::Inspect as InspectHold, Mutate as MutateFungible}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | fungibles::{metadata::Inspect, InspectEnumerable}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | Balances::set_balance(&account(1), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | Balances::set_balance(&account(2), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nfts` [INFO] [stdout] --> src/tests.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | assert_ok!(Nfts::force_create( [INFO] [stdout] | ^^^^ use of undeclared type `Nfts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nfts` [INFO] [stdout] --> src/tests.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | assert_ok!(Nfts::mint( [INFO] [stdout] | ^^^^ use of undeclared type `Nfts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | RuntimeOrigin::signed(account(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NftFractionalization` [INFO] [stdout] --> src/tests.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | assert_ok!(NftFractionalization::fractionalize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NftFractionalization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | RuntimeOrigin::signed(account(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(Assets::balance(asset_id, account(2)), fractions); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(Balances::total_balance_on_hold(&account(1)), 2); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(String::from_utf8(Assets::name(0)).unwrap(), "Frac 0-0"); [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.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(String::from_utf8(Assets::symbol(0)).unwrap(), "FRAC"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nfts` [INFO] [stdout] --> src/tests.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(Nfts::owner(nft_collection_id, nft_id), Some(account(1))); [INFO] [stdout] | ^^^^ use of undeclared type `Nfts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nfts` [INFO] [stdout] --> src/tests.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | Nfts::transfer( [INFO] [stdout] | ^^^^ use of undeclared type `Nfts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | RuntimeOrigin::signed(account(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nfts` [INFO] [stdout] --> src/tests.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | Nfts::burn(RuntimeOrigin::signed(account(1)), nft_collection_id, nft_id), [INFO] [stdout] | ^^^^ use of undeclared type `Nfts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | Nfts::burn(RuntimeOrigin::signed(account(1)), nft_collection_id, nft_id), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NftFractionalization` [INFO] [stdout] --> src/tests.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | NftFractionalization::fractionalize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NftFractionalization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | RuntimeOrigin::signed(account(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NftFractionalization` [INFO] [stdout] --> src/tests.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | NftFractionalization::fractionalize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NftFractionalization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | RuntimeOrigin::signed(account(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nfts` [INFO] [stdout] --> src/tests.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | assert_ok!(Nfts::mint( [INFO] [stdout] | ^^^^ use of undeclared type `Nfts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | RuntimeOrigin::signed(account(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NftFractionalization` [INFO] [stdout] --> src/tests.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | NftFractionalization::fractionalize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NftFractionalization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | RuntimeOrigin::signed(account(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:194:3 [INFO] [stdout] | [INFO] [stdout] 194 | Balances::set_balance(&account(1), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:195:3 [INFO] [stdout] | [INFO] [stdout] 195 | Balances::set_balance(&account(2), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nfts` [INFO] [stdout] --> src/tests.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | assert_ok!(Nfts::force_create( [INFO] [stdout] | ^^^^ use of undeclared type `Nfts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nfts` [INFO] [stdout] --> src/tests.rs:202:14 [INFO] [stdout] | [INFO] [stdout] 202 | assert_ok!(Nfts::mint( [INFO] [stdout] | ^^^^ use of undeclared type `Nfts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | RuntimeOrigin::signed(account(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NftFractionalization` [INFO] [stdout] --> src/tests.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | assert_ok!(NftFractionalization::fractionalize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NftFractionalization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | RuntimeOrigin::signed(account(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NftFractionalization` [INFO] [stdout] --> src/tests.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | NftFractionalization::unify( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NftFractionalization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | RuntimeOrigin::signed(account(2)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NftFractionalization` [INFO] [stdout] --> src/tests.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | NftFractionalization::unify( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NftFractionalization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | RuntimeOrigin::signed(account(2)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NftFractionalization` [INFO] [stdout] --> src/tests.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | NftFractionalization::unify( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NftFractionalization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | RuntimeOrigin::signed(account(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NftFractionalization` [INFO] [stdout] --> src/tests.rs:251:14 [INFO] [stdout] | [INFO] [stdout] 251 | assert_ok!(NftFractionalization::unify( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NftFractionalization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | RuntimeOrigin::signed(account(2)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(Assets::balance(asset_id, account(2)), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(Balances::reserved_balance(&account(1)), 1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nfts` [INFO] [stdout] --> src/tests.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(Nfts::owner(nft_collection_id, nft_id), Some(account(1))); [INFO] [stdout] | ^^^^ use of undeclared type `Nfts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NftFractionalization` [INFO] [stdout] --> src/tests.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | assert_ok!(NftFractionalization::fractionalize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NftFractionalization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | RuntimeOrigin::signed(account(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 281 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(account(1)), asset_id, account(2), 1)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:281:31 [INFO] [stdout] | [INFO] [stdout] 281 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(account(1)), asset_id, account(2), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | assert_eq!(Assets::balance(asset_id, account(1)), fractions - 1); [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.rs:283:14 [INFO] [stdout] | [INFO] [stdout] 283 | assert_eq!(Assets::balance(asset_id, account(2)), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NftFractionalization` [INFO] [stdout] --> src/tests.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | NftFractionalization::unify( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NftFractionalization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | RuntimeOrigin::signed(account(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assets` [INFO] [stdout] --> src/tests.rs:295:14 [INFO] [stdout] | [INFO] [stdout] 295 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(account(2)), asset_id, account(1), 1)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:295:31 [INFO] [stdout] | [INFO] [stdout] 295 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(account(2)), asset_id, account(1), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NftFractionalization` [INFO] [stdout] --> src/tests.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | assert_ok!(NftFractionalization::unify( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NftFractionalization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:297:4 [INFO] [stdout] | [INFO] [stdout] 297 | RuntimeOrigin::signed(account(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nfts` [INFO] [stdout] --> src/tests.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | assert_eq!(Nfts::owner(nft_collection_id, nft_id), Some(account(2))); [INFO] [stdout] | ^^^^ use of undeclared type `Nfts` [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:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | 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:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | type AssetBalance = ::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] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-nft-fractionalization` (lib test) due to 99 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a81ad5dce3da24ed1529f70137076407c97f228b8be41bb870a5bb353c68316a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a81ad5dce3da24ed1529f70137076407c97f228b8be41bb870a5bb353c68316a", kill_on_drop: false }` [INFO] [stdout] a81ad5dce3da24ed1529f70137076407c97f228b8be41bb870a5bb353c68316a