[INFO] fetching crate pallet-tips 39.0.0... [INFO] testing pallet-tips-39.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-tips 39.0.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate pallet-tips 39.0.0 [INFO] finished tweaking crates.io crate pallet-tips 39.0.0 [INFO] tweaked toml for crates.io crate pallet-tips 39.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-tips 39.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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 359 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] Downloading crates ... [INFO] [stderr] Downloaded pallet-treasury v39.0.0 [INFO] [stderr] Downloaded pallet-balances v41.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c20481f178ea5d6cb9e47d0ce778c5f17010e9a9da0ba1ff57fb1f42229ced1f [INFO] running `Command { std: "docker" "start" "-a" "c20481f178ea5d6cb9e47d0ce778c5f17010e9a9da0ba1ff57fb1f42229ced1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c20481f178ea5d6cb9e47d0ce778c5f17010e9a9da0ba1ff57fb1f42229ced1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c20481f178ea5d6cb9e47d0ce778c5f17010e9a9da0ba1ff57fb1f42229ced1f", kill_on_drop: false }` [INFO] [stdout] c20481f178ea5d6cb9e47d0ce778c5f17010e9a9da0ba1ff57fb1f42229ced1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b504b9fbdf47e5bba5d024b302eed64e80b7ea590837dbb58a4675a6f5a0ede7 [INFO] running `Command { std: "docker" "start" "-a" "b504b9fbdf47e5bba5d024b302eed64e80b7ea590837dbb58a4675a6f5a0ede7", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling const_format v0.2.34 [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 digest v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling trie-db v0.30.0 [INFO] [stderr] Compiling memory-db v0.32.0 [INFO] [stderr] Compiling trie-root v0.18.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling sp-tracing v17.1.0 [INFO] [stderr] Compiling sp-wasm-interface v21.0.1 [INFO] [stderr] Compiling schnellru v0.2.4 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling sp-io v40.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling bounded-collections v0.2.4 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling sp-arithmetic v26.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling tuplex v0.1.2 [INFO] [stderr] Compiling simple-mermaid v0.1.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling proc-macro-warning v1.84.1 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling sp-runtime-interface v29.0.1 [INFO] [stderr] Compiling sp-core v36.1.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sp-weights v31.1.0 [INFO] [stderr] Compiling frame-metadata v20.0.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parity-wasm v0.45.0 [INFO] [stderr] Compiling sp-api-proc-macro v22.0.1 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling sp-trie v39.1.0 [INFO] [stderr] Compiling sp-keystore v0.42.0 [INFO] [stderr] Compiling sp-metadata-ir v0.10.0 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling sp-state-machine v0.45.0 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling frame-support-procedural v33.0.1 [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-staking v38.0.0 [INFO] [stderr] Compiling sp-inherents v36.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-balances v41.1.0 [INFO] [stderr] Compiling pallet-treasury v39.0.0 [INFO] [stderr] Compiling pallet-tips v39.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 04s [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" "b504b9fbdf47e5bba5d024b302eed64e80b7ea590837dbb58a4675a6f5a0ede7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b504b9fbdf47e5bba5d024b302eed64e80b7ea590837dbb58a4675a6f5a0ede7", kill_on_drop: false }` [INFO] [stdout] b504b9fbdf47e5bba5d024b302eed64e80b7ea590837dbb58a4675a6f5a0ede7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ac8352354d7b075bce8c40ac0b66b1ef649d729f3e1afa8e40b965638d7e6b4f [INFO] running `Command { std: "docker" "start" "-a" "ac8352354d7b075bce8c40ac0b66b1ef649d729f3e1afa8e40b965638d7e6b4f", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-tips v39.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sp_storage` [INFO] [stdout] --> src/tests.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use sp_storage::Storage; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_storage` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_storage`, use `cargo add sp_storage` 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/tests.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | #[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/tests.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Balances: pallet_balances, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | 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] 42 | 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/tests.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | 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/tests.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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/tests.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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/tests.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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/tests.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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] 22 + 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/tests.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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/tests.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | impl pallet_treasury::Config for Test { [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:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | type Currency = pallet_balances::Pallet; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 104 | impl pallet_treasury::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 108 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | type Paymaster = PayFromAccount; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | pub type BalanceOf = pallet_treasury::BalanceOf; [INFO] [stdout] | ----------------------------------------------------------------- similarly named type alias `BalanceOf` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 119 - type Paymaster = PayFromAccount; [INFO] [stdout] 119 + type Paymaster = PayFromAccount; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 104 | impl pallet_treasury::Config for Test { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | type BlockNumberProvider = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + 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:127:45 [INFO] [stdout] | [INFO] [stdout] 127 | impl pallet_treasury::Config for Test { [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:129:42 [INFO] [stdout] | [INFO] [stdout] 129 | type Currency = pallet_balances::Pallet; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 127 | impl pallet_treasury::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 131 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:142:34 [INFO] [stdout] | [INFO] [stdout] 142 | type Paymaster = PayFromAccount; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | pub type BalanceOf = pallet_treasury::BalanceOf; [INFO] [stdout] | ----------------------------------------------------------------- similarly named type alias `BalanceOf` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 142 - type Paymaster = PayFromAccount; [INFO] [stdout] 142 + type Paymaster = PayFromAccount; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 127 | impl pallet_treasury::Config for Test { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | type BlockNumberProvider = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + 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:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | 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/tests.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 162 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | 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/tests.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 175 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RuntimeGenesisConfig` in this scope [INFO] [stdout] --> src/tests.rs:181:42 [INFO] [stdout] | [INFO] [stdout] 181 | let mut ext: sp_io::TestExternalities = RuntimeGenesisConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | 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] 22 + 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:205:29 [INFO] [stdout] | [INFO] [stdout] 205 | fn last_event() -> TipEvent { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 205 | fn last_event() -> TipEvent { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:206:2 [INFO] [stdout] | [INFO] [stdout] 206 | System::events() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + 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:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | Error::::AlreadyKnown [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 228 | fn tip_new_cannot_be_used_twice() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | Error::::AlreadyKnown [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 240 | fn report_awesome_and_tip_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:258:3 [INFO] [stdout] | [INFO] [stdout] 258 | System::set_block_number(2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + 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:277:3 [INFO] [stdout] | [INFO] [stdout] 277 | System::set_block_number(2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + 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:287:3 [INFO] [stdout] | [INFO] [stdout] 287 | 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] 22 + 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:300:77 [INFO] [stdout] | [INFO] [stdout] 300 | assert_noop!(Tips::close_tip(RuntimeOrigin::signed(0), h.into()), Error::::StillOpen); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 285 | fn close_tip_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:306:77 [INFO] [stdout] | [INFO] [stdout] 306 | assert_noop!(Tips::close_tip(RuntimeOrigin::signed(0), h.into()), Error::::Premature); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 285 | fn close_tip_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:308:3 [INFO] [stdout] | [INFO] [stdout] 308 | System::set_block_number(2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + 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:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | Error::::UnknownTip [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 285 | fn close_tip_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:325:3 [INFO] [stdout] | [INFO] [stdout] 325 | 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] 22 + 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:363:73 [INFO] [stdout] | [INFO] [stdout] 363 | assert_noop!(Tips::retract_tip(RuntimeOrigin::signed(10), h), Error::::NotFinder); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 354 | fn retract_tip_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:365:3 [INFO] [stdout] | [INFO] [stdout] 365 | System::set_block_number(2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + 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:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | Error::::UnknownTip [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 354 | fn retract_tip_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:377:72 [INFO] [stdout] | [INFO] [stdout] 377 | assert_noop!(Tips::retract_tip(RuntimeOrigin::signed(0), h), Error::::NotFinder); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 354 | fn retract_tip_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:379:3 [INFO] [stdout] | [INFO] [stdout] 379 | System::set_block_number(2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + 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:382:12 [INFO] [stdout] | [INFO] [stdout] 382 | Error::::UnknownTip [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 354 | fn retract_tip_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:395:3 [INFO] [stdout] | [INFO] [stdout] 395 | System::set_block_number(2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + 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:411:7 [INFO] [stdout] | [INFO] [stdout] 411 | <::MaxTipAmount as Get>::get() + 1 [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:413:12 [INFO] [stdout] | [INFO] [stdout] 413 | Error::::MaxTipAmountExceeded [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 402 | fn tip_large_should_fail() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:431:3 [INFO] [stdout] | [INFO] [stdout] 431 | System::set_block_number(2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + 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:485:24 [INFO] [stdout] | [INFO] [stdout] 485 | (pallet_tips::Tips::::hashed_key_for(hash1), old_tip_finder.encode().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] 438 | fn test_last_reward_migration() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | (pallet_tips::Tips::::hashed_key_for(hash2), old_tip_no_finder.encode().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] 438 | fn test_last_reward_migration() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:492:36 [INFO] [stdout] | [INFO] [stdout] 492 | let module = pallet_tips::Tips::::pallet_prefix(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 438 | fn test_last_reward_migration() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:493:34 [INFO] [stdout] | [INFO] [stdout] 493 | let item = pallet_tips::Tips::::storage_prefix(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 438 | fn test_last_reward_migration() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:498:24 [INFO] [stdout] | [INFO] [stdout] 498 | pallet_tips::Tips::::get(hash1), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 438 | fn test_last_reward_migration() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:512:24 [INFO] [stdout] | [INFO] [stdout] 512 | pallet_tips::Tips::::get(hash2), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 438 | fn test_last_reward_migration() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:542:27 [INFO] [stdout] | [INFO] [stdout] 542 | (pallet_tips::Reasons::::hashed_key_for(hash1), reason1.encode().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] 527 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:543:24 [INFO] [stdout] | [INFO] [stdout] 543 | (pallet_tips::Tips::::hashed_key_for(hash1), tip.encode().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] 527 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:560:40 [INFO] [stdout] | [INFO] [stdout] 560 | crate::migrations::v4::pre_migrate::(old_pallet); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 527 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:561:36 [INFO] [stdout] | [INFO] [stdout] 561 | crate::migrations::v4::migrate::(old_pallet); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 527 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:562:41 [INFO] [stdout] | [INFO] [stdout] 562 | crate::migrations::v4::post_migrate::(old_pallet); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 527 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:576:40 [INFO] [stdout] | [INFO] [stdout] 576 | crate::migrations::v4::pre_migrate::(old_pallet); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 527 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:577:36 [INFO] [stdout] | [INFO] [stdout] 577 | crate::migrations::v4::migrate::(old_pallet); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 527 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:578:41 [INFO] [stdout] | [INFO] [stdout] 578 | crate::migrations::v4::post_migrate::(old_pallet); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 527 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:584:44 [INFO] [stdout] | [INFO] [stdout] 584 | let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 583 | fn genesis_funding_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:586:35 [INFO] [stdout] | [INFO] [stdout] 586 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 583 | fn genesis_funding_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:593:35 [INFO] [stdout] | [INFO] [stdout] 593 | pallet_treasury::GenesisConfig::::default() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 583 | fn genesis_funding_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:616:12 [INFO] [stdout] | [INFO] [stdout] 616 | Error::::AlreadyKnown [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 605 | fn report_awesome_and_tip_works_second_instance() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:627:3 [INFO] [stdout] | [INFO] [stdout] 627 | System::set_block_number(2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + 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:660:23 [INFO] [stdout] | [INFO] [stdout] 660 | pallet_tips::Tips::::insert(hash1, tip); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 638 | fn equal_entries_invariant() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:699:42 [INFO] [stdout] | [INFO] [stdout] 699 | let hash: Vec<_> = pallet_tips::Tips::::iter_keys().collect(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 691 | fn reasons_invariant() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:701:42 [INFO] [stdout] | [INFO] [stdout] 701 | let mut open_tip = pallet_tips::Tips::::take(hash[0]).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 691 | fn reasons_invariant() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:704:22 [INFO] [stdout] | [INFO] [stdout] 704 | open_tip.reason = ::Hashing::hash(&b"".to_vec()); [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:706:23 [INFO] [stdout] | [INFO] [stdout] 706 | pallet_tips::Tips::::insert(hash[0], open_tip); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 691 | fn reasons_invariant() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | pub TreasuryAccount: u128 = Treasury::account_id(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury1` [INFO] [stdout] --> src/tests.rs:101:39 [INFO] [stdout] | [INFO] [stdout] 101 | pub TreasuryInstance1Account: u128 = Treasury1::account_id(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Treasury1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `do_try_state` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | Tips::do_try_state().expect("All invariants must hold after a test"); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is an associated function `try_mutate` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:211:2 [INFO] [stdout] | [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | assert_eq!(Treasury::pot(), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:219:14 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(Treasury::proposal_count(), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:230:3 [INFO] [stdout] | [INFO] [stdout] 230 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:230:35 [INFO] [stdout] | [INFO] [stdout] 230 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip_new` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 231 | assert_ok!(Tips::tip_new(RuntimeOrigin::signed(10), b"awesome.dot".to_vec(), 3, 10)); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip_new`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:231:28 [INFO] [stdout] | [INFO] [stdout] 231 | assert_ok!(Tips::tip_new(RuntimeOrigin::signed(10), b"awesome.dot".to_vec(), 3, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip_new` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | Tips::tip_new(RuntimeOrigin::signed(11), b"awesome.dot".to_vec(), 3, 10), [INFO] [stdout] | ^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip_new`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | Tips::tip_new(RuntimeOrigin::signed(11), b"awesome.dot".to_vec(), 3, 10), [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:242:3 [INFO] [stdout] | [INFO] [stdout] 242 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:242:35 [INFO] [stdout] | [INFO] [stdout] 242 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `report_awesome` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `report_awesome`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:243:35 [INFO] [stdout] | [INFO] [stdout] 243 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 3)); [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:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | assert_eq!(Balances::reserved_balance(0), 12); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | assert_eq!(Balances::free_balance(0), 88); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `report_awesome` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | Tips::report_awesome(RuntimeOrigin::signed(1), b"awesome.dot".to_vec(), 3), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `report_awesome`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:249:25 [INFO] [stdout] | [INFO] [stdout] 249 | Tips::report_awesome(RuntimeOrigin::signed(1), b"awesome.dot".to_vec(), 3), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:254:20 [INFO] [stdout] | [INFO] [stdout] 254 | assert_ok!(Tips::tip(RuntimeOrigin::signed(10), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:254:24 [INFO] [stdout] | [INFO] [stdout] 254 | assert_ok!(Tips::tip(RuntimeOrigin::signed(10), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 255 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:256:24 [INFO] [stdout] | [INFO] [stdout] 256 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | assert_noop!(Tips::tip(RuntimeOrigin::signed(9), h, 10), BadOrigin); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:257:26 [INFO] [stdout] | [INFO] [stdout] 257 | assert_noop!(Tips::tip(RuntimeOrigin::signed(9), h, 10), BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | assert_ok!(Tips::close_tip(RuntimeOrigin::signed(100), h.into())); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `close_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `clone` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/clone.rs:202:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:259:30 [INFO] [stdout] | [INFO] [stdout] 259 | assert_ok!(Tips::close_tip(RuntimeOrigin::signed(100), h.into())); [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:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(Balances::reserved_balance(0), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(Balances::free_balance(0), 102); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | assert_eq!(Balances::free_balance(3), 8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:269:3 [INFO] [stdout] | [INFO] [stdout] 269 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:269:35 [INFO] [stdout] | [INFO] [stdout] 269 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `report_awesome` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `report_awesome`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:270:35 [INFO] [stdout] | [INFO] [stdout] 270 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 0)); [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:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | assert_eq!(Balances::reserved_balance(0), 12); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(Balances::free_balance(0), 88); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 274 | assert_ok!(Tips::tip(RuntimeOrigin::signed(10), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:274:24 [INFO] [stdout] | [INFO] [stdout] 274 | assert_ok!(Tips::tip(RuntimeOrigin::signed(10), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:275:20 [INFO] [stdout] | [INFO] [stdout] 275 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:275:24 [INFO] [stdout] | [INFO] [stdout] 275 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:276:24 [INFO] [stdout] | [INFO] [stdout] 276 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:278:20 [INFO] [stdout] | [INFO] [stdout] 278 | assert_ok!(Tips::close_tip(RuntimeOrigin::signed(100), h.into())); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `close_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `clone` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/clone.rs:202:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | assert_ok!(Tips::close_tip(RuntimeOrigin::signed(100), h.into())); [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:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(Balances::reserved_balance(0), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | assert_eq!(Balances::free_balance(0), 110); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:289:3 [INFO] [stdout] | [INFO] [stdout] 289 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:289:35 [INFO] [stdout] | [INFO] [stdout] 289 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 290 | assert_eq!(Treasury::pot(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip_new` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:292:20 [INFO] [stdout] | [INFO] [stdout] 292 | assert_ok!(Tips::tip_new(RuntimeOrigin::signed(10), b"awesome.dot".to_vec(), 3, 10)); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip_new`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:292:28 [INFO] [stdout] | [INFO] [stdout] 292 | assert_ok!(Tips::tip_new(RuntimeOrigin::signed(10), b"awesome.dot".to_vec(), 3, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:298:20 [INFO] [stdout] | [INFO] [stdout] 298 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:298:24 [INFO] [stdout] | [INFO] [stdout] 298 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:300:22 [INFO] [stdout] | [INFO] [stdout] 300 | assert_noop!(Tips::close_tip(RuntimeOrigin::signed(0), h.into()), Error::::StillOpen); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `close_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `clone` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/clone.rs:202:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:300:32 [INFO] [stdout] | [INFO] [stdout] 300 | assert_noop!(Tips::close_tip(RuntimeOrigin::signed(0), h.into()), Error::::StillOpen); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:302:20 [INFO] [stdout] | [INFO] [stdout] 302 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:302:24 [INFO] [stdout] | [INFO] [stdout] 302 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:306:22 [INFO] [stdout] | [INFO] [stdout] 306 | assert_noop!(Tips::close_tip(RuntimeOrigin::signed(0), h.into()), Error::::Premature); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `close_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `clone` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/clone.rs:202:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:306:32 [INFO] [stdout] | [INFO] [stdout] 306 | assert_noop!(Tips::close_tip(RuntimeOrigin::signed(0), h.into()), Error::::Premature); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:309:22 [INFO] [stdout] | [INFO] [stdout] 309 | assert_noop!(Tips::close_tip(RuntimeOrigin::none(), h.into()), BadOrigin); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `close_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `clone` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/clone.rs:202:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:309:32 [INFO] [stdout] | [INFO] [stdout] 309 | assert_noop!(Tips::close_tip(RuntimeOrigin::none(), h.into()), BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:310:20 [INFO] [stdout] | [INFO] [stdout] 310 | assert_ok!(Tips::close_tip(RuntimeOrigin::signed(0), h.into())); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `close_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `clone` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/clone.rs:202:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:310:30 [INFO] [stdout] | [INFO] [stdout] 310 | assert_ok!(Tips::close_tip(RuntimeOrigin::signed(0), h.into())); [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:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | assert_eq!(Balances::free_balance(3), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:316:10 [INFO] [stdout] | [INFO] [stdout] 316 | Tips::close_tip(RuntimeOrigin::signed(100), h.into()), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `close_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `clone` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/clone.rs:202:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:316:20 [INFO] [stdout] | [INFO] [stdout] 316 | Tips::close_tip(RuntimeOrigin::signed(100), h.into()), [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:326:3 [INFO] [stdout] | [INFO] [stdout] 326 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:326:35 [INFO] [stdout] | [INFO] [stdout] 326 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:327:14 [INFO] [stdout] | [INFO] [stdout] 327 | assert_eq!(Treasury::pot(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:329:14 [INFO] [stdout] | [INFO] [stdout] 329 | assert_eq!(Balances::reserved_balance(0), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:330:14 [INFO] [stdout] | [INFO] [stdout] 330 | assert_eq!(Balances::free_balance(0), 100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `report_awesome` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:332:20 [INFO] [stdout] | [INFO] [stdout] 332 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `report_awesome`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 3)); [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:334:14 [INFO] [stdout] | [INFO] [stdout] 334 | assert_eq!(Balances::reserved_balance(0), 12); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | assert_eq!(Balances::free_balance(0), 88); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `slash_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:341:22 [INFO] [stdout] | [INFO] [stdout] 341 | assert_noop!(Tips::slash_tip(RuntimeOrigin::signed(0), h), BadOrigin); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `slash_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:341:32 [INFO] [stdout] | [INFO] [stdout] 341 | assert_noop!(Tips::slash_tip(RuntimeOrigin::signed(0), h), BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `slash_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:344:20 [INFO] [stdout] | [INFO] [stdout] 344 | assert_ok!(Tips::slash_tip(RuntimeOrigin::root(), h)); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `slash_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:344:30 [INFO] [stdout] | [INFO] [stdout] 344 | assert_ok!(Tips::slash_tip(RuntimeOrigin::root(), h)); [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:348:14 [INFO] [stdout] | [INFO] [stdout] 348 | assert_eq!(Balances::reserved_balance(0), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:349:14 [INFO] [stdout] | [INFO] [stdout] 349 | assert_eq!(Balances::free_balance(0), 88); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:357:3 [INFO] [stdout] | [INFO] [stdout] 357 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:357:35 [INFO] [stdout] | [INFO] [stdout] 357 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `report_awesome` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:358:20 [INFO] [stdout] | [INFO] [stdout] 358 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `report_awesome`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:358:35 [INFO] [stdout] | [INFO] [stdout] 358 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:360:20 [INFO] [stdout] | [INFO] [stdout] 360 | assert_ok!(Tips::tip(RuntimeOrigin::signed(10), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:360:24 [INFO] [stdout] | [INFO] [stdout] 360 | assert_ok!(Tips::tip(RuntimeOrigin::signed(10), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:361:20 [INFO] [stdout] | [INFO] [stdout] 361 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:361:24 [INFO] [stdout] | [INFO] [stdout] 361 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:362:20 [INFO] [stdout] | [INFO] [stdout] 362 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `retract_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:363:22 [INFO] [stdout] | [INFO] [stdout] 363 | assert_noop!(Tips::retract_tip(RuntimeOrigin::signed(10), h), Error::::NotFinder); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `retract_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:363:34 [INFO] [stdout] | [INFO] [stdout] 363 | assert_noop!(Tips::retract_tip(RuntimeOrigin::signed(10), h), Error::::NotFinder); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `retract_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:364:20 [INFO] [stdout] | [INFO] [stdout] 364 | assert_ok!(Tips::retract_tip(RuntimeOrigin::signed(0), h)); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `retract_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:364:32 [INFO] [stdout] | [INFO] [stdout] 364 | assert_ok!(Tips::retract_tip(RuntimeOrigin::signed(0), h)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:367:10 [INFO] [stdout] | [INFO] [stdout] 367 | Tips::close_tip(RuntimeOrigin::signed(0), h.into()), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `close_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `clone` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/clone.rs:202:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:367:20 [INFO] [stdout] | [INFO] [stdout] 367 | Tips::close_tip(RuntimeOrigin::signed(0), h.into()), [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:372:3 [INFO] [stdout] | [INFO] [stdout] 372 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:372:35 [INFO] [stdout] | [INFO] [stdout] 372 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip_new` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | assert_ok!(Tips::tip_new(RuntimeOrigin::signed(10), b"awesome.dot".to_vec(), 3, 10)); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip_new`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:373:28 [INFO] [stdout] | [INFO] [stdout] 373 | assert_ok!(Tips::tip_new(RuntimeOrigin::signed(10), b"awesome.dot".to_vec(), 3, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:375:20 [INFO] [stdout] | [INFO] [stdout] 375 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:375:24 [INFO] [stdout] | [INFO] [stdout] 375 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:376:20 [INFO] [stdout] | [INFO] [stdout] 376 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:376:24 [INFO] [stdout] | [INFO] [stdout] 376 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `retract_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:377:22 [INFO] [stdout] | [INFO] [stdout] 377 | assert_noop!(Tips::retract_tip(RuntimeOrigin::signed(0), h), Error::::NotFinder); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `retract_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:377:34 [INFO] [stdout] | [INFO] [stdout] 377 | assert_noop!(Tips::retract_tip(RuntimeOrigin::signed(0), h), Error::::NotFinder); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `retract_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:378:20 [INFO] [stdout] | [INFO] [stdout] 378 | assert_ok!(Tips::retract_tip(RuntimeOrigin::signed(10), h)); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `retract_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:378:32 [INFO] [stdout] | [INFO] [stdout] 378 | assert_ok!(Tips::retract_tip(RuntimeOrigin::signed(10), h)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:381:10 [INFO] [stdout] | [INFO] [stdout] 381 | Tips::close_tip(RuntimeOrigin::signed(10), h.into()), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `close_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `clone` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/clone.rs:202:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:381:20 [INFO] [stdout] | [INFO] [stdout] 381 | Tips::close_tip(RuntimeOrigin::signed(10), h.into()), [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:390:3 [INFO] [stdout] | [INFO] [stdout] 390 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:390:35 [INFO] [stdout] | [INFO] [stdout] 390 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip_new` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:391:20 [INFO] [stdout] | [INFO] [stdout] 391 | assert_ok!(Tips::tip_new(RuntimeOrigin::signed(10), b"awesome.dot".to_vec(), 3, 0)); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip_new`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | assert_ok!(Tips::tip_new(RuntimeOrigin::signed(10), b"awesome.dot".to_vec(), 3, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:393:20 [INFO] [stdout] | [INFO] [stdout] 393 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:393:24 [INFO] [stdout] | [INFO] [stdout] 393 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:394:20 [INFO] [stdout] | [INFO] [stdout] 394 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 1000000)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:394:24 [INFO] [stdout] | [INFO] [stdout] 394 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 1000000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:396:20 [INFO] [stdout] | [INFO] [stdout] 396 | assert_ok!(Tips::close_tip(RuntimeOrigin::signed(0), h.into())); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `close_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `clone` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/clone.rs:202:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:396:30 [INFO] [stdout] | [INFO] [stdout] 396 | assert_ok!(Tips::close_tip(RuntimeOrigin::signed(0), h.into())); [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:397:14 [INFO] [stdout] | [INFO] [stdout] 397 | assert_eq!(Balances::free_balance(3), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:404:3 [INFO] [stdout] | [INFO] [stdout] 404 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:404:35 [INFO] [stdout] | [INFO] [stdout] 404 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip_new` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:405:20 [INFO] [stdout] | [INFO] [stdout] 405 | assert_ok!(Tips::tip_new(RuntimeOrigin::signed(10), b"awesome.dot".to_vec(), 3, 0)); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip_new`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:405:28 [INFO] [stdout] | [INFO] [stdout] 405 | assert_ok!(Tips::tip_new(RuntimeOrigin::signed(10), b"awesome.dot".to_vec(), 3, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:408:10 [INFO] [stdout] | [INFO] [stdout] 408 | Tips::tip( [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | RuntimeOrigin::signed(12), [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:421:3 [INFO] [stdout] | [INFO] [stdout] 421 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:421:35 [INFO] [stdout] | [INFO] [stdout] 421 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip_new` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 422 | assert_ok!(Tips::tip_new(RuntimeOrigin::signed(10), b"awesome.dot".to_vec(), 3, 10000)); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip_new`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:422:28 [INFO] [stdout] | [INFO] [stdout] 422 | assert_ok!(Tips::tip_new(RuntimeOrigin::signed(10), b"awesome.dot".to_vec(), 3, 10000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:424:20 [INFO] [stdout] | [INFO] [stdout] 424 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 10000)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:424:24 [INFO] [stdout] | [INFO] [stdout] 424 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 10000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:425:20 [INFO] [stdout] | [INFO] [stdout] 425 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 10000)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:425:24 [INFO] [stdout] | [INFO] [stdout] 425 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 10000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:426:20 [INFO] [stdout] | [INFO] [stdout] 426 | assert_ok!(Tips::tip(RuntimeOrigin::signed(13), h, 0)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:426:24 [INFO] [stdout] | [INFO] [stdout] 426 | assert_ok!(Tips::tip(RuntimeOrigin::signed(13), h, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:427:20 [INFO] [stdout] | [INFO] [stdout] 427 | assert_ok!(Tips::tip(RuntimeOrigin::signed(14), h, 0)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:427:24 [INFO] [stdout] | [INFO] [stdout] 427 | assert_ok!(Tips::tip(RuntimeOrigin::signed(14), h, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:428:20 [INFO] [stdout] | [INFO] [stdout] 428 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 1000)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:428:24 [INFO] [stdout] | [INFO] [stdout] 428 | assert_ok!(Tips::tip(RuntimeOrigin::signed(12), h, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:429:20 [INFO] [stdout] | [INFO] [stdout] 429 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 100)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:429:24 [INFO] [stdout] | [INFO] [stdout] 429 | assert_ok!(Tips::tip(RuntimeOrigin::signed(11), h, 100)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:430:20 [INFO] [stdout] | [INFO] [stdout] 430 | assert_ok!(Tips::tip(RuntimeOrigin::signed(10), h, 10)); [INFO] [stdout] | ^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:430:24 [INFO] [stdout] | [INFO] [stdout] 430 | assert_ok!(Tips::tip(RuntimeOrigin::signed(10), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_tip` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:432:20 [INFO] [stdout] | [INFO] [stdout] 432 | assert_ok!(Tips::close_tip(RuntimeOrigin::signed(0), h.into())); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `close_tip`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `clone` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/clone.rs:202:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:432:30 [INFO] [stdout] | [INFO] [stdout] 432 | assert_ok!(Tips::close_tip(RuntimeOrigin::signed(0), h.into())); [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:433:14 [INFO] [stdout] | [INFO] [stdout] 433 | assert_eq!(Balances::free_balance(3), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `migrate_retract_tip_for_tip_new` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | Tips::migrate_retract_tip_for_tip_new(module, item); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Tips` [INFO] [stdout] --> src/tests.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | let new_pallet = ::name(); [INFO] [stdout] | ^^^^ expected at least 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with at least 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:185:11 [INFO] [stdout] | [INFO] [stdout] 185 | pub type Tips, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 553 | let new_pallet = as PalletInfoAccess>::name(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Tips` [INFO] [stdout] --> src/tests.rs:558:32 [INFO] [stdout] | [INFO] [stdout] 558 | StorageVersion::new(0).put::(); [INFO] [stdout] | ^^^^ expected at least 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with at least 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:185:11 [INFO] [stdout] | [INFO] [stdout] 185 | pub type Tips, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 558 | StorageVersion::new(0).put::>(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Tips` [INFO] [stdout] --> src/tests.rs:560:46 [INFO] [stdout] | [INFO] [stdout] 560 | crate::migrations::v4::pre_migrate::(old_pallet); [INFO] [stdout] | ^^^^ expected at least 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with at least 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:185:11 [INFO] [stdout] | [INFO] [stdout] 185 | pub type Tips, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 560 | crate::migrations::v4::pre_migrate::, _>(old_pallet); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Tips` [INFO] [stdout] --> src/tests.rs:561:42 [INFO] [stdout] | [INFO] [stdout] 561 | crate::migrations::v4::migrate::(old_pallet); [INFO] [stdout] | ^^^^ expected at least 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with at least 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:185:11 [INFO] [stdout] | [INFO] [stdout] 185 | pub type Tips, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 561 | crate::migrations::v4::migrate::, _>(old_pallet); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Tips` [INFO] [stdout] --> src/tests.rs:562:47 [INFO] [stdout] | [INFO] [stdout] 562 | crate::migrations::v4::post_migrate::(old_pallet); [INFO] [stdout] | ^^^^ expected at least 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with at least 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:185:11 [INFO] [stdout] | [INFO] [stdout] 185 | pub type Tips, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 562 | crate::migrations::v4::post_migrate::, _>(old_pallet); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Tips` [INFO] [stdout] --> src/tests.rs:569:21 [INFO] [stdout] | [INFO] [stdout] 569 | let new_pallet = ::name(); [INFO] [stdout] | ^^^^ expected at least 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with at least 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:185:11 [INFO] [stdout] | [INFO] [stdout] 185 | pub type Tips, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 569 | let new_pallet = as PalletInfoAccess>::name(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Tips` [INFO] [stdout] --> src/tests.rs:574:32 [INFO] [stdout] | [INFO] [stdout] 574 | StorageVersion::new(0).put::(); [INFO] [stdout] | ^^^^ expected at least 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with at least 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:185:11 [INFO] [stdout] | [INFO] [stdout] 185 | pub type Tips, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 574 | StorageVersion::new(0).put::>(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Tips` [INFO] [stdout] --> src/tests.rs:576:46 [INFO] [stdout] | [INFO] [stdout] 576 | crate::migrations::v4::pre_migrate::(old_pallet); [INFO] [stdout] | ^^^^ expected at least 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with at least 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:185:11 [INFO] [stdout] | [INFO] [stdout] 185 | pub type Tips, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 576 | crate::migrations::v4::pre_migrate::, _>(old_pallet); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Tips` [INFO] [stdout] --> src/tests.rs:577:42 [INFO] [stdout] | [INFO] [stdout] 577 | crate::migrations::v4::migrate::(old_pallet); [INFO] [stdout] | ^^^^ expected at least 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with at least 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:185:11 [INFO] [stdout] | [INFO] [stdout] 185 | pub type Tips, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 577 | crate::migrations::v4::migrate::, _>(old_pallet); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Tips` [INFO] [stdout] --> src/tests.rs:578:47 [INFO] [stdout] | [INFO] [stdout] 578 | crate::migrations::v4::post_migrate::(old_pallet); [INFO] [stdout] | ^^^^ expected at least 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with at least 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:185:11 [INFO] [stdout] | [INFO] [stdout] 185 | pub type Tips, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 578 | crate::migrations::v4::post_migrate::, _>(old_pallet); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:588:29 [INFO] [stdout] | [INFO] [stdout] 588 | balances: vec![(0, 100), (Treasury::account_id(), initial_funding)], [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:599:14 [INFO] [stdout] | [INFO] [stdout] 599 | assert_eq!(Balances::free_balance(Treasury::account_id()), initial_funding); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:599:37 [INFO] [stdout] | [INFO] [stdout] 599 | assert_eq!(Balances::free_balance(Treasury::account_id()), initial_funding); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:600:14 [INFO] [stdout] | [INFO] [stdout] 600 | assert_eq!(Treasury::pot(), initial_funding - Balances::minimum_balance()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:600:49 [INFO] [stdout] | [INFO] [stdout] 600 | assert_eq!(Treasury::pot(), initial_funding - Balances::minimum_balance()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:607:3 [INFO] [stdout] | [INFO] [stdout] 607 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:607:35 [INFO] [stdout] | [INFO] [stdout] 607 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:608:3 [INFO] [stdout] | [INFO] [stdout] 608 | Balances::make_free_balance_be(&Treasury1::account_id(), 201); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury1` [INFO] [stdout] --> src/tests.rs:608:35 [INFO] [stdout] | [INFO] [stdout] 608 | Balances::make_free_balance_be(&Treasury1::account_id(), 201); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Treasury1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:609:14 [INFO] [stdout] | [INFO] [stdout] 609 | assert_eq!(Balances::free_balance(&Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:609:38 [INFO] [stdout] | [INFO] [stdout] 609 | assert_eq!(Balances::free_balance(&Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:610:14 [INFO] [stdout] | [INFO] [stdout] 610 | assert_eq!(Balances::free_balance(&Treasury1::account_id()), 201); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury1` [INFO] [stdout] --> src/tests.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | assert_eq!(Balances::free_balance(&Treasury1::account_id()), 201); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Treasury1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tips1` [INFO] [stdout] --> src/tests.rs:612:14 [INFO] [stdout] | [INFO] [stdout] 612 | assert_ok!(Tips1::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 3)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Tips1` [INFO] [stdout] | help: a type alias with a similar name exists: `Tips` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:612:36 [INFO] [stdout] | [INFO] [stdout] 612 | assert_ok!(Tips1::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tips1` [INFO] [stdout] --> src/tests.rs:615:4 [INFO] [stdout] | [INFO] [stdout] 615 | Tips1::report_awesome(RuntimeOrigin::signed(1), b"awesome.dot".to_vec(), 3), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Tips1` [INFO] [stdout] | help: a type alias with a similar name exists: `Tips` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:615:26 [INFO] [stdout] | [INFO] [stdout] 615 | Tips1::report_awesome(RuntimeOrigin::signed(1), b"awesome.dot".to_vec(), 3), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `report_awesome` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:619:20 [INFO] [stdout] | [INFO] [stdout] 619 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `report_awesome`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:619:35 [INFO] [stdout] | [INFO] [stdout] 619 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tips1` [INFO] [stdout] --> src/tests.rs:622:14 [INFO] [stdout] | [INFO] [stdout] 622 | assert_ok!(Tips1::tip(RuntimeOrigin::signed(10), h, 10)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Tips1` [INFO] [stdout] | help: a type alias with a similar name exists: `Tips` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:622:25 [INFO] [stdout] | [INFO] [stdout] 622 | assert_ok!(Tips1::tip(RuntimeOrigin::signed(10), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tips1` [INFO] [stdout] --> src/tests.rs:623:14 [INFO] [stdout] | [INFO] [stdout] 623 | assert_ok!(Tips1::tip(RuntimeOrigin::signed(11), h, 10)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Tips1` [INFO] [stdout] | help: a type alias with a similar name exists: `Tips` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:623:25 [INFO] [stdout] | [INFO] [stdout] 623 | assert_ok!(Tips1::tip(RuntimeOrigin::signed(11), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tips1` [INFO] [stdout] --> src/tests.rs:624:14 [INFO] [stdout] | [INFO] [stdout] 624 | assert_ok!(Tips1::tip(RuntimeOrigin::signed(12), h, 10)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Tips1` [INFO] [stdout] | help: a type alias with a similar name exists: `Tips` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:624:25 [INFO] [stdout] | [INFO] [stdout] 624 | assert_ok!(Tips1::tip(RuntimeOrigin::signed(12), h, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tips1` [INFO] [stdout] --> src/tests.rs:625:16 [INFO] [stdout] | [INFO] [stdout] 625 | assert_noop!(Tips1::tip(RuntimeOrigin::signed(9), h, 10), BadOrigin); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Tips1` [INFO] [stdout] | help: a type alias with a similar name exists: `Tips` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:625:27 [INFO] [stdout] | [INFO] [stdout] 625 | assert_noop!(Tips1::tip(RuntimeOrigin::signed(9), h, 10), BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tips1` [INFO] [stdout] --> src/tests.rs:629:14 [INFO] [stdout] | [INFO] [stdout] 629 | assert_ok!(Tips1::close_tip(RuntimeOrigin::signed(100), h.into())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Tips1` [INFO] [stdout] | help: a type alias with a similar name exists: `Tips` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:629:31 [INFO] [stdout] | [INFO] [stdout] 629 | assert_ok!(Tips1::close_tip(RuntimeOrigin::signed(100), h.into())); [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:631:14 [INFO] [stdout] | [INFO] [stdout] 631 | assert_eq!(Balances::free_balance(&Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:631:38 [INFO] [stdout] | [INFO] [stdout] 631 | assert_eq!(Balances::free_balance(&Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:633:14 [INFO] [stdout] | [INFO] [stdout] 633 | assert_eq!(Balances::free_balance(&Treasury1::account_id()), 191); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury1` [INFO] [stdout] --> src/tests.rs:633:38 [INFO] [stdout] | [INFO] [stdout] 633 | assert_eq!(Balances::free_balance(&Treasury1::account_id()), 191); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Treasury1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:642:3 [INFO] [stdout] | [INFO] [stdout] 642 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:642:35 [INFO] [stdout] | [INFO] [stdout] 642 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `report_awesome` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:644:20 [INFO] [stdout] | [INFO] [stdout] 644 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `report_awesome`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:644:35 [INFO] [stdout] | [INFO] [stdout] 644 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `do_try_state` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:664:10 [INFO] [stdout] | [INFO] [stdout] 664 | Tips::do_try_state(), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is an associated function `try_mutate` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:211:2 [INFO] [stdout] | [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:678:3 [INFO] [stdout] | [INFO] [stdout] 678 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:678:35 [INFO] [stdout] | [INFO] [stdout] 678 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `report_awesome` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:680:20 [INFO] [stdout] | [INFO] [stdout] 680 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"".to_vec(), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `report_awesome`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:680:35 [INFO] [stdout] | [INFO] [stdout] 680 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"".to_vec(), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `do_try_state` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:684:10 [INFO] [stdout] | [INFO] [stdout] 684 | Tips::do_try_state(), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is an associated function `try_mutate` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:211:2 [INFO] [stdout] | [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:695:3 [INFO] [stdout] | [INFO] [stdout] 695 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:695:35 [INFO] [stdout] | [INFO] [stdout] 695 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `report_awesome` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:697:20 [INFO] [stdout] | [INFO] [stdout] 697 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `report_awesome`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:697:35 [INFO] [stdout] | [INFO] [stdout] 697 | assert_ok!(Tips::report_awesome(RuntimeOrigin::signed(0), b"awesome.dot".to_vec(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `do_try_state` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:709:20 [INFO] [stdout] | [INFO] [stdout] 709 | assert_eq!(Tips::do_try_state(), Err(Other("no reason for this tip"))); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is an associated function `try_mutate` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:211:2 [INFO] [stdout] | [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `integrity_test` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:718:9 [INFO] [stdout] | [INFO] [stdout] 718 | Tips::integrity_test(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageTips<_, _>, Twox64Concat, _, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageTips<_, _>, frame_support::Twox64Concat, _, OpenTip<_, _, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageMap::::migrate_key [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | 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 undeclared type `RuntimeEvent` [INFO] [stdout] --> src/tests.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | .filter_map(|e| if let RuntimeEvent::Tips(inner) = e { Some(inner) } else { None }) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:586:2 [INFO] [stdout] | [INFO] [stdout] 586 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | type Currency = pallet_balances::Pallet; [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/tests.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | type Currency = pallet_balances::Pallet; [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/tests.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | balances: pallet_balances::GenesisConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-tips` (lib test) due to 289 previous errors [INFO] running `Command { std: "docker" "inspect" "ac8352354d7b075bce8c40ac0b66b1ef649d729f3e1afa8e40b965638d7e6b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac8352354d7b075bce8c40ac0b66b1ef649d729f3e1afa8e40b965638d7e6b4f", kill_on_drop: false }` [INFO] [stdout] ac8352354d7b075bce8c40ac0b66b1ef649d729f3e1afa8e40b965638d7e6b4f