[INFO] fetching crate pallet-bounties 41.0.0... [INFO] checking pallet-bounties-41.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pallet-bounties 41.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate pallet-bounties 41.0.0 [INFO] finished tweaking crates.io crate pallet-bounties 41.0.0 [INFO] tweaked toml for crates.io crate pallet-bounties 41.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-bounties 41.0.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-bounties 41.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Downloaded pallet-treasury v41.0.0 [INFO] [stderr] Downloaded pallet-balances v43.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a12ead80a7b1d6348df8314d4814e6007e722d5a298716f5d560133c11705bf [INFO] running `Command { std: "docker" "start" "-a" "1a12ead80a7b1d6348df8314d4814e6007e722d5a298716f5d560133c11705bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a12ead80a7b1d6348df8314d4814e6007e722d5a298716f5d560133c11705bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a12ead80a7b1d6348df8314d4814e6007e722d5a298716f5d560133c11705bf", kill_on_drop: false }` [INFO] [stdout] 1a12ead80a7b1d6348df8314d4814e6007e722d5a298716f5d560133c11705bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14e88162003f2e89f254bb13d233f956961de15a8f5978ae76c0fca814be8eab [INFO] running `Command { std: "docker" "start" "-a" "14e88162003f2e89f254bb13d233f956961de15a8f5978ae76c0fca814be8eab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking memory-db v0.34.0 [INFO] [stderr] Checking trie-db v0.30.0 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Checking tuplex v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking sp-panic-handler v13.0.2 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking crypto-bigint v0.5.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking ed25519 v2.2.2 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking ecdsa v0.16.8 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling jam-codec-derive v0.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v24.0.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking impl-codec v0.7.1 [INFO] [stderr] Checking sp-storage v22.0.0 [INFO] [stderr] Checking sp-wasm-interface v23.0.0 [INFO] [stderr] Checking sp-tracing v18.0.0 [INFO] [stderr] Checking binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling frame-support-procedural v35.0.0 [INFO] [stderr] Checking sp-externalities v0.30.0 [INFO] [stderr] Checking bounded-collections v0.3.2 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking sp-arithmetic v28.0.0 [INFO] [stderr] Checking frame-metadata v23.0.0 [INFO] [stderr] Checking sp-weights v33.0.0 [INFO] [stderr] Checking sp-runtime-interface v31.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.12.0 [INFO] [stderr] Checking sp-core v38.0.0 [INFO] [stderr] Checking sp-trie v41.0.0 [INFO] [stderr] Checking sp-keystore v0.44.0 [INFO] [stderr] Checking sp-state-machine v0.47.0 [INFO] [stderr] Checking sp-application-crypto v42.0.0 [INFO] [stderr] Checking sp-runtime v43.0.0 [INFO] [stderr] Checking sp-version v41.0.0 [INFO] [stderr] Checking sp-staking v40.0.0 [INFO] [stderr] Checking sp-inherents v38.0.0 [INFO] [stderr] Checking sp-api v38.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.19.0 [INFO] [stderr] Checking frame-support v42.0.0 [INFO] [stderr] Checking frame-system v42.0.0 [INFO] [stderr] Checking pallet-balances v43.0.0 [INFO] [stderr] Checking pallet-treasury v41.0.0 [INFO] [stderr] Checking pallet-bounties v41.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | #[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:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | Balances: pallet_balances, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:272:29 [INFO] [stdout] | [INFO] [stdout] 272 | let init_total_issuance = pallet_balances::TotalIssuance::::get(); [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:274:14 [INFO] [stdout] | [INFO] [stdout] 274 | assert_eq!(pallet_balances::TotalIssuance::::get(), init_total_issuance + 100); [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:278:14 [INFO] [stdout] | [INFO] [stdout] 278 | assert_eq!(pallet_balances::TotalIssuance::::get(), init_total_issuance + 50); [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[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | 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] 41 | 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:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | ::BlockNumberProvider::set_block_number(n); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | >::on_initialize(n); [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:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | 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:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/tests.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 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:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | 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:91:42 [INFO] [stdout] | [INFO] [stdout] 91 | 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] 89 | 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:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:328:2 [INFO] [stdout] | [INFO] [stdout] 328 | pub enum Event, I: 'static = ()> { [INFO] [stdout] | --------------------------------------------- similarly named enum `BountiesEvent` defined here [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 93 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 93 - type RuntimeEvent = RuntimeEvent; [INFO] [stdout] 93 + type RuntimeEvent = BountiesEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 65 | type Balance = u64; [INFO] [stdout] | ------------------- similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 104 | type Paymaster = PayFromAccount; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 104 - type Paymaster = PayFromAccount; [INFO] [stdout] 104 + type Paymaster = PayFromAccount; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 89 | 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:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | 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:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | 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:114:42 [INFO] [stdout] | [INFO] [stdout] 114 | 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] 112 | 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:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:328:2 [INFO] [stdout] | [INFO] [stdout] 328 | pub enum Event, I: 'static = ()> { [INFO] [stdout] | --------------------------------------------- similarly named enum `BountiesEvent` defined here [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 116 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 116 - type RuntimeEvent = RuntimeEvent; [INFO] [stdout] 116 + type RuntimeEvent = BountiesEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bounties1` in this scope [INFO] [stdout] --> src/tests.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | type SpendFunds = Bounties1; [INFO] [stdout] | ^^^^^^^^^ help: a type alias with a similar name exists: `Bounties` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:366:2 [INFO] [stdout] | [INFO] [stdout] 366 | / pub type Bounties, I: 'static = ()> = StorageMap< [INFO] [stdout] 367 | | _, [INFO] [stdout] 368 | | Twox64Concat, [INFO] [stdout] 369 | | BountyIndex, [INFO] [stdout] 370 | | Bounty, BlockNumberFor>, [INFO] [stdout] 371 | | >; [INFO] [stdout] | |______- similarly named type alias `Bounties` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 65 | type Balance = u64; [INFO] [stdout] | ------------------- similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 127 | type Paymaster = PayFromAccount; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 127 - type Paymaster = PayFromAccount; [INFO] [stdout] 127 + type Paymaster = PayFromAccount; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 112 | 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:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | 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:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | 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:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:328:2 [INFO] [stdout] | [INFO] [stdout] 328 | pub enum Event, I: 'static = ()> { [INFO] [stdout] | --------------------------------------------- similarly named enum `BountiesEvent` defined here [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 145 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 145 - type RuntimeEvent = RuntimeEvent; [INFO] [stdout] 145 + type RuntimeEvent = BountiesEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | 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:161:22 [INFO] [stdout] | [INFO] [stdout] 161 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:328:2 [INFO] [stdout] | [INFO] [stdout] 328 | pub enum Event, I: 'static = ()> { [INFO] [stdout] | --------------------------------------------- similarly named enum `BountiesEvent` defined here [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 161 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 161 - type RuntimeEvent = RuntimeEvent; [INFO] [stdout] 161 + type RuntimeEvent = BountiesEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:176:45 [INFO] [stdout] | [INFO] [stdout] 176 | type TreasuryError = pallet_treasury::Error; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | type TreasuryError = pallet_treasury::Error; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:177:46 [INFO] [stdout] | [INFO] [stdout] 177 | type TreasuryError1 = pallet_treasury::Error; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 177 | type TreasuryError1 = pallet_treasury::Error; [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:189:43 [INFO] [stdout] | [INFO] [stdout] 189 | let mut ext: sp_io::TestExternalities = RuntimeGenesisConfig { [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:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | ::BlockNumberProvider::set_block_number(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:216:47 [INFO] [stdout] | [INFO] [stdout] 216 | fn last_events(n: usize) -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 216 | fn last_events(n: usize) -> Vec> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | let mut res = 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:229:34 [INFO] [stdout] | [INFO] [stdout] 229 | fn last_event() -> BountiesEvent { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 229 | fn last_event() -> BountiesEvent { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:233:39 [INFO] [stdout] | [INFO] [stdout] 233 | fn expect_events(e: Vec>) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 233 | fn expect_events(e: Vec>) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:272:62 [INFO] [stdout] | [INFO] [stdout] 272 | let init_total_issuance = pallet_balances::TotalIssuance::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn unused_pot_should_diminish() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:274:47 [INFO] [stdout] | [INFO] [stdout] 274 | assert_eq!(pallet_balances::TotalIssuance::::get(), init_total_issuance + 100); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn unused_pot_should_diminish() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:278:47 [INFO] [stdout] | [INFO] [stdout] 278 | assert_eq!(pallet_balances::TotalIssuance::::get(), init_total_issuance + 50); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn unused_pot_should_diminish() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:344:44 [INFO] [stdout] | [INFO] [stdout] 344 | 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] 343 | fn inexistent_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:345:35 [INFO] [stdout] | [INFO] [stdout] 345 | 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] 343 | fn inexistent_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:391:32 [INFO] [stdout] | [INFO] [stdout] 391 | pallet_bounties::Bounties::::get(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] 377 | fn propose_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:403:42 [INFO] [stdout] | [INFO] [stdout] 403 | pallet_bounties::BountyDescriptions::::get(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] 377 | fn propose_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:407:45 [INFO] [stdout] | [INFO] [stdout] 407 | assert_eq!(pallet_bounties::BountyCount::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 377 | fn propose_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 419 | Error::::ReasonTooBig [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 412 | fn propose_bounty_validation_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | Error::::InsufficientProposersBalance [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 412 | fn propose_bounty_validation_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:433:12 [INFO] [stdout] | [INFO] [stdout] 433 | Error::::InvalidValue [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 412 | fn propose_bounty_validation_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:443:74 [INFO] [stdout] | [INFO] [stdout] 443 | assert_noop!(Bounties::close_bounty(RuntimeOrigin::root(), 0), Error::::InvalidIndex); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 440 | fn close_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:456:42 [INFO] [stdout] | [INFO] [stdout] 456 | assert_eq!(pallet_bounties::Bounties::::get(0), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 440 | fn close_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:457:41 [INFO] [stdout] | [INFO] [stdout] 457 | assert!(!pallet_treasury::Proposals::::contains_key(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 440 | fn close_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:459:52 [INFO] [stdout] | [INFO] [stdout] 459 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 440 | fn close_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:469:12 [INFO] [stdout] | [INFO] [stdout] 469 | Error::::InvalidIndex [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 464 | fn approve_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:479:32 [INFO] [stdout] | [INFO] [stdout] 479 | pallet_bounties::Bounties::::get(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] 464 | fn approve_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:489:49 [INFO] [stdout] | [INFO] [stdout] 489 | assert_eq!(pallet_bounties::BountyApprovals::::get(), vec![0]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 464 | fn approve_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:493:12 [INFO] [stdout] | [INFO] [stdout] 493 | Error::::UnexpectedStatus [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 464 | fn approve_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:507:32 [INFO] [stdout] | [INFO] [stdout] 507 | pallet_bounties::Bounties::::get(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] 464 | fn approve_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:530:12 [INFO] [stdout] | [INFO] [stdout] 530 | Error::::InvalidIndex [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 524 | fn assign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:541:12 [INFO] [stdout] | [INFO] [stdout] 541 | Error::::InvalidFee [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 524 | fn assign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:548:32 [INFO] [stdout] | [INFO] [stdout] 548 | pallet_bounties::Bounties::::get(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] 524 | fn assign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:561:12 [INFO] [stdout] | [INFO] [stdout] 561 | Error::::RequireCurator [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 524 | fn assign_curator_works() { [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:565:4 [INFO] [stdout] | [INFO] [stdout] 565 | pallet_balances::Error::::InsufficientBalance [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use crate::tests::alloc::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 9 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 565 - pallet_balances::Error::::InsufficientBalance [INFO] [stdout] 565 + Error::::InsufficientBalance [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:565:29 [INFO] [stdout] | [INFO] [stdout] 565 | pallet_balances::Error::::InsufficientBalance [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 524 | fn assign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:575:32 [INFO] [stdout] | [INFO] [stdout] 575 | pallet_bounties::Bounties::::get(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] 524 | fn assign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:608:32 [INFO] [stdout] | [INFO] [stdout] 608 | pallet_bounties::Bounties::::get(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] 592 | fn unassign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:626:32 [INFO] [stdout] | [INFO] [stdout] 626 | pallet_bounties::Bounties::::get(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] 592 | fn unassign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:662:12 [INFO] [stdout] | [INFO] [stdout] 662 | Error::::RequireCurator [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 643 | fn award_and_claim_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:668:32 [INFO] [stdout] | [INFO] [stdout] 668 | pallet_bounties::Bounties::::get(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] 643 | fn award_and_claim_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:679:77 [INFO] [stdout] | [INFO] [stdout] 679 | assert_noop!(Bounties::claim_bounty(RuntimeOrigin::signed(1), 0), 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] 643 | fn award_and_claim_bounty_works() { [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 | assert_eq!(pallet_bounties::Bounties::::get(0), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 643 | fn award_and_claim_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:702:52 [INFO] [stdout] | [INFO] [stdout] 702 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 643 | fn award_and_claim_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:739:42 [INFO] [stdout] | [INFO] [stdout] 739 | assert_eq!(pallet_bounties::Bounties::::get(0), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 707 | fn claim_handles_high_fee() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:740:52 [INFO] [stdout] | [INFO] [stdout] 740 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 707 | fn claim_handles_high_fee() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:762:32 [INFO] [stdout] | [INFO] [stdout] 762 | pallet_bounties::Bounties::::get(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] 745 | fn cancel_and_refund() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:805:12 [INFO] [stdout] | [INFO] [stdout] 805 | Error::::PendingPayout [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 785 | fn award_and_cancel() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:820:42 [INFO] [stdout] | [INFO] [stdout] 820 | assert_eq!(pallet_bounties::Bounties::::get(0), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 785 | fn award_and_cancel() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:821:52 [INFO] [stdout] | [INFO] [stdout] 821 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 785 | fn award_and_cancel() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:845:12 [INFO] [stdout] | [INFO] [stdout] 845 | 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] 826 | fn expire_and_unassign() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:853:32 [INFO] [stdout] | [INFO] [stdout] 853 | pallet_bounties::Bounties::::get(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] 826 | fn expire_and_unassign() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:880:12 [INFO] [stdout] | [INFO] [stdout] 880 | Error::::UnexpectedStatus [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 870 | fn extend_expiry() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:895:12 [INFO] [stdout] | [INFO] [stdout] 895 | Error::::RequireCurator [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 870 | fn extend_expiry() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:900:32 [INFO] [stdout] | [INFO] [stdout] 900 | pallet_bounties::Bounties::::get(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] 870 | fn extend_expiry() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:914:32 [INFO] [stdout] | [INFO] [stdout] 914 | pallet_bounties::Bounties::::get(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] 870 | fn extend_expiry() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:929:12 [INFO] [stdout] | [INFO] [stdout] 929 | 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] 870 | fn extend_expiry() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:954:35 [INFO] [stdout] | [INFO] [stdout] 954 | (pallet_bounties::BountyCount::::hashed_key().to_vec(), 10.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] 939 | 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:955:32 [INFO] [stdout] | [INFO] [stdout] 955 | (pallet_bounties::Bounties::::hashed_key_for(index), bounty.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] 939 | 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:956:42 [INFO] [stdout] | [INFO] [stdout] 956 | (pallet_bounties::BountyDescriptions::::hashed_key_for(index), vec![0, 0]), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 939 | 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:958:39 [INFO] [stdout] | [INFO] [stdout] 958 | pallet_bounties::BountyApprovals::::hashed_key().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] 939 | 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:967:26 [INFO] [stdout] | [INFO] [stdout] 967 | let old_pallet_name = ::PalletInfo::name::() [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:971:42 [INFO] [stdout] | [INFO] [stdout] 971 | crate::migrations::v4::pre_migration::(old_pallet_name, new_pallet_name); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 939 | 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:972:36 [INFO] [stdout] | [INFO] [stdout] 972 | crate::migrations::v4::migrate::(old_pallet_name, new_pallet_name); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 939 | 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:973:43 [INFO] [stdout] | [INFO] [stdout] 973 | crate::migrations::v4::post_migration::( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 939 | 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:982:44 [INFO] [stdout] | [INFO] [stdout] 982 | 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] 981 | 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:984:35 [INFO] [stdout] | [INFO] [stdout] 984 | 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] 981 | 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:991:35 [INFO] [stdout] | [INFO] [stdout] 991 | 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] 981 | 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:1022:32 [INFO] [stdout] | [INFO] [stdout] 1022 | pallet_bounties::Bounties::::get(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] 1003 | fn unassign_curator_self() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury1` in this scope [INFO] [stdout] --> src/tests.rs:1127:4 [INFO] [stdout] | [INFO] [stdout] 1127 | >::on_initialize(2); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury1` in this scope [INFO] [stdout] --> src/tests.rs:1201:4 [INFO] [stdout] | [INFO] [stdout] 1201 | >::on_initialize(2); [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:1217:3 [INFO] [stdout] | [INFO] [stdout] 1217 | 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:1235:12 [INFO] [stdout] | [INFO] [stdout] 1235 | Error::::InvalidFee [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1213 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1238:49 [INFO] [stdout] | [INFO] [stdout] 1238 | assert_eq!(pallet_bounties::BountyApprovals::::get().len(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1213 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1240:49 [INFO] [stdout] | [INFO] [stdout] 1240 | assert_eq!(pallet_bounties::BountyApprovals::::get().len(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1213 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1243:32 [INFO] [stdout] | [INFO] [stdout] 1243 | pallet_bounties::Bounties::::get(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] 1213 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1261:12 [INFO] [stdout] | [INFO] [stdout] 1261 | Error::::UnexpectedStatus [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1213 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1264:3 [INFO] [stdout] | [INFO] [stdout] 1264 | 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 `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1265:4 [INFO] [stdout] | [INFO] [stdout] 1265 | >::on_initialize(2); [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:1266:49 [INFO] [stdout] | [INFO] [stdout] 1266 | assert_eq!(pallet_bounties::BountyApprovals::::get().len(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1213 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1271:32 [INFO] [stdout] | [INFO] [stdout] 1271 | pallet_bounties::Bounties::::get(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] 1213 | fn approve_bounty_with_curator_works() { [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:1284:4 [INFO] [stdout] | [INFO] [stdout] 1284 | pallet_balances::Error::::InsufficientBalance [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use crate::tests::alloc::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 9 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1284 - pallet_balances::Error::::InsufficientBalance [INFO] [stdout] 1284 + Error::::InsufficientBalance [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1284:29 [INFO] [stdout] | [INFO] [stdout] 1284 | pallet_balances::Error::::InsufficientBalance [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1213 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1290:32 [INFO] [stdout] | [INFO] [stdout] 1290 | pallet_bounties::Bounties::::get(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] 1213 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1302:3 [INFO] [stdout] | [INFO] [stdout] 1302 | System::set_block_number(5); [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 `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1303:4 [INFO] [stdout] | [INFO] [stdout] 1303 | >::on_initialize(5); [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:1318:3 [INFO] [stdout] | [INFO] [stdout] 1318 | 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:1328:32 [INFO] [stdout] | [INFO] [stdout] 1328 | pallet_bounties::Bounties::::get(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] 1314 | fn approve_bounty_with_curator_early_unassign_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1341:3 [INFO] [stdout] | [INFO] [stdout] 1341 | 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 `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1342:4 [INFO] [stdout] | [INFO] [stdout] 1342 | >::on_initialize(2); [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:1345:32 [INFO] [stdout] | [INFO] [stdout] 1345 | pallet_bounties::Bounties::::get(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] 1314 | fn approve_bounty_with_curator_early_unassign_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1362:32 [INFO] [stdout] | [INFO] [stdout] 1362 | pallet_bounties::Bounties::::get(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] 1314 | fn approve_bounty_with_curator_early_unassign_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1384:3 [INFO] [stdout] | [INFO] [stdout] 1384 | 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[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1390:3 [INFO] [stdout] | [INFO] [stdout] 1390 | 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 `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1391:4 [INFO] [stdout] | [INFO] [stdout] 1391 | >::on_initialize(2); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1394:32 [INFO] [stdout] | [INFO] [stdout] 1394 | pallet_bounties::Bounties::::get(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] 1380 | fn approve_bounty_with_curator_proposed_unassign_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1407:32 [INFO] [stdout] | [INFO] [stdout] 1407 | pallet_bounties::Bounties::::get(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] 1380 | fn approve_bounty_with_curator_proposed_unassign_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1445:32 [INFO] [stdout] | [INFO] [stdout] 1445 | pallet_bounties::Bounties::::get(bounty_id).unwrap().status, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1422 | fn accept_curator_sets_update_due_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1450:44 [INFO] [stdout] | [INFO] [stdout] 1450 | BountyUpdatePeriod::set(BlockNumberFor::::max_value()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1422 | fn accept_curator_sets_update_due_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury1` in this scope [INFO] [stdout] --> src/tests.rs:1459:4 [INFO] [stdout] | [INFO] [stdout] 1459 | >::on_initialize(6); [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:1467:32 [INFO] [stdout] | [INFO] [stdout] 1467 | pallet_bounties::Bounties::::get(bounty_id).unwrap().status, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1422 | fn accept_curator_sets_update_due_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1468:65 [INFO] [stdout] | [INFO] [stdout] 1468 | BountyStatus::Active { curator, update_due: BlockNumberFor::::max_value() } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1422 | fn accept_curator_sets_update_due_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1480:32 [INFO] [stdout] | [INFO] [stdout] 1480 | pallet_bounties::Bounties::::get(bounty_id).unwrap().status, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1422 | fn accept_curator_sets_update_due_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1481:65 [INFO] [stdout] | [INFO] [stdout] 1481 | BountyStatus::Active { curator, update_due: BlockNumberFor::::max_value() } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1422 | fn accept_curator_sets_update_due_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1497:30 [INFO] [stdout] | [INFO] [stdout] 1497 | pallet_bounties::Pallet::::calculate_bounty_deposit(&bounded_description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1487 | fn poke_deposit_fails_for_insufficient_balance() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1504:32 [INFO] [stdout] | [INFO] [stdout] 1504 | pallet_bounties::Bounties::::get(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] 1487 | fn poke_deposit_fails_for_insufficient_balance() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1514:52 [INFO] [stdout] | [INFO] [stdout] 1514 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1487 | fn poke_deposit_fails_for_insufficient_balance() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1515:45 [INFO] [stdout] | [INFO] [stdout] 1515 | assert_eq!(pallet_bounties::BountyCount::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1487 | fn poke_deposit_fails_for_insufficient_balance() { [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:1523:4 [INFO] [stdout] | [INFO] [stdout] 1523 | pallet_balances::Error::::InsufficientBalance [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use crate::tests::alloc::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 9 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1523 - pallet_balances::Error::::InsufficientBalance [INFO] [stdout] 1523 + Error::::InsufficientBalance [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1523:29 [INFO] [stdout] | [INFO] [stdout] 1523 | pallet_balances::Error::::InsufficientBalance [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1487 | fn poke_deposit_fails_for_insufficient_balance() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1540:12 [INFO] [stdout] | [INFO] [stdout] 1540 | Error::::InvalidIndex [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1536 | fn poke_deposit_fails_for_non_existent_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1572:42 [INFO] [stdout] | [INFO] [stdout] 1572 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1573:52 [INFO] [stdout] | [INFO] [stdout] 1573 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1574:45 [INFO] [stdout] | [INFO] [stdout] 1574 | assert_eq!(pallet_bounties::BountyCount::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1578:31 [INFO] [stdout] | [INFO] [stdout] 1578 | pallet_bounties::Bounties::::insert(bounty_id, &bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1582:12 [INFO] [stdout] | [INFO] [stdout] 1582 | Error::::UnexpectedStatus [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1587:31 [INFO] [stdout] | [INFO] [stdout] 1587 | pallet_bounties::Bounties::::insert(bounty_id, &bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1591:12 [INFO] [stdout] | [INFO] [stdout] 1591 | Error::::UnexpectedStatus [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1596:31 [INFO] [stdout] | [INFO] [stdout] 1596 | pallet_bounties::Bounties::::insert(bounty_id, &bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1600:12 [INFO] [stdout] | [INFO] [stdout] 1600 | Error::::UnexpectedStatus [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1605:31 [INFO] [stdout] | [INFO] [stdout] 1605 | pallet_bounties::Bounties::::insert(bounty_id, &bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1609:12 [INFO] [stdout] | [INFO] [stdout] 1609 | Error::::UnexpectedStatus [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1614:31 [INFO] [stdout] | [INFO] [stdout] 1614 | pallet_bounties::Bounties::::insert(bounty_id, &bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1618:12 [INFO] [stdout] | [INFO] [stdout] 1618 | Error::::UnexpectedStatus [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1623:31 [INFO] [stdout] | [INFO] [stdout] 1623 | pallet_bounties::Bounties::::insert(bounty_id, &bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1627:12 [INFO] [stdout] | [INFO] [stdout] 1627 | Error::::UnexpectedStatus [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1546 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1658:42 [INFO] [stdout] | [INFO] [stdout] 1658 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1633 | fn poke_deposit_works_and_charges_fee_for_unchanged_deposit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1659:52 [INFO] [stdout] | [INFO] [stdout] 1659 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1633 | fn poke_deposit_works_and_charges_fee_for_unchanged_deposit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1660:45 [INFO] [stdout] | [INFO] [stdout] 1660 | assert_eq!(pallet_bounties::BountyCount::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1633 | fn poke_deposit_works_and_charges_fee_for_unchanged_deposit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1669:42 [INFO] [stdout] | [INFO] [stdout] 1669 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1633 | fn poke_deposit_works_and_charges_fee_for_unchanged_deposit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1670:52 [INFO] [stdout] | [INFO] [stdout] 1670 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1633 | fn poke_deposit_works_and_charges_fee_for_unchanged_deposit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1671:45 [INFO] [stdout] | [INFO] [stdout] 1671 | assert_eq!(pallet_bounties::BountyCount::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1633 | fn poke_deposit_works_and_charges_fee_for_unchanged_deposit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1702:42 [INFO] [stdout] | [INFO] [stdout] 1702 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1677 | fn poke_deposit_works_for_deposit_increase() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1703:52 [INFO] [stdout] | [INFO] [stdout] 1703 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1677 | fn poke_deposit_works_for_deposit_increase() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1704:45 [INFO] [stdout] | [INFO] [stdout] 1704 | assert_eq!(pallet_bounties::BountyCount::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1677 | fn poke_deposit_works_for_deposit_increase() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1724:42 [INFO] [stdout] | [INFO] [stdout] 1724 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1677 | fn poke_deposit_works_for_deposit_increase() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1725:52 [INFO] [stdout] | [INFO] [stdout] 1725 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1677 | fn poke_deposit_works_for_deposit_increase() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1726:45 [INFO] [stdout] | [INFO] [stdout] 1726 | assert_eq!(pallet_bounties::BountyCount::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1677 | fn poke_deposit_works_for_deposit_increase() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1758:42 [INFO] [stdout] | [INFO] [stdout] 1758 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1731 | fn poke_deposit_works_for_deposit_decrease() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1759:52 [INFO] [stdout] | [INFO] [stdout] 1759 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1731 | fn poke_deposit_works_for_deposit_decrease() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1760:45 [INFO] [stdout] | [INFO] [stdout] 1760 | assert_eq!(pallet_bounties::BountyCount::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1731 | fn poke_deposit_works_for_deposit_decrease() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1780:42 [INFO] [stdout] | [INFO] [stdout] 1780 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1731 | fn poke_deposit_works_for_deposit_decrease() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1781:52 [INFO] [stdout] | [INFO] [stdout] 1781 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1731 | fn poke_deposit_works_for_deposit_decrease() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1782:45 [INFO] [stdout] | [INFO] [stdout] 1782 | assert_eq!(pallet_bounties::BountyCount::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1731 | fn poke_deposit_works_for_deposit_decrease() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1815:42 [INFO] [stdout] | [INFO] [stdout] 1815 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1787 | fn poke_deposit_works_for_non_proposer() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1816:52 [INFO] [stdout] | [INFO] [stdout] 1816 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1787 | fn poke_deposit_works_for_non_proposer() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1817:45 [INFO] [stdout] | [INFO] [stdout] 1817 | assert_eq!(pallet_bounties::BountyCount::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1787 | fn poke_deposit_works_for_non_proposer() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1837:42 [INFO] [stdout] | [INFO] [stdout] 1837 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1787 | fn poke_deposit_works_for_non_proposer() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1838:52 [INFO] [stdout] | [INFO] [stdout] 1838 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1787 | fn poke_deposit_works_for_non_proposer() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1839:45 [INFO] [stdout] | [INFO] [stdout] 1839 | assert_eq!(pallet_bounties::BountyCount::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1787 | fn poke_deposit_works_for_non_proposer() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Bounties` [INFO] [stdout] --> src/tests.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | type SpendFunds = Bounties; [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:366:11 [INFO] [stdout] | [INFO] [stdout] 366 | pub type Bounties, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 98 | type SpendFunds = Bounties; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | 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:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | 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:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | Bounties::do_try_state().expect("All invariants must hold after a test"); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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-42.0.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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties1` [INFO] [stdout] --> src/tests.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | Bounties1::do_try_state().expect("All invariants must hold after a test"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Bounties1` [INFO] [stdout] | help: a type alias with a similar name exists: `Bounties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | 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:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | 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:250:3 [INFO] [stdout] | [INFO] [stdout] 250 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:250:35 [INFO] [stdout] | [INFO] [stdout] 250 | 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:251:14 [INFO] [stdout] | [INFO] [stdout] 251 | 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:259:3 [INFO] [stdout] | [INFO] [stdout] 259 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:259:35 [INFO] [stdout] | [INFO] [stdout] 259 | 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:261:16 [INFO] [stdout] | [INFO] [stdout] 261 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 100, 3) }); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:261:38 [INFO] [stdout] | [INFO] [stdout] 261 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 100, 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:264:14 [INFO] [stdout] | [INFO] [stdout] 264 | assert_eq!(Balances::free_balance(3), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | 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:273:3 [INFO] [stdout] | [INFO] [stdout] 273 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:273:35 [INFO] [stdout] | [INFO] [stdout] 273 | 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:277:14 [INFO] [stdout] | [INFO] [stdout] 277 | assert_eq!(Treasury::pot(), 50); [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:286:3 [INFO] [stdout] | [INFO] [stdout] 286 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:286:35 [INFO] [stdout] | [INFO] [stdout] 286 | 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:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | 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 `Treasury` [INFO] [stdout] --> src/tests.rs:289:16 [INFO] [stdout] | [INFO] [stdout] 289 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 100, 3) }); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:289:38 [INFO] [stdout] | [INFO] [stdout] 289 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 100, 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:292:14 [INFO] [stdout] | [INFO] [stdout] 292 | assert_eq!(Balances::free_balance(3), 100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:293:14 [INFO] [stdout] | [INFO] [stdout] 293 | 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 `Balances` [INFO] [stdout] --> src/tests.rs:301:3 [INFO] [stdout] | [INFO] [stdout] 301 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:301:35 [INFO] [stdout] | [INFO] [stdout] 301 | 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:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | 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 `Treasury` [INFO] [stdout] --> src/tests.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 304 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 150, 3) }); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:304:38 [INFO] [stdout] | [INFO] [stdout] 304 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 150, 3) }); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:307:14 [INFO] [stdout] | [INFO] [stdout] 307 | assert_eq!(Treasury::pot(), 100); // Pot hasn't changed [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:309:14 [INFO] [stdout] | [INFO] [stdout] 309 | assert_ok!(Balances::deposit_into_existing(&Treasury::account_id(), 100)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:309:47 [INFO] [stdout] | [INFO] [stdout] 309 | assert_ok!(Balances::deposit_into_existing(&Treasury::account_id(), 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:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | assert_eq!(Balances::free_balance(3), 150); // Fund has been spent [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:312:14 [INFO] [stdout] | [INFO] [stdout] 312 | assert_eq!(Treasury::pot(), 25); // Pot has finally changed [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:322:3 [INFO] [stdout] | [INFO] [stdout] 322 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:322:35 [INFO] [stdout] | [INFO] [stdout] 322 | 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:323:14 [INFO] [stdout] | [INFO] [stdout] 323 | 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:324:26 [INFO] [stdout] | [INFO] [stdout] 324 | let treasury_balance = Balances::free_balance(&Treasury::account_id()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:324:50 [INFO] [stdout] | [INFO] [stdout] 324 | let treasury_balance = Balances::free_balance(&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 `Treasury` [INFO] [stdout] --> src/tests.rs:326:16 [INFO] [stdout] | [INFO] [stdout] 326 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), treasury_balance, 3) }); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:326:38 [INFO] [stdout] | [INFO] [stdout] 326 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), treasury_balance, 3) }); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:329:14 [INFO] [stdout] | [INFO] [stdout] 329 | assert_eq!(Treasury::pot(), 100); // Pot hasn't changed [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:331:16 [INFO] [stdout] | [INFO] [stdout] 331 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), Treasury::pot(), 3) }); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:331:38 [INFO] [stdout] | [INFO] [stdout] 331 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), Treasury::pot(), 3) }); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:331:61 [INFO] [stdout] | [INFO] [stdout] 331 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), Treasury::pot(), 3) }); [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:334:14 [INFO] [stdout] | [INFO] [stdout] 334 | assert_eq!(Treasury::pot(), 0); // Pot is emptied [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:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | assert_eq!(Balances::free_balance(Treasury::account_id()), 1); // but the account is still there [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:335:37 [INFO] [stdout] | [INFO] [stdout] 335 | assert_eq!(Balances::free_balance(Treasury::account_id()), 1); // but the account is still there [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:355:14 [INFO] [stdout] | [INFO] [stdout] 355 | assert_eq!(Balances::free_balance(Treasury::account_id()), 0); // Account does not exist [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:355:37 [INFO] [stdout] | [INFO] [stdout] 355 | assert_eq!(Balances::free_balance(Treasury::account_id()), 0); // Account does not exist [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:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | assert_eq!(Treasury::pot(), 0); // Pot is empty [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:358:16 [INFO] [stdout] | [INFO] [stdout] 358 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 99, 3) }); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:358:38 [INFO] [stdout] | [INFO] [stdout] 358 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 99, 3) }); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:359:16 [INFO] [stdout] | [INFO] [stdout] 359 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 1, 3) }); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:359:38 [INFO] [stdout] | [INFO] [stdout] 359 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 1, 3) }); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | assert_eq!(Treasury::pot(), 0); // Pot hasn't changed [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:363:14 [INFO] [stdout] | [INFO] [stdout] 363 | assert_eq!(Balances::free_balance(3), 0); // Balance of `3` hasn't changed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:365:3 [INFO] [stdout] | [INFO] [stdout] 365 | Balances::make_free_balance_be(&Treasury::account_id(), 100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:365:35 [INFO] [stdout] | [INFO] [stdout] 365 | Balances::make_free_balance_be(&Treasury::account_id(), 100); [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:366:14 [INFO] [stdout] | [INFO] [stdout] 366 | assert_eq!(Treasury::pot(), 99); // Pot now contains funds [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:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | assert_eq!(Balances::free_balance(Treasury::account_id()), 100); // Account does exist [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:367:37 [INFO] [stdout] | [INFO] [stdout] 367 | assert_eq!(Balances::free_balance(Treasury::account_id()), 100); // Account does exist [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:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | assert_eq!(Treasury::pot(), 0); // Pot has changed [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:372:14 [INFO] [stdout] | [INFO] [stdout] 372 | assert_eq!(Balances::free_balance(3), 99); // Balance of `3` has changed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:379:3 [INFO] [stdout] | [INFO] [stdout] 379 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:379:35 [INFO] [stdout] | [INFO] [stdout] 379 | 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:380:14 [INFO] [stdout] | [INFO] [stdout] 380 | 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 `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:382:24 [INFO] [stdout] | [INFO] [stdout] 382 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 10, b"1234567890".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:382:39 [INFO] [stdout] | [INFO] [stdout] 382 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 10, b"1234567890".to_vec())); [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:387:14 [INFO] [stdout] | [INFO] [stdout] 387 | assert_eq!(Balances::reserved_balance(0), deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:388:14 [INFO] [stdout] | [INFO] [stdout] 388 | assert_eq!(Balances::free_balance(0), 100 - deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:414:3 [INFO] [stdout] | [INFO] [stdout] 414 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:414:35 [INFO] [stdout] | [INFO] [stdout] 414 | 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:415:14 [INFO] [stdout] | [INFO] [stdout] 415 | 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 `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:418:14 [INFO] [stdout] | [INFO] [stdout] 418 | Bounties::propose_bounty(RuntimeOrigin::signed(1), 0, [0; 17_000].to_vec()), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:418:29 [INFO] [stdout] | [INFO] [stdout] 418 | Bounties::propose_bounty(RuntimeOrigin::signed(1), 0, [0; 17_000].to_vec()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:423:14 [INFO] [stdout] | [INFO] [stdout] 423 | Bounties::propose_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:432:14 [INFO] [stdout] | [INFO] [stdout] 432 | Bounties::propose_bounty(RuntimeOrigin::signed(1), 0, b"12345678901234567890".to_vec()), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:432:29 [INFO] [stdout] | [INFO] [stdout] 432 | Bounties::propose_bounty(RuntimeOrigin::signed(1), 0, b"12345678901234567890".to_vec()), [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:442:3 [INFO] [stdout] | [INFO] [stdout] 442 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:442:35 [INFO] [stdout] | [INFO] [stdout] 442 | 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 `close_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:443:26 [INFO] [stdout] | [INFO] [stdout] 443 | assert_noop!(Bounties::close_bounty(RuntimeOrigin::root(), 0), Error::::InvalidIndex); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:443:39 [INFO] [stdout] | [INFO] [stdout] 443 | assert_noop!(Bounties::close_bounty(RuntimeOrigin::root(), 0), Error::::InvalidIndex); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:445:24 [INFO] [stdout] | [INFO] [stdout] 445 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 10, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:445:39 [INFO] [stdout] | [INFO] [stdout] 445 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 10, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:447:24 [INFO] [stdout] | [INFO] [stdout] 447 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:447:37 [INFO] [stdout] | [INFO] [stdout] 447 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 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:453:14 [INFO] [stdout] | [INFO] [stdout] 453 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:454:14 [INFO] [stdout] | [INFO] [stdout] 454 | assert_eq!(Balances::free_balance(0), 100 - deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:466:3 [INFO] [stdout] | [INFO] [stdout] 466 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:466:35 [INFO] [stdout] | [INFO] [stdout] 466 | 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 `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:468:14 [INFO] [stdout] | [INFO] [stdout] 468 | Bounties::approve_bounty(RuntimeOrigin::root(), 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | Bounties::approve_bounty(RuntimeOrigin::root(), 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:472:24 [INFO] [stdout] | [INFO] [stdout] 472 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:472:39 [INFO] [stdout] | [INFO] [stdout] 472 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:474:24 [INFO] [stdout] | [INFO] [stdout] 474 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:474:39 [INFO] [stdout] | [INFO] [stdout] 474 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:492:14 [INFO] [stdout] | [INFO] [stdout] 492 | Bounties::close_bounty(RuntimeOrigin::root(), 0), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:492:27 [INFO] [stdout] | [INFO] [stdout] 492 | Bounties::close_bounty(RuntimeOrigin::root(), 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:497:14 [INFO] [stdout] | [INFO] [stdout] 497 | assert_eq!(Balances::reserved_balance(0), deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:498:14 [INFO] [stdout] | [INFO] [stdout] 498 | assert_eq!(Balances::free_balance(0), 100 - deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:503:14 [INFO] [stdout] | [INFO] [stdout] 503 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:504:14 [INFO] [stdout] | [INFO] [stdout] 504 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:518:14 [INFO] [stdout] | [INFO] [stdout] 518 | assert_eq!(Treasury::pot(), 100 - 50 - 25); // burn 25 [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:519:14 [INFO] [stdout] | [INFO] [stdout] 519 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `bounty_account_id` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:519:47 [INFO] [stdout] | [INFO] [stdout] 519 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:526:3 [INFO] [stdout] | [INFO] [stdout] 526 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:526:35 [INFO] [stdout] | [INFO] [stdout] 526 | 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 `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:529:14 [INFO] [stdout] | [INFO] [stdout] 529 | Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, 4), [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:529:30 [INFO] [stdout] | [INFO] [stdout] 529 | Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, 4), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:533:24 [INFO] [stdout] | [INFO] [stdout] 533 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:533:39 [INFO] [stdout] | [INFO] [stdout] 533 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:535:24 [INFO] [stdout] | [INFO] [stdout] 535 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:535:39 [INFO] [stdout] | [INFO] [stdout] 535 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:540:14 [INFO] [stdout] | [INFO] [stdout] 540 | Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, 50), [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:540:30 [INFO] [stdout] | [INFO] [stdout] 540 | Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, 50), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:545:24 [INFO] [stdout] | [INFO] [stdout] 545 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, fee)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:545:40 [INFO] [stdout] | [INFO] [stdout] 545 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, fee)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:560:14 [INFO] [stdout] | [INFO] [stdout] 560 | Bounties::accept_curator(RuntimeOrigin::signed(1), 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:560:29 [INFO] [stdout] | [INFO] [stdout] 560 | Bounties::accept_curator(RuntimeOrigin::signed(1), 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:564:14 [INFO] [stdout] | [INFO] [stdout] 564 | Bounties::accept_curator(RuntimeOrigin::signed(4), 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:564:29 [INFO] [stdout] | [INFO] [stdout] 564 | Bounties::accept_curator(RuntimeOrigin::signed(4), 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:568:3 [INFO] [stdout] | [INFO] [stdout] 568 | Balances::make_free_balance_be(&4, 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:570:24 [INFO] [stdout] | [INFO] [stdout] 570 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:570:39 [INFO] [stdout] | [INFO] [stdout] 570 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `calculate_curator_deposit` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:572:36 [INFO] [stdout] | [INFO] [stdout] 572 | let expected_deposit = Bounties::calculate_curator_deposit(&fee); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:586:14 [INFO] [stdout] | [INFO] [stdout] 586 | assert_eq!(Balances::free_balance(&4), 10 - expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:587:14 [INFO] [stdout] | [INFO] [stdout] 587 | assert_eq!(Balances::reserved_balance(&4), expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:594:3 [INFO] [stdout] | [INFO] [stdout] 594 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:594:35 [INFO] [stdout] | [INFO] [stdout] 594 | 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 `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:595:24 [INFO] [stdout] | [INFO] [stdout] 595 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:595:39 [INFO] [stdout] | [INFO] [stdout] 595 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:597:24 [INFO] [stdout] | [INFO] [stdout] 597 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:597:39 [INFO] [stdout] | [INFO] [stdout] 597 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:603:24 [INFO] [stdout] | [INFO] [stdout] 603 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, fee)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:603:40 [INFO] [stdout] | [INFO] [stdout] 603 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, fee)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unassign_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:604:26 [INFO] [stdout] | [INFO] [stdout] 604 | assert_noop!(Bounties::unassign_curator(RuntimeOrigin::signed(1), 0), BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:604:43 [INFO] [stdout] | [INFO] [stdout] 604 | assert_noop!(Bounties::unassign_curator(RuntimeOrigin::signed(1), 0), BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unassign_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:605:24 [INFO] [stdout] | [INFO] [stdout] 605 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:605:41 [INFO] [stdout] | [INFO] [stdout] 605 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:619:24 [INFO] [stdout] | [INFO] [stdout] 619 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, fee)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:619:40 [INFO] [stdout] | [INFO] [stdout] 619 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, fee)); [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:620:3 [INFO] [stdout] | [INFO] [stdout] 620 | Balances::make_free_balance_be(&4, 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:621:24 [INFO] [stdout] | [INFO] [stdout] 621 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:621:39 [INFO] [stdout] | [INFO] [stdout] 621 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `calculate_curator_deposit` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:622:36 [INFO] [stdout] | [INFO] [stdout] 622 | let expected_deposit = Bounties::calculate_curator_deposit(&fee); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unassign_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:623:24 [INFO] [stdout] | [INFO] [stdout] 623 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:623:41 [INFO] [stdout] | [INFO] [stdout] 623 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::root(), 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:637:14 [INFO] [stdout] | [INFO] [stdout] 637 | assert_eq!(Balances::free_balance(&4), 10 - expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:638:14 [INFO] [stdout] | [INFO] [stdout] 638 | assert_eq!(Balances::reserved_balance(&4), 0); // slashed curator deposit [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:645:3 [INFO] [stdout] | [INFO] [stdout] 645 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:645:35 [INFO] [stdout] | [INFO] [stdout] 645 | 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:646:3 [INFO] [stdout] | [INFO] [stdout] 646 | Balances::make_free_balance_be(&4, 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:647:24 [INFO] [stdout] | [INFO] [stdout] 647 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:647:39 [INFO] [stdout] | [INFO] [stdout] 647 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:649:24 [INFO] [stdout] | [INFO] [stdout] 649 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:649:39 [INFO] [stdout] | [INFO] [stdout] 649 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:654:24 [INFO] [stdout] | [INFO] [stdout] 654 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, fee)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:654:40 [INFO] [stdout] | [INFO] [stdout] 654 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, fee)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:655:24 [INFO] [stdout] | [INFO] [stdout] 655 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:655:39 [INFO] [stdout] | [INFO] [stdout] 655 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `calculate_curator_deposit` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:657:36 [INFO] [stdout] | [INFO] [stdout] 657 | let expected_deposit = Bounties::calculate_curator_deposit(&fee); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:658:14 [INFO] [stdout] | [INFO] [stdout] 658 | assert_eq!(Balances::free_balance(4), 10 - expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `award_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:661:14 [INFO] [stdout] | [INFO] [stdout] 661 | Bounties::award_bounty(RuntimeOrigin::signed(1), 0, 3), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `award_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:661:27 [INFO] [stdout] | [INFO] [stdout] 661 | Bounties::award_bounty(RuntimeOrigin::signed(1), 0, 3), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `award_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:665:24 [INFO] [stdout] | [INFO] [stdout] 665 | assert_ok!(Bounties::award_bounty(RuntimeOrigin::signed(4), 0, 3)); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `award_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:665:37 [INFO] [stdout] | [INFO] [stdout] 665 | assert_ok!(Bounties::award_bounty(RuntimeOrigin::signed(4), 0, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `claim_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:679:26 [INFO] [stdout] | [INFO] [stdout] 679 | assert_noop!(Bounties::claim_bounty(RuntimeOrigin::signed(1), 0), Error::::Premature); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `claim_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:679:39 [INFO] [stdout] | [INFO] [stdout] 679 | assert_noop!(Bounties::claim_bounty(RuntimeOrigin::signed(1), 0), Error::::Premature); [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:683:14 [INFO] [stdout] | [INFO] [stdout] 683 | assert_ok!(Balances::transfer_allow_death( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:684:4 [INFO] [stdout] | [INFO] [stdout] 684 | RuntimeOrigin::signed(0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `bounty_account_id` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:685:14 [INFO] [stdout] | [INFO] [stdout] 685 | Bounties::bounty_account_id(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `claim_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:689:24 [INFO] [stdout] | [INFO] [stdout] 689 | assert_ok!(Bounties::claim_bounty(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `claim_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:689:37 [INFO] [stdout] | [INFO] [stdout] 689 | assert_ok!(Bounties::claim_bounty(RuntimeOrigin::signed(1), 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:696:14 [INFO] [stdout] | [INFO] [stdout] 696 | assert_eq!(Balances::free_balance(4), 14); // initial 10 + fee 4 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:698:14 [INFO] [stdout] | [INFO] [stdout] 698 | assert_eq!(Balances::free_balance(3), 56); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:699:14 [INFO] [stdout] | [INFO] [stdout] 699 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `bounty_account_id` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:699:47 [INFO] [stdout] | [INFO] [stdout] 699 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:709:3 [INFO] [stdout] | [INFO] [stdout] 709 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:709:35 [INFO] [stdout] | [INFO] [stdout] 709 | 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:710:3 [INFO] [stdout] | [INFO] [stdout] 710 | Balances::make_free_balance_be(&4, 30); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:711:24 [INFO] [stdout] | [INFO] [stdout] 711 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:711:39 [INFO] [stdout] | [INFO] [stdout] 711 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:713:24 [INFO] [stdout] | [INFO] [stdout] 713 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:713:39 [INFO] [stdout] | [INFO] [stdout] 713 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:717:24 [INFO] [stdout] | [INFO] [stdout] 717 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, 49)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:717:40 [INFO] [stdout] | [INFO] [stdout] 717 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, 49)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:718:24 [INFO] [stdout] | [INFO] [stdout] 718 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:718:39 [INFO] [stdout] | [INFO] [stdout] 718 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `award_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:720:24 [INFO] [stdout] | [INFO] [stdout] 720 | assert_ok!(Bounties::award_bounty(RuntimeOrigin::signed(4), 0, 3)); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `award_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:720:37 [INFO] [stdout] | [INFO] [stdout] 720 | assert_ok!(Bounties::award_bounty(RuntimeOrigin::signed(4), 0, 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:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | let res = Balances::slash(&Bounties::bounty_account_id(0), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `bounty_account_id` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:725:40 [INFO] [stdout] | [INFO] [stdout] 725 | let res = Balances::slash(&Bounties::bounty_account_id(0), 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `claim_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:728:24 [INFO] [stdout] | [INFO] [stdout] 728 | assert_ok!(Bounties::claim_bounty(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `claim_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:728:37 [INFO] [stdout] | [INFO] [stdout] 728 | assert_ok!(Bounties::claim_bounty(RuntimeOrigin::signed(1), 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:735:14 [INFO] [stdout] | [INFO] [stdout] 735 | assert_eq!(Balances::free_balance(4), 70); // 30 + 50 - 10 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:736:14 [INFO] [stdout] | [INFO] [stdout] 736 | assert_eq!(Balances::free_balance(3), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:737:14 [INFO] [stdout] | [INFO] [stdout] 737 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `bounty_account_id` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:737:47 [INFO] [stdout] | [INFO] [stdout] 737 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:747:3 [INFO] [stdout] | [INFO] [stdout] 747 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:747:35 [INFO] [stdout] | [INFO] [stdout] 747 | 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 `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:749:24 [INFO] [stdout] | [INFO] [stdout] 749 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:749:39 [INFO] [stdout] | [INFO] [stdout] 749 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:751:24 [INFO] [stdout] | [INFO] [stdout] 751 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:751:39 [INFO] [stdout] | [INFO] [stdout] 751 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 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:755:14 [INFO] [stdout] | [INFO] [stdout] 755 | assert_ok!(Balances::transfer_allow_death( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:756:4 [INFO] [stdout] | [INFO] [stdout] 756 | RuntimeOrigin::signed(0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `bounty_account_id` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:757:14 [INFO] [stdout] | [INFO] [stdout] 757 | Bounties::bounty_account_id(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:773:14 [INFO] [stdout] | [INFO] [stdout] 773 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 60); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `bounty_account_id` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:773:47 [INFO] [stdout] | [INFO] [stdout] 773 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 60); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:775:26 [INFO] [stdout] | [INFO] [stdout] 775 | assert_noop!(Bounties::close_bounty(RuntimeOrigin::signed(0), 0), BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:775:39 [INFO] [stdout] | [INFO] [stdout] 775 | assert_noop!(Bounties::close_bounty(RuntimeOrigin::signed(0), 0), BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:777:24 [INFO] [stdout] | [INFO] [stdout] 777 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:777:37 [INFO] [stdout] | [INFO] [stdout] 777 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:780:14 [INFO] [stdout] | [INFO] [stdout] 780 | assert_eq!(Treasury::pot(), 85); [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:787:3 [INFO] [stdout] | [INFO] [stdout] 787 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:787:35 [INFO] [stdout] | [INFO] [stdout] 787 | 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 `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:788:24 [INFO] [stdout] | [INFO] [stdout] 788 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:788:39 [INFO] [stdout] | [INFO] [stdout] 788 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:790:24 [INFO] [stdout] | [INFO] [stdout] 790 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:790:39 [INFO] [stdout] | [INFO] [stdout] 790 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:794:24 [INFO] [stdout] | [INFO] [stdout] 794 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 0, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:794:40 [INFO] [stdout] | [INFO] [stdout] 794 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 0, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:795:24 [INFO] [stdout] | [INFO] [stdout] 795 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(0), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:795:39 [INFO] [stdout] | [INFO] [stdout] 795 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(0), 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:797:14 [INFO] [stdout] | [INFO] [stdout] 797 | assert_eq!(Balances::free_balance(0), 95); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:798:14 [INFO] [stdout] | [INFO] [stdout] 798 | assert_eq!(Balances::reserved_balance(0), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `award_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:800:24 [INFO] [stdout] | [INFO] [stdout] 800 | assert_ok!(Bounties::award_bounty(RuntimeOrigin::signed(0), 0, 3)); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `award_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:800:37 [INFO] [stdout] | [INFO] [stdout] 800 | assert_ok!(Bounties::award_bounty(RuntimeOrigin::signed(0), 0, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:804:14 [INFO] [stdout] | [INFO] [stdout] 804 | Bounties::close_bounty(RuntimeOrigin::root(), 0), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:804:27 [INFO] [stdout] | [INFO] [stdout] 804 | Bounties::close_bounty(RuntimeOrigin::root(), 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unassign_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:809:24 [INFO] [stdout] | [INFO] [stdout] 809 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:809:41 [INFO] [stdout] | [INFO] [stdout] 809 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:810:24 [INFO] [stdout] | [INFO] [stdout] 810 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:810:37 [INFO] [stdout] | [INFO] [stdout] 810 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 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:814:14 [INFO] [stdout] | [INFO] [stdout] 814 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `bounty_account_id` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:814:47 [INFO] [stdout] | [INFO] [stdout] 814 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:817:14 [INFO] [stdout] | [INFO] [stdout] 817 | assert_eq!(Balances::free_balance(0), 95); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:818:14 [INFO] [stdout] | [INFO] [stdout] 818 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:828:3 [INFO] [stdout] | [INFO] [stdout] 828 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:828:35 [INFO] [stdout] | [INFO] [stdout] 828 | 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 `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:829:24 [INFO] [stdout] | [INFO] [stdout] 829 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:829:39 [INFO] [stdout] | [INFO] [stdout] 829 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:831:24 [INFO] [stdout] | [INFO] [stdout] 831 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:831:39 [INFO] [stdout] | [INFO] [stdout] 831 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:835:24 [INFO] [stdout] | [INFO] [stdout] 835 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 1, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:835:40 [INFO] [stdout] | [INFO] [stdout] 835 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 1, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:836:24 [INFO] [stdout] | [INFO] [stdout] 836 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:836:39 [INFO] [stdout] | [INFO] [stdout] 836 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(1), 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:838:14 [INFO] [stdout] | [INFO] [stdout] 838 | assert_eq!(Balances::free_balance(1), 93); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:839:14 [INFO] [stdout] | [INFO] [stdout] 839 | assert_eq!(Balances::reserved_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unassign_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:844:14 [INFO] [stdout] | [INFO] [stdout] 844 | Bounties::unassign_curator(RuntimeOrigin::signed(0), 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:844:31 [INFO] [stdout] | [INFO] [stdout] 844 | Bounties::unassign_curator(RuntimeOrigin::signed(0), 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unassign_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:850:24 [INFO] [stdout] | [INFO] [stdout] 850 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::signed(0), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:850:41 [INFO] [stdout] | [INFO] [stdout] 850 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::signed(0), 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:864:14 [INFO] [stdout] | [INFO] [stdout] 864 | assert_eq!(Balances::free_balance(1), 93); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:865:14 [INFO] [stdout] | [INFO] [stdout] 865 | assert_eq!(Balances::reserved_balance(1), 0); // slashed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:872:3 [INFO] [stdout] | [INFO] [stdout] 872 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:872:35 [INFO] [stdout] | [INFO] [stdout] 872 | 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:873:3 [INFO] [stdout] | [INFO] [stdout] 873 | Balances::make_free_balance_be(&4, 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:874:24 [INFO] [stdout] | [INFO] [stdout] 874 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:874:39 [INFO] [stdout] | [INFO] [stdout] 874 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:876:24 [INFO] [stdout] | [INFO] [stdout] 876 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:876:39 [INFO] [stdout] | [INFO] [stdout] 876 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `extend_bounty_expiry` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:879:14 [INFO] [stdout] | [INFO] [stdout] 879 | Bounties::extend_bounty_expiry(RuntimeOrigin::signed(1), 0, Vec::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `extend_bounty_expiry`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:879:35 [INFO] [stdout] | [INFO] [stdout] 879 | Bounties::extend_bounty_expiry(RuntimeOrigin::signed(1), 0, Vec::new()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:885:24 [INFO] [stdout] | [INFO] [stdout] 885 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:885:40 [INFO] [stdout] | [INFO] [stdout] 885 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 4, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:886:24 [INFO] [stdout] | [INFO] [stdout] 886 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:886:39 [INFO] [stdout] | [INFO] [stdout] 886 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(4), 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:888:14 [INFO] [stdout] | [INFO] [stdout] 888 | assert_eq!(Balances::free_balance(4), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:889:14 [INFO] [stdout] | [INFO] [stdout] 889 | assert_eq!(Balances::reserved_balance(4), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `extend_bounty_expiry` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:894:14 [INFO] [stdout] | [INFO] [stdout] 894 | Bounties::extend_bounty_expiry(RuntimeOrigin::signed(0), 0, Vec::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `extend_bounty_expiry`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:894:35 [INFO] [stdout] | [INFO] [stdout] 894 | Bounties::extend_bounty_expiry(RuntimeOrigin::signed(0), 0, Vec::new()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `extend_bounty_expiry` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:897:24 [INFO] [stdout] | [INFO] [stdout] 897 | assert_ok!(Bounties::extend_bounty_expiry(RuntimeOrigin::signed(4), 0, Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `extend_bounty_expiry`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:897:45 [INFO] [stdout] | [INFO] [stdout] 897 | assert_ok!(Bounties::extend_bounty_expiry(RuntimeOrigin::signed(4), 0, Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `extend_bounty_expiry` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:911:24 [INFO] [stdout] | [INFO] [stdout] 911 | assert_ok!(Bounties::extend_bounty_expiry(RuntimeOrigin::signed(4), 0, Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `extend_bounty_expiry`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:911:45 [INFO] [stdout] | [INFO] [stdout] 911 | assert_ok!(Bounties::extend_bounty_expiry(RuntimeOrigin::signed(4), 0, Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unassign_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:928:14 [INFO] [stdout] | [INFO] [stdout] 928 | Bounties::unassign_curator(RuntimeOrigin::signed(0), 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:928:31 [INFO] [stdout] | [INFO] [stdout] 928 | Bounties::unassign_curator(RuntimeOrigin::signed(0), 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unassign_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:931:24 [INFO] [stdout] | [INFO] [stdout] 931 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:931:41 [INFO] [stdout] | [INFO] [stdout] 931 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::signed(4), 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:933:14 [INFO] [stdout] | [INFO] [stdout] 933 | assert_eq!(Balances::free_balance(4), 10); // not slashed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:934:14 [INFO] [stdout] | [INFO] [stdout] 934 | assert_eq!(Balances::reserved_balance(4), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Bounties` [INFO] [stdout] --> src/tests.rs:971:48 [INFO] [stdout] | [INFO] [stdout] 971 | crate::migrations::v4::pre_migration::(old_pallet_name, 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:366:11 [INFO] [stdout] | [INFO] [stdout] 366 | pub type Bounties, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 971 | crate::migrations::v4::pre_migration::, _>(old_pallet_name, new_pallet_name); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Bounties` [INFO] [stdout] --> src/tests.rs:972:42 [INFO] [stdout] | [INFO] [stdout] 972 | crate::migrations::v4::migrate::(old_pallet_name, 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:366:11 [INFO] [stdout] | [INFO] [stdout] 366 | pub type Bounties, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 972 | crate::migrations::v4::migrate::, _>(old_pallet_name, new_pallet_name); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Bounties` [INFO] [stdout] --> src/tests.rs:973:49 [INFO] [stdout] | [INFO] [stdout] 973 | crate::migrations::v4::post_migration::( [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:366:11 [INFO] [stdout] | [INFO] [stdout] 366 | pub type Bounties, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 973 | crate::migrations::v4::post_migration::, _>( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:986:29 [INFO] [stdout] | [INFO] [stdout] 986 | 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:997:14 [INFO] [stdout] | [INFO] [stdout] 997 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:997:37 [INFO] [stdout] | [INFO] [stdout] 997 | 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:998:14 [INFO] [stdout] | [INFO] [stdout] 998 | 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:998:49 [INFO] [stdout] | [INFO] [stdout] 998 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1005:3 [INFO] [stdout] | [INFO] [stdout] 1005 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1005:35 [INFO] [stdout] | [INFO] [stdout] 1005 | 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 `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1006:24 [INFO] [stdout] | [INFO] [stdout] 1006 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1006:39 [INFO] [stdout] | [INFO] [stdout] 1006 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1007:24 [INFO] [stdout] | [INFO] [stdout] 1007 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1007:39 [INFO] [stdout] | [INFO] [stdout] 1007 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1011:24 [INFO] [stdout] | [INFO] [stdout] 1011 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 1, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1011:40 [INFO] [stdout] | [INFO] [stdout] 1011 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 1, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1012:24 [INFO] [stdout] | [INFO] [stdout] 1012 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1012:39 [INFO] [stdout] | [INFO] [stdout] 1012 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(1), 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:1014:14 [INFO] [stdout] | [INFO] [stdout] 1014 | assert_eq!(Balances::free_balance(1), 93); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1015:14 [INFO] [stdout] | [INFO] [stdout] 1015 | assert_eq!(Balances::reserved_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unassign_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1019:24 [INFO] [stdout] | [INFO] [stdout] 1019 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1019:41 [INFO] [stdout] | [INFO] [stdout] 1019 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::signed(1), 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:1033:14 [INFO] [stdout] | [INFO] [stdout] 1033 | assert_eq!(Balances::free_balance(1), 98); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1034:14 [INFO] [stdout] | [INFO] [stdout] 1034 | assert_eq!(Balances::reserved_balance(1), 0); // not slashed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1049:3 [INFO] [stdout] | [INFO] [stdout] 1049 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1049:35 [INFO] [stdout] | [INFO] [stdout] 1049 | 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:1050:3 [INFO] [stdout] | [INFO] [stdout] 1050 | Balances::make_free_balance_be(&user, 100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1053:24 [INFO] [stdout] | [INFO] [stdout] 1053 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), value, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1053:39 [INFO] [stdout] | [INFO] [stdout] 1053 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), value, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1054:24 [INFO] [stdout] | [INFO] [stdout] 1054 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), bounty_index)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1054:39 [INFO] [stdout] | [INFO] [stdout] 1054 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), bounty_index)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1058:24 [INFO] [stdout] | [INFO] [stdout] 1058 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), bounty_index, user, fee)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1058:40 [INFO] [stdout] | [INFO] [stdout] 1058 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), bounty_index, user, fee)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1059:24 [INFO] [stdout] | [INFO] [stdout] 1059 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(user), bounty_index)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1059:39 [INFO] [stdout] | [INFO] [stdout] 1059 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(user), bounty_index)); [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:1062:14 [INFO] [stdout] | [INFO] [stdout] 1062 | assert_eq!(Balances::free_balance(&user), 100 - expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1063:14 [INFO] [stdout] | [INFO] [stdout] 1063 | assert_eq!(Balances::reserved_balance(&user), expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1071:3 [INFO] [stdout] | [INFO] [stdout] 1071 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1071:35 [INFO] [stdout] | [INFO] [stdout] 1071 | 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:1072:3 [INFO] [stdout] | [INFO] [stdout] 1072 | Balances::make_free_balance_be(&user, 100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1074:24 [INFO] [stdout] | [INFO] [stdout] 1074 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), value, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1074:39 [INFO] [stdout] | [INFO] [stdout] 1074 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), value, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1075:24 [INFO] [stdout] | [INFO] [stdout] 1075 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), bounty_index)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1075:39 [INFO] [stdout] | [INFO] [stdout] 1075 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), bounty_index)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1079:24 [INFO] [stdout] | [INFO] [stdout] 1079 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), bounty_index, user, fee)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1079:40 [INFO] [stdout] | [INFO] [stdout] 1079 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), bounty_index, user, fee)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1080:24 [INFO] [stdout] | [INFO] [stdout] 1080 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(user), bounty_index)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1080:39 [INFO] [stdout] | [INFO] [stdout] 1080 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(user), bounty_index)); [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:1083:14 [INFO] [stdout] | [INFO] [stdout] 1083 | assert_eq!(Balances::free_balance(&user), 100 - expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1084:14 [INFO] [stdout] | [INFO] [stdout] 1084 | assert_eq!(Balances::reserved_balance(&user), expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1093:3 [INFO] [stdout] | [INFO] [stdout] 1093 | Balances::make_free_balance_be(&Treasury::account_id(), value * 2); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1093:35 [INFO] [stdout] | [INFO] [stdout] 1093 | Balances::make_free_balance_be(&Treasury::account_id(), value * 2); [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:1094:3 [INFO] [stdout] | [INFO] [stdout] 1094 | Balances::make_free_balance_be(&user, starting_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1095:3 [INFO] [stdout] | [INFO] [stdout] 1095 | Balances::make_free_balance_be(&0, starting_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1099:24 [INFO] [stdout] | [INFO] [stdout] 1099 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), value, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1099:39 [INFO] [stdout] | [INFO] [stdout] 1099 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), value, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1100:24 [INFO] [stdout] | [INFO] [stdout] 1100 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), bounty_index)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1100:39 [INFO] [stdout] | [INFO] [stdout] 1100 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), bounty_index)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1104:24 [INFO] [stdout] | [INFO] [stdout] 1104 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), bounty_index, user, fee)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1104:40 [INFO] [stdout] | [INFO] [stdout] 1104 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), bounty_index, user, fee)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1105:24 [INFO] [stdout] | [INFO] [stdout] 1105 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(user), bounty_index)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1105:39 [INFO] [stdout] | [INFO] [stdout] 1105 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(user), bounty_index)); [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:1108:14 [INFO] [stdout] | [INFO] [stdout] 1108 | assert_eq!(Balances::free_balance(&user), starting_balance - expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1109:14 [INFO] [stdout] | [INFO] [stdout] 1109 | assert_eq!(Balances::reserved_balance(&user), expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1119:3 [INFO] [stdout] | [INFO] [stdout] 1119 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1119:35 [INFO] [stdout] | [INFO] [stdout] 1119 | 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:1120:3 [INFO] [stdout] | [INFO] [stdout] 1120 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury1` [INFO] [stdout] --> src/tests.rs:1120:35 [INFO] [stdout] | [INFO] [stdout] 1120 | 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:1121:14 [INFO] [stdout] | [INFO] [stdout] 1121 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1121:38 [INFO] [stdout] | [INFO] [stdout] 1121 | 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:1122:14 [INFO] [stdout] | [INFO] [stdout] 1122 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury1` [INFO] [stdout] --> src/tests.rs:1122:38 [INFO] [stdout] | [INFO] [stdout] 1122 | 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 `Bounties1` [INFO] [stdout] --> src/tests.rs:1124:14 [INFO] [stdout] | [INFO] [stdout] 1124 | assert_ok!(Bounties1::propose_bounty(RuntimeOrigin::signed(0), 10, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Bounties1` [INFO] [stdout] | help: a type alias with a similar name exists: `Bounties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1124:40 [INFO] [stdout] | [INFO] [stdout] 1124 | assert_ok!(Bounties1::propose_bounty(RuntimeOrigin::signed(0), 10, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties1` [INFO] [stdout] --> src/tests.rs:1125:14 [INFO] [stdout] | [INFO] [stdout] 1125 | assert_ok!(Bounties1::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Bounties1` [INFO] [stdout] | help: a type alias with a similar name exists: `Bounties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1125:40 [INFO] [stdout] | [INFO] [stdout] 1125 | assert_ok!(Bounties1::approve_bounty(RuntimeOrigin::root(), 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:1130:14 [INFO] [stdout] | [INFO] [stdout] 1130 | assert_eq!(Balances::free_balance(Bounties1::bounty_account_id(0)), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties1` [INFO] [stdout] --> src/tests.rs:1130:37 [INFO] [stdout] | [INFO] [stdout] 1130 | assert_eq!(Balances::free_balance(Bounties1::bounty_account_id(0)), 10); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Bounties1` [INFO] [stdout] | help: a type alias with a similar name exists: `Bounties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1132:14 [INFO] [stdout] | [INFO] [stdout] 1132 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1132:38 [INFO] [stdout] | [INFO] [stdout] 1132 | 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:1134:14 [INFO] [stdout] | [INFO] [stdout] 1134 | assert_eq!(Balances::free_balance(&Treasury1::account_id()), 201 - 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury1` [INFO] [stdout] --> src/tests.rs:1134:38 [INFO] [stdout] | [INFO] [stdout] 1134 | assert_eq!(Balances::free_balance(&Treasury1::account_id()), 201 - 10); [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:1141:3 [INFO] [stdout] | [INFO] [stdout] 1141 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1141:35 [INFO] [stdout] | [INFO] [stdout] 1141 | 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:1142:14 [INFO] [stdout] | [INFO] [stdout] 1142 | 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 `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1144:24 [INFO] [stdout] | [INFO] [stdout] 1144 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 51, b"123".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1144:39 [INFO] [stdout] | [INFO] [stdout] 1144 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 51, b"123".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1148:14 [INFO] [stdout] | [INFO] [stdout] 1148 | Bounties::approve_bounty(RuntimeOrigin::root(), 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1148:29 [INFO] [stdout] | [INFO] [stdout] 1148 | Bounties::approve_bounty(RuntimeOrigin::root(), 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:1157:3 [INFO] [stdout] | [INFO] [stdout] 1157 | Balances::make_free_balance_be(&Treasury1::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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury1` [INFO] [stdout] --> src/tests.rs:1157:35 [INFO] [stdout] | [INFO] [stdout] 1157 | Balances::make_free_balance_be(&Treasury1::account_id(), 101); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Treasury1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury1` [INFO] [stdout] --> src/tests.rs:1158:14 [INFO] [stdout] | [INFO] [stdout] 1158 | assert_eq!(Treasury1::pot(), 100); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Treasury1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties1` [INFO] [stdout] --> src/tests.rs:1160:14 [INFO] [stdout] | [INFO] [stdout] 1160 | assert_ok!(Bounties1::propose_bounty(RuntimeOrigin::signed(0), 51, b"123".to_vec())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Bounties1` [INFO] [stdout] | help: a type alias with a similar name exists: `Bounties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1160:40 [INFO] [stdout] | [INFO] [stdout] 1160 | assert_ok!(Bounties1::propose_bounty(RuntimeOrigin::signed(0), 51, b"123".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties1` [INFO] [stdout] --> src/tests.rs:1164:4 [INFO] [stdout] | [INFO] [stdout] 1164 | Bounties1::approve_bounty(RuntimeOrigin::root(), 0), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Bounties1` [INFO] [stdout] | help: a type alias with a similar name exists: `Bounties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1164:30 [INFO] [stdout] | [INFO] [stdout] 1164 | Bounties1::approve_bounty(RuntimeOrigin::root(), 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:1173:3 [INFO] [stdout] | [INFO] [stdout] 1173 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1173:35 [INFO] [stdout] | [INFO] [stdout] 1173 | 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 `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1177:24 [INFO] [stdout] | [INFO] [stdout] 1177 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 51, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1177:39 [INFO] [stdout] | [INFO] [stdout] 1177 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 51, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1178:24 [INFO] [stdout] | [INFO] [stdout] 1178 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1178:39 [INFO] [stdout] | [INFO] [stdout] 1178 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1185:14 [INFO] [stdout] | [INFO] [stdout] 1185 | Bounties::propose_curator(RuntimeOrigin::root(), 0, 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1185:30 [INFO] [stdout] | [INFO] [stdout] 1185 | Bounties::propose_curator(RuntimeOrigin::root(), 0, 0, 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:1194:3 [INFO] [stdout] | [INFO] [stdout] 1194 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1194:35 [INFO] [stdout] | [INFO] [stdout] 1194 | 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 `Bounties1` [INFO] [stdout] --> src/tests.rs:1198:14 [INFO] [stdout] | [INFO] [stdout] 1198 | assert_ok!(Bounties1::propose_bounty(RuntimeOrigin::signed(0), 11, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Bounties1` [INFO] [stdout] | help: a type alias with a similar name exists: `Bounties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1198:40 [INFO] [stdout] | [INFO] [stdout] 1198 | assert_ok!(Bounties1::propose_bounty(RuntimeOrigin::signed(0), 11, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties1` [INFO] [stdout] --> src/tests.rs:1199:14 [INFO] [stdout] | [INFO] [stdout] 1199 | assert_ok!(Bounties1::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Bounties1` [INFO] [stdout] | help: a type alias with a similar name exists: `Bounties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1199:40 [INFO] [stdout] | [INFO] [stdout] 1199 | assert_ok!(Bounties1::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties1` [INFO] [stdout] --> src/tests.rs:1206:4 [INFO] [stdout] | [INFO] [stdout] 1206 | Bounties1::propose_curator(RuntimeOrigin::root(), 0, 0, 0), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Bounties1` [INFO] [stdout] | help: a type alias with a similar name exists: `Bounties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1206:31 [INFO] [stdout] | [INFO] [stdout] 1206 | Bounties1::propose_curator(RuntimeOrigin::root(), 0, 0, 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:1218:3 [INFO] [stdout] | [INFO] [stdout] 1218 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1218:35 [INFO] [stdout] | [INFO] [stdout] 1218 | 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 `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1220:24 [INFO] [stdout] | [INFO] [stdout] 1220 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1220:39 [INFO] [stdout] | [INFO] [stdout] 1220 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty_with_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1222:14 [INFO] [stdout] | [INFO] [stdout] 1222 | Bounties::approve_bounty_with_curator(RuntimeOrigin::signed(1), 0, curator, 10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty_with_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1222:42 [INFO] [stdout] | [INFO] [stdout] 1222 | Bounties::approve_bounty_with_curator(RuntimeOrigin::signed(1), 0, curator, 10), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty_with_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1228:14 [INFO] [stdout] | [INFO] [stdout] 1228 | Bounties::approve_bounty_with_curator(RuntimeOrigin::root(), 0, curator, 10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty_with_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1228:42 [INFO] [stdout] | [INFO] [stdout] 1228 | Bounties::approve_bounty_with_curator(RuntimeOrigin::root(), 0, curator, 10), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty_with_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1234:14 [INFO] [stdout] | [INFO] [stdout] 1234 | Bounties::approve_bounty_with_curator(RuntimeOrigin::root(), 0, curator, 51), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty_with_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1234:42 [INFO] [stdout] | [INFO] [stdout] 1234 | Bounties::approve_bounty_with_curator(RuntimeOrigin::root(), 0, curator, 51), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty_with_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1239:24 [INFO] [stdout] | [INFO] [stdout] 1239 | assert_ok!(Bounties::approve_bounty_with_curator(RuntimeOrigin::root(), 0, curator, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty_with_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1239:52 [INFO] [stdout] | [INFO] [stdout] 1239 | assert_ok!(Bounties::approve_bounty_with_curator(RuntimeOrigin::root(), 0, curator, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty_with_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1260:14 [INFO] [stdout] | [INFO] [stdout] 1260 | Bounties::approve_bounty_with_curator(RuntimeOrigin::root(), 0, curator, 10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty_with_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1260:42 [INFO] [stdout] | [INFO] [stdout] 1260 | Bounties::approve_bounty_with_curator(RuntimeOrigin::root(), 0, curator, 10), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1283:14 [INFO] [stdout] | [INFO] [stdout] 1283 | Bounties::accept_curator(RuntimeOrigin::signed(curator), 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1283:29 [INFO] [stdout] | [INFO] [stdout] 1283 | Bounties::accept_curator(RuntimeOrigin::signed(curator), 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:1286:3 [INFO] [stdout] | [INFO] [stdout] 1286 | Balances::make_free_balance_be(&curator, 6); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1287:24 [INFO] [stdout] | [INFO] [stdout] 1287 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(curator), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1287:39 [INFO] [stdout] | [INFO] [stdout] 1287 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(curator), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `award_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1301:24 [INFO] [stdout] | [INFO] [stdout] 1301 | assert_ok!(Bounties::award_bounty(RuntimeOrigin::signed(curator), 0, 5)); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `award_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1301:37 [INFO] [stdout] | [INFO] [stdout] 1301 | assert_ok!(Bounties::award_bounty(RuntimeOrigin::signed(curator), 0, 5)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `claim_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1304:24 [INFO] [stdout] | [INFO] [stdout] 1304 | assert_ok!(Bounties::claim_bounty(RuntimeOrigin::signed(curator), 0)); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `claim_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1304:37 [INFO] [stdout] | [INFO] [stdout] 1304 | assert_ok!(Bounties::claim_bounty(RuntimeOrigin::signed(curator), 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:1309:14 [INFO] [stdout] | [INFO] [stdout] 1309 | assert_eq!(Balances::free_balance(5), 40); // 50 - 10 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1319:3 [INFO] [stdout] | [INFO] [stdout] 1319 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1319:35 [INFO] [stdout] | [INFO] [stdout] 1319 | 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 `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1321:24 [INFO] [stdout] | [INFO] [stdout] 1321 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1321:39 [INFO] [stdout] | [INFO] [stdout] 1321 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty_with_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1322:24 [INFO] [stdout] | [INFO] [stdout] 1322 | assert_ok!(Bounties::approve_bounty_with_curator(RuntimeOrigin::root(), 0, curator, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty_with_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1322:52 [INFO] [stdout] | [INFO] [stdout] 1322 | assert_ok!(Bounties::approve_bounty_with_curator(RuntimeOrigin::root(), 0, curator, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unassign_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1325:24 [INFO] [stdout] | [INFO] [stdout] 1325 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1325:41 [INFO] [stdout] | [INFO] [stdout] 1325 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1359:24 [INFO] [stdout] | [INFO] [stdout] 1359 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, new_curator, new_fee)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1359:40 [INFO] [stdout] | [INFO] [stdout] 1359 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, new_curator, new_fee)); [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:1385:3 [INFO] [stdout] | [INFO] [stdout] 1385 | 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: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1385:35 [INFO] [stdout] | [INFO] [stdout] 1385 | 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 `propose_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1387:24 [INFO] [stdout] | [INFO] [stdout] 1387 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1387:39 [INFO] [stdout] | [INFO] [stdout] 1387 | assert_ok!(Bounties::propose_bounty(RuntimeOrigin::signed(0), 50, b"12345".to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `approve_bounty_with_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1388:24 [INFO] [stdout] | [INFO] [stdout] 1388 | assert_ok!(Bounties::approve_bounty_with_curator(RuntimeOrigin::root(), 0, curator, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.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 `approve_bounty_with_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-649039b31ba46188.long-type-2231173346201380834.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1388:52 [INFO] [stdout] | [INFO] [stdout] 1388 | assert_ok!(Bounties::approve_bounty_with_curator(RuntimeOrigin::root(), 0, curator, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unassign_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:1405:24 [INFO] [stdout] | [INFO] [stdout] 1405 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::signed(curator), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageMap<_GeneratedPrefixForStorageBounties<_, _>, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageMap<_GeneratedPrefixForStorageBounties<_, _>, frame_support::Twox64Concat, u32, Bounty<_, _, _>>` 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-42.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [WARN] too many lines in the log, truncating it