[INFO] fetching crate pallet-bounties 39.0.0... [INFO] testing pallet-bounties-39.0.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pallet-bounties 39.0.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate pallet-bounties 39.0.0 [INFO] finished tweaking crates.io crate pallet-bounties 39.0.0 [INFO] tweaked toml for crates.io crate pallet-bounties 39.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-bounties 39.0.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 359 packages to latest compatible versions [INFO] [stderr] Adding unicode-normalization v0.1.22 (available: v0.1.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pallet-treasury v39.0.0 [INFO] [stderr] Downloaded frame-benchmarking v40.2.0 [INFO] [stderr] Downloaded sp-api-proc-macro v22.0.1 [INFO] [stderr] Downloaded frame-support-procedural v33.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 215ac9a3836bf5bb841be9cb4a13ba81022a91c53a33a8eccef84df30060d8f5 [INFO] running `Command { std: "docker" "start" "-a" "215ac9a3836bf5bb841be9cb4a13ba81022a91c53a33a8eccef84df30060d8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "215ac9a3836bf5bb841be9cb4a13ba81022a91c53a33a8eccef84df30060d8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "215ac9a3836bf5bb841be9cb4a13ba81022a91c53a33a8eccef84df30060d8f5", kill_on_drop: false }` [INFO] [stdout] 215ac9a3836bf5bb841be9cb4a13ba81022a91c53a33a8eccef84df30060d8f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 429cd4e9c5e5d05ac55c324dbb6fe0400b40eef03807448a9075d9f7cb216755 [INFO] running `Command { std: "docker" "start" "-a" "429cd4e9c5e5d05ac55c324dbb6fe0400b40eef03807448a9075d9f7cb216755", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling trie-root v0.18.0 [INFO] [stderr] Compiling memory-db v0.32.0 [INFO] [stderr] Compiling trie-db v0.30.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v40.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling schnellru v0.2.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling tuplex v0.1.2 [INFO] [stderr] Compiling simple-mermaid v0.1.1 [INFO] [stderr] Compiling proc-macro-warning v1.84.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parity-wasm v0.45.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling dyn-clonable v0.9.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v22.0.1 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v33.0.1 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling sp-wasm-interface v21.0.1 [INFO] [stderr] Compiling sp-tracing v17.1.0 [INFO] [stderr] Compiling binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling bounded-collections v0.2.4 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling sp-arithmetic v26.1.0 [INFO] [stderr] Compiling frame-metadata v20.0.0 [INFO] [stderr] Compiling sp-runtime-interface v29.0.1 [INFO] [stderr] Compiling sp-core v36.1.0 [INFO] [stderr] Compiling sp-weights v31.1.0 [INFO] [stderr] Compiling sp-metadata-ir v0.10.0 [INFO] [stderr] Compiling sp-trie v39.1.0 [INFO] [stderr] Compiling sp-keystore v0.42.0 [INFO] [stderr] Compiling sp-state-machine v0.45.0 [INFO] [stderr] Compiling sp-application-crypto v40.1.0 [INFO] [stderr] Compiling sp-runtime v41.1.0 [INFO] [stderr] Compiling sp-version v39.0.0 [INFO] [stderr] Compiling sp-staking v38.0.0 [INFO] [stderr] Compiling sp-inherents v36.0.0 [INFO] [stderr] Compiling sp-api v36.0.1 [INFO] [stderr] Compiling sp-genesis-builder v0.17.0 [INFO] [stderr] Compiling frame-support v40.1.0 [INFO] [stderr] Compiling frame-system v40.1.0 [INFO] [stderr] Compiling pallet-balances v41.1.0 [INFO] [stderr] Compiling pallet-treasury v39.0.0 [INFO] [stderr] Compiling pallet-bounties v39.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: trie-db v0.30.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "429cd4e9c5e5d05ac55c324dbb6fe0400b40eef03807448a9075d9f7cb216755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "429cd4e9c5e5d05ac55c324dbb6fe0400b40eef03807448a9075d9f7cb216755", kill_on_drop: false }` [INFO] [stdout] 429cd4e9c5e5d05ac55c324dbb6fe0400b40eef03807448a9075d9f7cb216755 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 807919fc6fbdb3a2330971b76c09bca2dd956b096f8b88d57b3acb71c954e921 [INFO] running `Command { std: "docker" "start" "-a" "807919fc6fbdb3a2330971b76c09bca2dd956b096f8b88d57b3acb71c954e921", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-bounties v39.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:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | 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:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | 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:277:14 [INFO] [stdout] | [INFO] [stdout] 277 | 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-40.1.0/src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs: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-40.1.0/src/lib.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs: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-40.1.0/src/lib.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/tests.rs: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-40.1.0/src/lib.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/tests.rs: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-40.1.0/src/lib.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs: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:305:2 [INFO] [stdout] | [INFO] [stdout] 305 | 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:305:2 [INFO] [stdout] | [INFO] [stdout] 305 | 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:336:2 [INFO] [stdout] | [INFO] [stdout] 336 | / pub type Bounties, I: 'static = ()> = StorageMap< [INFO] [stdout] 337 | | _, [INFO] [stdout] 338 | | Twox64Concat, [INFO] [stdout] 339 | | BountyIndex, [INFO] [stdout] 340 | | Bounty, BlockNumberFor>, [INFO] [stdout] 341 | | >; [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:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | 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:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:305:2 [INFO] [stdout] | [INFO] [stdout] 305 | 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] 144 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 144 - type RuntimeEvent = RuntimeEvent; [INFO] [stdout] 144 + 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:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | 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:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:305:2 [INFO] [stdout] | [INFO] [stdout] 305 | 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] 160 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 160 - type RuntimeEvent = RuntimeEvent; [INFO] [stdout] 160 + 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:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | 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] 175 | 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:176:46 [INFO] [stdout] | [INFO] [stdout] 176 | 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] 176 | 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:188:43 [INFO] [stdout] | [INFO] [stdout] 188 | 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:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | ::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:215:47 [INFO] [stdout] | [INFO] [stdout] 215 | 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] 215 | 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:216:16 [INFO] [stdout] | [INFO] [stdout] 216 | 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:228:34 [INFO] [stdout] | [INFO] [stdout] 228 | 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] 228 | 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:232:39 [INFO] [stdout] | [INFO] [stdout] 232 | 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] 232 | 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:271:62 [INFO] [stdout] | [INFO] [stdout] 271 | 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] 269 | 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:273:47 [INFO] [stdout] | [INFO] [stdout] 273 | 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] 269 | 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:277:47 [INFO] [stdout] | [INFO] [stdout] 277 | 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] 269 | 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:343:44 [INFO] [stdout] | [INFO] [stdout] 343 | 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] 342 | 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:344:35 [INFO] [stdout] | [INFO] [stdout] 344 | 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] 342 | 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:390:32 [INFO] [stdout] | [INFO] [stdout] 390 | 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] 376 | 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:402:42 [INFO] [stdout] | [INFO] [stdout] 402 | 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] 376 | 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:406:45 [INFO] [stdout] | [INFO] [stdout] 406 | 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] 376 | 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:418:12 [INFO] [stdout] | [INFO] [stdout] 418 | 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] 411 | 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:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | 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] 411 | 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:432:12 [INFO] [stdout] | [INFO] [stdout] 432 | 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] 411 | 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:442:74 [INFO] [stdout] | [INFO] [stdout] 442 | 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] 439 | 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:455:42 [INFO] [stdout] | [INFO] [stdout] 455 | 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] 439 | 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:41 [INFO] [stdout] | [INFO] [stdout] 456 | 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] 439 | 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:458:52 [INFO] [stdout] | [INFO] [stdout] 458 | 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] 439 | 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:468:12 [INFO] [stdout] | [INFO] [stdout] 468 | 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] 463 | 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:478:32 [INFO] [stdout] | [INFO] [stdout] 478 | 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] 463 | 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:488:49 [INFO] [stdout] | [INFO] [stdout] 488 | 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] 463 | 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:492:12 [INFO] [stdout] | [INFO] [stdout] 492 | 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] 463 | 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:506:32 [INFO] [stdout] | [INFO] [stdout] 506 | 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] 463 | 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:529:12 [INFO] [stdout] | [INFO] [stdout] 529 | 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] 523 | 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:540:12 [INFO] [stdout] | [INFO] [stdout] 540 | 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] 523 | 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:547:32 [INFO] [stdout] | [INFO] [stdout] 547 | 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] 523 | 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:560:12 [INFO] [stdout] | [INFO] [stdout] 560 | 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] 523 | 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:564:4 [INFO] [stdout] | [INFO] [stdout] 564 | 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] 564 - pallet_balances::Error::::InsufficientBalance [INFO] [stdout] 564 + Error::::InsufficientBalance [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:564:29 [INFO] [stdout] | [INFO] [stdout] 564 | 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] 523 | 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:574:32 [INFO] [stdout] | [INFO] [stdout] 574 | 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] 523 | 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:607:32 [INFO] [stdout] | [INFO] [stdout] 607 | 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] 591 | 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:625:32 [INFO] [stdout] | [INFO] [stdout] 625 | 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] 591 | 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:661:12 [INFO] [stdout] | [INFO] [stdout] 661 | 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] 642 | 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:667:32 [INFO] [stdout] | [INFO] [stdout] 667 | 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] 642 | 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:678:77 [INFO] [stdout] | [INFO] [stdout] 678 | 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] 642 | 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:700:42 [INFO] [stdout] | [INFO] [stdout] 700 | 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] 642 | 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:52 [INFO] [stdout] | [INFO] [stdout] 701 | 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] 642 | 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:738:42 [INFO] [stdout] | [INFO] [stdout] 738 | 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] 706 | 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:739:52 [INFO] [stdout] | [INFO] [stdout] 739 | 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] 706 | 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:761:32 [INFO] [stdout] | [INFO] [stdout] 761 | 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] 744 | 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:804:12 [INFO] [stdout] | [INFO] [stdout] 804 | 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] 784 | 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:819:42 [INFO] [stdout] | [INFO] [stdout] 819 | 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] 784 | 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:52 [INFO] [stdout] | [INFO] [stdout] 820 | 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] 784 | 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:844:12 [INFO] [stdout] | [INFO] [stdout] 844 | 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] 825 | 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:852:32 [INFO] [stdout] | [INFO] [stdout] 852 | 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] 825 | 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:879:12 [INFO] [stdout] | [INFO] [stdout] 879 | 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] 869 | 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:894:12 [INFO] [stdout] | [INFO] [stdout] 894 | 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] 869 | 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:899:32 [INFO] [stdout] | [INFO] [stdout] 899 | 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] 869 | 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:913:32 [INFO] [stdout] | [INFO] [stdout] 913 | 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] 869 | 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:928:12 [INFO] [stdout] | [INFO] [stdout] 928 | 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] 869 | 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:953:35 [INFO] [stdout] | [INFO] [stdout] 953 | (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] 938 | 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:954:32 [INFO] [stdout] | [INFO] [stdout] 954 | (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] 938 | 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:42 [INFO] [stdout] | [INFO] [stdout] 955 | (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] 938 | 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:957:39 [INFO] [stdout] | [INFO] [stdout] 957 | 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] 938 | 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:966:26 [INFO] [stdout] | [INFO] [stdout] 966 | 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:970:42 [INFO] [stdout] | [INFO] [stdout] 970 | 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] 938 | 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:971:36 [INFO] [stdout] | [INFO] [stdout] 971 | 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] 938 | 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:43 [INFO] [stdout] | [INFO] [stdout] 972 | 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] 938 | 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:981:44 [INFO] [stdout] | [INFO] [stdout] 981 | 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] 980 | 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:983:35 [INFO] [stdout] | [INFO] [stdout] 983 | 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] 980 | 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:990:35 [INFO] [stdout] | [INFO] [stdout] 990 | 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] 980 | 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:1021:32 [INFO] [stdout] | [INFO] [stdout] 1021 | 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] 1002 | 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:1126:4 [INFO] [stdout] | [INFO] [stdout] 1126 | >::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:1200:4 [INFO] [stdout] | [INFO] [stdout] 1200 | >::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:1216:3 [INFO] [stdout] | [INFO] [stdout] 1216 | 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:1234:12 [INFO] [stdout] | [INFO] [stdout] 1234 | 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] 1212 | 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:1237:49 [INFO] [stdout] | [INFO] [stdout] 1237 | 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] 1212 | 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:1239:49 [INFO] [stdout] | [INFO] [stdout] 1239 | 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] 1212 | 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:1242:32 [INFO] [stdout] | [INFO] [stdout] 1242 | 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] 1212 | 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:1260:12 [INFO] [stdout] | [INFO] [stdout] 1260 | 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] 1212 | 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:1263:3 [INFO] [stdout] | [INFO] [stdout] 1263 | 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:1264:4 [INFO] [stdout] | [INFO] [stdout] 1264 | >::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:1265:49 [INFO] [stdout] | [INFO] [stdout] 1265 | 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] 1212 | 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:1270:32 [INFO] [stdout] | [INFO] [stdout] 1270 | 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] 1212 | 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:1283:4 [INFO] [stdout] | [INFO] [stdout] 1283 | 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] 1283 - pallet_balances::Error::::InsufficientBalance [INFO] [stdout] 1283 + Error::::InsufficientBalance [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1283:29 [INFO] [stdout] | [INFO] [stdout] 1283 | 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] 1212 | 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:1289:32 [INFO] [stdout] | [INFO] [stdout] 1289 | 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] 1212 | 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:1301:3 [INFO] [stdout] | [INFO] [stdout] 1301 | 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:1302:4 [INFO] [stdout] | [INFO] [stdout] 1302 | >::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:1317:3 [INFO] [stdout] | [INFO] [stdout] 1317 | 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:1327:32 [INFO] [stdout] | [INFO] [stdout] 1327 | 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] 1313 | 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:1340:3 [INFO] [stdout] | [INFO] [stdout] 1340 | 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:1341:4 [INFO] [stdout] | [INFO] [stdout] 1341 | >::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:1344:32 [INFO] [stdout] | [INFO] [stdout] 1344 | 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] 1313 | 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:1361:32 [INFO] [stdout] | [INFO] [stdout] 1361 | 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] 1313 | 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:1383:3 [INFO] [stdout] | [INFO] [stdout] 1383 | 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:1389:3 [INFO] [stdout] | [INFO] [stdout] 1389 | 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:1390:4 [INFO] [stdout] | [INFO] [stdout] 1390 | >::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:1393:32 [INFO] [stdout] | [INFO] [stdout] 1393 | 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] 1379 | 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:1406:32 [INFO] [stdout] | [INFO] [stdout] 1406 | 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] 1379 | 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:1444:32 [INFO] [stdout] | [INFO] [stdout] 1444 | 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] 1421 | 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:1449:44 [INFO] [stdout] | [INFO] [stdout] 1449 | 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] 1421 | 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:1458:4 [INFO] [stdout] | [INFO] [stdout] 1458 | >::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:1466:32 [INFO] [stdout] | [INFO] [stdout] 1466 | 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] 1421 | 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:1467:65 [INFO] [stdout] | [INFO] [stdout] 1467 | 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] 1421 | 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:1479:32 [INFO] [stdout] | [INFO] [stdout] 1479 | 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] 1421 | 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:65 [INFO] [stdout] | [INFO] [stdout] 1480 | 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] 1421 | fn accept_curator_sets_update_due_correctly() { [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:336:11 [INFO] [stdout] | [INFO] [stdout] 336 | 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:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is an associated function `try_mutate` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/map.rs:211:2 [INFO] [stdout] | [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties1` [INFO] [stdout] --> src/tests.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | 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:240:14 [INFO] [stdout] | [INFO] [stdout] 240 | 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:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | 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:249:3 [INFO] [stdout] | [INFO] [stdout] 249 | 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:249:35 [INFO] [stdout] | [INFO] [stdout] 249 | 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:250:14 [INFO] [stdout] | [INFO] [stdout] 250 | 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:258:3 [INFO] [stdout] | [INFO] [stdout] 258 | 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:258:35 [INFO] [stdout] | [INFO] [stdout] 258 | 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:260:16 [INFO] [stdout] | [INFO] [stdout] 260 | 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:260:38 [INFO] [stdout] | [INFO] [stdout] 260 | 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:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | 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:264:14 [INFO] [stdout] | [INFO] [stdout] 264 | 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:272:3 [INFO] [stdout] | [INFO] [stdout] 272 | 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:272:35 [INFO] [stdout] | [INFO] [stdout] 272 | 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:276:14 [INFO] [stdout] | [INFO] [stdout] 276 | 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:285:3 [INFO] [stdout] | [INFO] [stdout] 285 | 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:285:35 [INFO] [stdout] | [INFO] [stdout] 285 | 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:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | 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:288:16 [INFO] [stdout] | [INFO] [stdout] 288 | 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:288:38 [INFO] [stdout] | [INFO] [stdout] 288 | 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:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | 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:292:14 [INFO] [stdout] | [INFO] [stdout] 292 | 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:300:3 [INFO] [stdout] | [INFO] [stdout] 300 | 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:300:35 [INFO] [stdout] | [INFO] [stdout] 300 | 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:301:14 [INFO] [stdout] | [INFO] [stdout] 301 | 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:303:16 [INFO] [stdout] | [INFO] [stdout] 303 | 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:303:38 [INFO] [stdout] | [INFO] [stdout] 303 | 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:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | 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:308:14 [INFO] [stdout] | [INFO] [stdout] 308 | 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:308:47 [INFO] [stdout] | [INFO] [stdout] 308 | 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:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | 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:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | 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:321:3 [INFO] [stdout] | [INFO] [stdout] 321 | 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:321:35 [INFO] [stdout] | [INFO] [stdout] 321 | 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:322:14 [INFO] [stdout] | [INFO] [stdout] 322 | 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:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | 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:323:50 [INFO] [stdout] | [INFO] [stdout] 323 | 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:325:16 [INFO] [stdout] | [INFO] [stdout] 325 | 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:325:38 [INFO] [stdout] | [INFO] [stdout] 325 | 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:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | 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:330:16 [INFO] [stdout] | [INFO] [stdout] 330 | 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:330:38 [INFO] [stdout] | [INFO] [stdout] 330 | 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:330:61 [INFO] [stdout] | [INFO] [stdout] 330 | 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:333:14 [INFO] [stdout] | [INFO] [stdout] 333 | 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:334:14 [INFO] [stdout] | [INFO] [stdout] 334 | 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:334:37 [INFO] [stdout] | [INFO] [stdout] 334 | 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:354:14 [INFO] [stdout] | [INFO] [stdout] 354 | 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:354:37 [INFO] [stdout] | [INFO] [stdout] 354 | 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:355:14 [INFO] [stdout] | [INFO] [stdout] 355 | 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:357:16 [INFO] [stdout] | [INFO] [stdout] 357 | 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:357:38 [INFO] [stdout] | [INFO] [stdout] 357 | 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:358:16 [INFO] [stdout] | [INFO] [stdout] 358 | 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:358:38 [INFO] [stdout] | [INFO] [stdout] 358 | 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:361:14 [INFO] [stdout] | [INFO] [stdout] 361 | 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:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | 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:364:3 [INFO] [stdout] | [INFO] [stdout] 364 | 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:364:35 [INFO] [stdout] | [INFO] [stdout] 364 | 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:365:14 [INFO] [stdout] | [INFO] [stdout] 365 | 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:366:14 [INFO] [stdout] | [INFO] [stdout] 366 | 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:366:37 [INFO] [stdout] | [INFO] [stdout] 366 | 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:370:14 [INFO] [stdout] | [INFO] [stdout] 370 | 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:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | 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:378:3 [INFO] [stdout] | [INFO] [stdout] 378 | 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:378:35 [INFO] [stdout] | [INFO] [stdout] 378 | 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:379:14 [INFO] [stdout] | [INFO] [stdout] 379 | 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:381:24 [INFO] [stdout] | [INFO] [stdout] 381 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:381:39 [INFO] [stdout] | [INFO] [stdout] 381 | 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:386:14 [INFO] [stdout] | [INFO] [stdout] 386 | 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:387:14 [INFO] [stdout] | [INFO] [stdout] 387 | 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:413:3 [INFO] [stdout] | [INFO] [stdout] 413 | 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:413:35 [INFO] [stdout] | [INFO] [stdout] 413 | 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:414:14 [INFO] [stdout] | [INFO] [stdout] 414 | 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:417:14 [INFO] [stdout] | [INFO] [stdout] 417 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:417:29 [INFO] [stdout] | [INFO] [stdout] 417 | 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:422:14 [INFO] [stdout] | [INFO] [stdout] 422 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | 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:431:14 [INFO] [stdout] | [INFO] [stdout] 431 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:431:29 [INFO] [stdout] | [INFO] [stdout] 431 | 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:441:3 [INFO] [stdout] | [INFO] [stdout] 441 | 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:441:35 [INFO] [stdout] | [INFO] [stdout] 441 | 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:442:26 [INFO] [stdout] | [INFO] [stdout] 442 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:442:39 [INFO] [stdout] | [INFO] [stdout] 442 | 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:444:24 [INFO] [stdout] | [INFO] [stdout] 444 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:444:39 [INFO] [stdout] | [INFO] [stdout] 444 | 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:446:24 [INFO] [stdout] | [INFO] [stdout] 446 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:446:37 [INFO] [stdout] | [INFO] [stdout] 446 | 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:452:14 [INFO] [stdout] | [INFO] [stdout] 452 | 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:453:14 [INFO] [stdout] | [INFO] [stdout] 453 | 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:465:3 [INFO] [stdout] | [INFO] [stdout] 465 | 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:465:35 [INFO] [stdout] | [INFO] [stdout] 465 | 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:467:14 [INFO] [stdout] | [INFO] [stdout] 467 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:467:29 [INFO] [stdout] | [INFO] [stdout] 467 | 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:471:24 [INFO] [stdout] | [INFO] [stdout] 471 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:471:39 [INFO] [stdout] | [INFO] [stdout] 471 | 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:473:24 [INFO] [stdout] | [INFO] [stdout] 473 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:473:39 [INFO] [stdout] | [INFO] [stdout] 473 | 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:491:14 [INFO] [stdout] | [INFO] [stdout] 491 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:491:27 [INFO] [stdout] | [INFO] [stdout] 491 | 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:496:14 [INFO] [stdout] | [INFO] [stdout] 496 | 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:497:14 [INFO] [stdout] | [INFO] [stdout] 497 | 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:502:14 [INFO] [stdout] | [INFO] [stdout] 502 | 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:503:14 [INFO] [stdout] | [INFO] [stdout] 503 | 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:517:14 [INFO] [stdout] | [INFO] [stdout] 517 | 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:518:14 [INFO] [stdout] | [INFO] [stdout] 518 | 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:518:47 [INFO] [stdout] | [INFO] [stdout] 518 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:525:3 [INFO] [stdout] | [INFO] [stdout] 525 | 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:525:35 [INFO] [stdout] | [INFO] [stdout] 525 | 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:528:14 [INFO] [stdout] | [INFO] [stdout] 528 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:528:30 [INFO] [stdout] | [INFO] [stdout] 528 | 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:532:24 [INFO] [stdout] | [INFO] [stdout] 532 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:532:39 [INFO] [stdout] | [INFO] [stdout] 532 | 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:534:24 [INFO] [stdout] | [INFO] [stdout] 534 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:534:39 [INFO] [stdout] | [INFO] [stdout] 534 | 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:539:14 [INFO] [stdout] | [INFO] [stdout] 539 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:539:30 [INFO] [stdout] | [INFO] [stdout] 539 | 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:544:24 [INFO] [stdout] | [INFO] [stdout] 544 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:544:40 [INFO] [stdout] | [INFO] [stdout] 544 | 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:559:14 [INFO] [stdout] | [INFO] [stdout] 559 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:559:29 [INFO] [stdout] | [INFO] [stdout] 559 | 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:563:14 [INFO] [stdout] | [INFO] [stdout] 563 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:563:29 [INFO] [stdout] | [INFO] [stdout] 563 | 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:567:3 [INFO] [stdout] | [INFO] [stdout] 567 | 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:569:24 [INFO] [stdout] | [INFO] [stdout] 569 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:569:39 [INFO] [stdout] | [INFO] [stdout] 569 | 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:571:36 [INFO] [stdout] | [INFO] [stdout] 571 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:585:14 [INFO] [stdout] | [INFO] [stdout] 585 | 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:586:14 [INFO] [stdout] | [INFO] [stdout] 586 | 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:593:3 [INFO] [stdout] | [INFO] [stdout] 593 | 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:593:35 [INFO] [stdout] | [INFO] [stdout] 593 | 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:594:24 [INFO] [stdout] | [INFO] [stdout] 594 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:594:39 [INFO] [stdout] | [INFO] [stdout] 594 | 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:596:24 [INFO] [stdout] | [INFO] [stdout] 596 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:596:39 [INFO] [stdout] | [INFO] [stdout] 596 | 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:602:24 [INFO] [stdout] | [INFO] [stdout] 602 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:602:40 [INFO] [stdout] | [INFO] [stdout] 602 | 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:603:26 [INFO] [stdout] | [INFO] [stdout] 603 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:603:43 [INFO] [stdout] | [INFO] [stdout] 603 | 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:604:24 [INFO] [stdout] | [INFO] [stdout] 604 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:604:41 [INFO] [stdout] | [INFO] [stdout] 604 | 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:618:24 [INFO] [stdout] | [INFO] [stdout] 618 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:618:40 [INFO] [stdout] | [INFO] [stdout] 618 | 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:619:3 [INFO] [stdout] | [INFO] [stdout] 619 | 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:620:24 [INFO] [stdout] | [INFO] [stdout] 620 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:620:39 [INFO] [stdout] | [INFO] [stdout] 620 | 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:621:36 [INFO] [stdout] | [INFO] [stdout] 621 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unassign_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:622:24 [INFO] [stdout] | [INFO] [stdout] 622 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:622:41 [INFO] [stdout] | [INFO] [stdout] 622 | 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:636:14 [INFO] [stdout] | [INFO] [stdout] 636 | 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:637:14 [INFO] [stdout] | [INFO] [stdout] 637 | 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:644:3 [INFO] [stdout] | [INFO] [stdout] 644 | 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:644:35 [INFO] [stdout] | [INFO] [stdout] 644 | 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:645:3 [INFO] [stdout] | [INFO] [stdout] 645 | 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:646:24 [INFO] [stdout] | [INFO] [stdout] 646 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:646:39 [INFO] [stdout] | [INFO] [stdout] 646 | 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:648:24 [INFO] [stdout] | [INFO] [stdout] 648 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:648:39 [INFO] [stdout] | [INFO] [stdout] 648 | 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:653:24 [INFO] [stdout] | [INFO] [stdout] 653 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:653:40 [INFO] [stdout] | [INFO] [stdout] 653 | 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:654:24 [INFO] [stdout] | [INFO] [stdout] 654 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:654:39 [INFO] [stdout] | [INFO] [stdout] 654 | 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:656:36 [INFO] [stdout] | [INFO] [stdout] 656 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:657:14 [INFO] [stdout] | [INFO] [stdout] 657 | 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:660:14 [INFO] [stdout] | [INFO] [stdout] 660 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `award_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:660:27 [INFO] [stdout] | [INFO] [stdout] 660 | 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:664:24 [INFO] [stdout] | [INFO] [stdout] 664 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `award_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:664:37 [INFO] [stdout] | [INFO] [stdout] 664 | 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:678:26 [INFO] [stdout] | [INFO] [stdout] 678 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `claim_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:678:39 [INFO] [stdout] | [INFO] [stdout] 678 | 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:682:14 [INFO] [stdout] | [INFO] [stdout] 682 | 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:683:4 [INFO] [stdout] | [INFO] [stdout] 683 | 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:684:14 [INFO] [stdout] | [INFO] [stdout] 684 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `claim_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:688:24 [INFO] [stdout] | [INFO] [stdout] 688 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `claim_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:688:37 [INFO] [stdout] | [INFO] [stdout] 688 | 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:695:14 [INFO] [stdout] | [INFO] [stdout] 695 | 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:697:14 [INFO] [stdout] | [INFO] [stdout] 697 | 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:698:14 [INFO] [stdout] | [INFO] [stdout] 698 | 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:698:47 [INFO] [stdout] | [INFO] [stdout] 698 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:708:3 [INFO] [stdout] | [INFO] [stdout] 708 | 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:708:35 [INFO] [stdout] | [INFO] [stdout] 708 | 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:709:3 [INFO] [stdout] | [INFO] [stdout] 709 | 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:710:24 [INFO] [stdout] | [INFO] [stdout] 710 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:710:39 [INFO] [stdout] | [INFO] [stdout] 710 | 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:712:24 [INFO] [stdout] | [INFO] [stdout] 712 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:712:39 [INFO] [stdout] | [INFO] [stdout] 712 | 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:716:24 [INFO] [stdout] | [INFO] [stdout] 716 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:716:40 [INFO] [stdout] | [INFO] [stdout] 716 | 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:717:24 [INFO] [stdout] | [INFO] [stdout] 717 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:717:39 [INFO] [stdout] | [INFO] [stdout] 717 | 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:719:24 [INFO] [stdout] | [INFO] [stdout] 719 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `award_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:719:37 [INFO] [stdout] | [INFO] [stdout] 719 | 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:724:13 [INFO] [stdout] | [INFO] [stdout] 724 | 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:724:40 [INFO] [stdout] | [INFO] [stdout] 724 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `claim_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:727:24 [INFO] [stdout] | [INFO] [stdout] 727 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `claim_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:727:37 [INFO] [stdout] | [INFO] [stdout] 727 | 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:734:14 [INFO] [stdout] | [INFO] [stdout] 734 | 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:735:14 [INFO] [stdout] | [INFO] [stdout] 735 | 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:736:14 [INFO] [stdout] | [INFO] [stdout] 736 | 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:736:47 [INFO] [stdout] | [INFO] [stdout] 736 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:746:3 [INFO] [stdout] | [INFO] [stdout] 746 | 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:746:35 [INFO] [stdout] | [INFO] [stdout] 746 | 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:748:24 [INFO] [stdout] | [INFO] [stdout] 748 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:748:39 [INFO] [stdout] | [INFO] [stdout] 748 | 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:750:24 [INFO] [stdout] | [INFO] [stdout] 750 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:750:39 [INFO] [stdout] | [INFO] [stdout] 750 | 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:754:14 [INFO] [stdout] | [INFO] [stdout] 754 | 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:755:4 [INFO] [stdout] | [INFO] [stdout] 755 | 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:756:14 [INFO] [stdout] | [INFO] [stdout] 756 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:772:14 [INFO] [stdout] | [INFO] [stdout] 772 | 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:772:47 [INFO] [stdout] | [INFO] [stdout] 772 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:774:26 [INFO] [stdout] | [INFO] [stdout] 774 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:774:39 [INFO] [stdout] | [INFO] [stdout] 774 | 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:776:24 [INFO] [stdout] | [INFO] [stdout] 776 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:776:37 [INFO] [stdout] | [INFO] [stdout] 776 | 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:779:14 [INFO] [stdout] | [INFO] [stdout] 779 | 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:786:3 [INFO] [stdout] | [INFO] [stdout] 786 | 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:786:35 [INFO] [stdout] | [INFO] [stdout] 786 | 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:787:24 [INFO] [stdout] | [INFO] [stdout] 787 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:787:39 [INFO] [stdout] | [INFO] [stdout] 787 | 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:789:24 [INFO] [stdout] | [INFO] [stdout] 789 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:789:39 [INFO] [stdout] | [INFO] [stdout] 789 | 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:793:24 [INFO] [stdout] | [INFO] [stdout] 793 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:793:40 [INFO] [stdout] | [INFO] [stdout] 793 | 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:794:24 [INFO] [stdout] | [INFO] [stdout] 794 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:794:39 [INFO] [stdout] | [INFO] [stdout] 794 | 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:796:14 [INFO] [stdout] | [INFO] [stdout] 796 | 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:797:14 [INFO] [stdout] | [INFO] [stdout] 797 | 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:799:24 [INFO] [stdout] | [INFO] [stdout] 799 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `award_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:799:37 [INFO] [stdout] | [INFO] [stdout] 799 | 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:803:14 [INFO] [stdout] | [INFO] [stdout] 803 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:803:27 [INFO] [stdout] | [INFO] [stdout] 803 | 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:808:24 [INFO] [stdout] | [INFO] [stdout] 808 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:808:41 [INFO] [stdout] | [INFO] [stdout] 808 | 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:809:24 [INFO] [stdout] | [INFO] [stdout] 809 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:809:37 [INFO] [stdout] | [INFO] [stdout] 809 | 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:813:14 [INFO] [stdout] | [INFO] [stdout] 813 | 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:813:47 [INFO] [stdout] | [INFO] [stdout] 813 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:816:14 [INFO] [stdout] | [INFO] [stdout] 816 | 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:817:14 [INFO] [stdout] | [INFO] [stdout] 817 | 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:827:3 [INFO] [stdout] | [INFO] [stdout] 827 | 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:827:35 [INFO] [stdout] | [INFO] [stdout] 827 | 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:828:24 [INFO] [stdout] | [INFO] [stdout] 828 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:828:39 [INFO] [stdout] | [INFO] [stdout] 828 | 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:830:24 [INFO] [stdout] | [INFO] [stdout] 830 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:830:39 [INFO] [stdout] | [INFO] [stdout] 830 | 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:834:24 [INFO] [stdout] | [INFO] [stdout] 834 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:834:40 [INFO] [stdout] | [INFO] [stdout] 834 | 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:835:24 [INFO] [stdout] | [INFO] [stdout] 835 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:835:39 [INFO] [stdout] | [INFO] [stdout] 835 | 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:837:14 [INFO] [stdout] | [INFO] [stdout] 837 | 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:838:14 [INFO] [stdout] | [INFO] [stdout] 838 | 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:843:14 [INFO] [stdout] | [INFO] [stdout] 843 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:843:31 [INFO] [stdout] | [INFO] [stdout] 843 | 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:849:24 [INFO] [stdout] | [INFO] [stdout] 849 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:849:41 [INFO] [stdout] | [INFO] [stdout] 849 | 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:863:14 [INFO] [stdout] | [INFO] [stdout] 863 | 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:864:14 [INFO] [stdout] | [INFO] [stdout] 864 | 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:871:3 [INFO] [stdout] | [INFO] [stdout] 871 | 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:871:35 [INFO] [stdout] | [INFO] [stdout] 871 | 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:872:3 [INFO] [stdout] | [INFO] [stdout] 872 | 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:873:24 [INFO] [stdout] | [INFO] [stdout] 873 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:873:39 [INFO] [stdout] | [INFO] [stdout] 873 | 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:875:24 [INFO] [stdout] | [INFO] [stdout] 875 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:875:39 [INFO] [stdout] | [INFO] [stdout] 875 | 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:878:14 [INFO] [stdout] | [INFO] [stdout] 878 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `extend_bounty_expiry`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:878:35 [INFO] [stdout] | [INFO] [stdout] 878 | 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:884:24 [INFO] [stdout] | [INFO] [stdout] 884 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:884:40 [INFO] [stdout] | [INFO] [stdout] 884 | 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:885:24 [INFO] [stdout] | [INFO] [stdout] 885 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:885:39 [INFO] [stdout] | [INFO] [stdout] 885 | 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:887:14 [INFO] [stdout] | [INFO] [stdout] 887 | 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:888:14 [INFO] [stdout] | [INFO] [stdout] 888 | 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:893:14 [INFO] [stdout] | [INFO] [stdout] 893 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `extend_bounty_expiry`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:893:35 [INFO] [stdout] | [INFO] [stdout] 893 | 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:896:24 [INFO] [stdout] | [INFO] [stdout] 896 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `extend_bounty_expiry`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:896:45 [INFO] [stdout] | [INFO] [stdout] 896 | 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:910:24 [INFO] [stdout] | [INFO] [stdout] 910 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `extend_bounty_expiry`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:910:45 [INFO] [stdout] | [INFO] [stdout] 910 | 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:927:14 [INFO] [stdout] | [INFO] [stdout] 927 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:927:31 [INFO] [stdout] | [INFO] [stdout] 927 | 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:930:24 [INFO] [stdout] | [INFO] [stdout] 930 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:930:41 [INFO] [stdout] | [INFO] [stdout] 930 | 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:932:14 [INFO] [stdout] | [INFO] [stdout] 932 | 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:933:14 [INFO] [stdout] | [INFO] [stdout] 933 | 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:970:48 [INFO] [stdout] | [INFO] [stdout] 970 | 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:336:11 [INFO] [stdout] | [INFO] [stdout] 336 | pub type Bounties, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 970 | 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:971:42 [INFO] [stdout] | [INFO] [stdout] 971 | 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:336:11 [INFO] [stdout] | [INFO] [stdout] 336 | pub type Bounties, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 971 | 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:972:49 [INFO] [stdout] | [INFO] [stdout] 972 | 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:336:11 [INFO] [stdout] | [INFO] [stdout] 336 | pub type Bounties, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 972 | 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:985:29 [INFO] [stdout] | [INFO] [stdout] 985 | 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:996:14 [INFO] [stdout] | [INFO] [stdout] 996 | 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:996:37 [INFO] [stdout] | [INFO] [stdout] 996 | 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:997:14 [INFO] [stdout] | [INFO] [stdout] 997 | 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:997:49 [INFO] [stdout] | [INFO] [stdout] 997 | 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:1004:3 [INFO] [stdout] | [INFO] [stdout] 1004 | 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:1004:35 [INFO] [stdout] | [INFO] [stdout] 1004 | 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:1005:24 [INFO] [stdout] | [INFO] [stdout] 1005 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1005:39 [INFO] [stdout] | [INFO] [stdout] 1005 | 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:1006:24 [INFO] [stdout] | [INFO] [stdout] 1006 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1006:39 [INFO] [stdout] | [INFO] [stdout] 1006 | 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:1010:24 [INFO] [stdout] | [INFO] [stdout] 1010 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1010:40 [INFO] [stdout] | [INFO] [stdout] 1010 | 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:1011:24 [INFO] [stdout] | [INFO] [stdout] 1011 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1011:39 [INFO] [stdout] | [INFO] [stdout] 1011 | 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:1013:14 [INFO] [stdout] | [INFO] [stdout] 1013 | 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:1014:14 [INFO] [stdout] | [INFO] [stdout] 1014 | 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:1018:24 [INFO] [stdout] | [INFO] [stdout] 1018 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1018:41 [INFO] [stdout] | [INFO] [stdout] 1018 | 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:1032:14 [INFO] [stdout] | [INFO] [stdout] 1032 | 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:1033:14 [INFO] [stdout] | [INFO] [stdout] 1033 | 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:1048:3 [INFO] [stdout] | [INFO] [stdout] 1048 | 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:1048:35 [INFO] [stdout] | [INFO] [stdout] 1048 | 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:1049:3 [INFO] [stdout] | [INFO] [stdout] 1049 | 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:1052:24 [INFO] [stdout] | [INFO] [stdout] 1052 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1052:39 [INFO] [stdout] | [INFO] [stdout] 1052 | 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:1053:24 [INFO] [stdout] | [INFO] [stdout] 1053 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1053:39 [INFO] [stdout] | [INFO] [stdout] 1053 | 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:1057:24 [INFO] [stdout] | [INFO] [stdout] 1057 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1057:40 [INFO] [stdout] | [INFO] [stdout] 1057 | 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:1058:24 [INFO] [stdout] | [INFO] [stdout] 1058 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1058:39 [INFO] [stdout] | [INFO] [stdout] 1058 | 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:1061:14 [INFO] [stdout] | [INFO] [stdout] 1061 | 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:1062:14 [INFO] [stdout] | [INFO] [stdout] 1062 | 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:1070:3 [INFO] [stdout] | [INFO] [stdout] 1070 | 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:1070:35 [INFO] [stdout] | [INFO] [stdout] 1070 | 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:1071:3 [INFO] [stdout] | [INFO] [stdout] 1071 | 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:1073:24 [INFO] [stdout] | [INFO] [stdout] 1073 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1073:39 [INFO] [stdout] | [INFO] [stdout] 1073 | 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:1074:24 [INFO] [stdout] | [INFO] [stdout] 1074 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1074:39 [INFO] [stdout] | [INFO] [stdout] 1074 | 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:1078:24 [INFO] [stdout] | [INFO] [stdout] 1078 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1078:40 [INFO] [stdout] | [INFO] [stdout] 1078 | 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:1079:24 [INFO] [stdout] | [INFO] [stdout] 1079 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1079:39 [INFO] [stdout] | [INFO] [stdout] 1079 | 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:1082:14 [INFO] [stdout] | [INFO] [stdout] 1082 | 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:1083:14 [INFO] [stdout] | [INFO] [stdout] 1083 | 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:1092:3 [INFO] [stdout] | [INFO] [stdout] 1092 | 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:1092:35 [INFO] [stdout] | [INFO] [stdout] 1092 | 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:1093:3 [INFO] [stdout] | [INFO] [stdout] 1093 | 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:1094:3 [INFO] [stdout] | [INFO] [stdout] 1094 | 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:1098:24 [INFO] [stdout] | [INFO] [stdout] 1098 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1098:39 [INFO] [stdout] | [INFO] [stdout] 1098 | 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:1099:24 [INFO] [stdout] | [INFO] [stdout] 1099 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1099:39 [INFO] [stdout] | [INFO] [stdout] 1099 | 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:1103:24 [INFO] [stdout] | [INFO] [stdout] 1103 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1103:40 [INFO] [stdout] | [INFO] [stdout] 1103 | 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:1104:24 [INFO] [stdout] | [INFO] [stdout] 1104 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1104:39 [INFO] [stdout] | [INFO] [stdout] 1104 | 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:1107:14 [INFO] [stdout] | [INFO] [stdout] 1107 | 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:1108:14 [INFO] [stdout] | [INFO] [stdout] 1108 | 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:1118:3 [INFO] [stdout] | [INFO] [stdout] 1118 | 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:1118:35 [INFO] [stdout] | [INFO] [stdout] 1118 | 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:1119:3 [INFO] [stdout] | [INFO] [stdout] 1119 | 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:1119:35 [INFO] [stdout] | [INFO] [stdout] 1119 | 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:1120:14 [INFO] [stdout] | [INFO] [stdout] 1120 | 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:1120:38 [INFO] [stdout] | [INFO] [stdout] 1120 | 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:1121:14 [INFO] [stdout] | [INFO] [stdout] 1121 | 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:1121:38 [INFO] [stdout] | [INFO] [stdout] 1121 | 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:1123:14 [INFO] [stdout] | [INFO] [stdout] 1123 | 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:1123:40 [INFO] [stdout] | [INFO] [stdout] 1123 | 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:1124:14 [INFO] [stdout] | [INFO] [stdout] 1124 | 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:1124:40 [INFO] [stdout] | [INFO] [stdout] 1124 | 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:1129:14 [INFO] [stdout] | [INFO] [stdout] 1129 | 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:1129:37 [INFO] [stdout] | [INFO] [stdout] 1129 | 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:1131:14 [INFO] [stdout] | [INFO] [stdout] 1131 | 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:1131:38 [INFO] [stdout] | [INFO] [stdout] 1131 | 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:1133:14 [INFO] [stdout] | [INFO] [stdout] 1133 | 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:1133:38 [INFO] [stdout] | [INFO] [stdout] 1133 | 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:1140:3 [INFO] [stdout] | [INFO] [stdout] 1140 | 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:1140:35 [INFO] [stdout] | [INFO] [stdout] 1140 | 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:1141:14 [INFO] [stdout] | [INFO] [stdout] 1141 | 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:1143:24 [INFO] [stdout] | [INFO] [stdout] 1143 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1143:39 [INFO] [stdout] | [INFO] [stdout] 1143 | 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:1147:14 [INFO] [stdout] | [INFO] [stdout] 1147 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1147:29 [INFO] [stdout] | [INFO] [stdout] 1147 | 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:1156:3 [INFO] [stdout] | [INFO] [stdout] 1156 | 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:1156:35 [INFO] [stdout] | [INFO] [stdout] 1156 | 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:1157:14 [INFO] [stdout] | [INFO] [stdout] 1157 | 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:1159:14 [INFO] [stdout] | [INFO] [stdout] 1159 | 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:1159:40 [INFO] [stdout] | [INFO] [stdout] 1159 | 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:1163:4 [INFO] [stdout] | [INFO] [stdout] 1163 | 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:1163:30 [INFO] [stdout] | [INFO] [stdout] 1163 | 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:1172:3 [INFO] [stdout] | [INFO] [stdout] 1172 | 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:1172:35 [INFO] [stdout] | [INFO] [stdout] 1172 | 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:1176:24 [INFO] [stdout] | [INFO] [stdout] 1176 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1176:39 [INFO] [stdout] | [INFO] [stdout] 1176 | 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:1177:24 [INFO] [stdout] | [INFO] [stdout] 1177 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1177:39 [INFO] [stdout] | [INFO] [stdout] 1177 | 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:1184:14 [INFO] [stdout] | [INFO] [stdout] 1184 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1184:30 [INFO] [stdout] | [INFO] [stdout] 1184 | 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:1193:3 [INFO] [stdout] | [INFO] [stdout] 1193 | 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:1193:35 [INFO] [stdout] | [INFO] [stdout] 1193 | 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:1197:14 [INFO] [stdout] | [INFO] [stdout] 1197 | 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:1197:40 [INFO] [stdout] | [INFO] [stdout] 1197 | 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:1198:14 [INFO] [stdout] | [INFO] [stdout] 1198 | 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:1198:40 [INFO] [stdout] | [INFO] [stdout] 1198 | 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:1205:4 [INFO] [stdout] | [INFO] [stdout] 1205 | 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:1205:31 [INFO] [stdout] | [INFO] [stdout] 1205 | 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:1217:3 [INFO] [stdout] | [INFO] [stdout] 1217 | 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:1217:35 [INFO] [stdout] | [INFO] [stdout] 1217 | 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:1219:24 [INFO] [stdout] | [INFO] [stdout] 1219 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1219:39 [INFO] [stdout] | [INFO] [stdout] 1219 | 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:1221:14 [INFO] [stdout] | [INFO] [stdout] 1221 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty_with_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1221:42 [INFO] [stdout] | [INFO] [stdout] 1221 | 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:1227:14 [INFO] [stdout] | [INFO] [stdout] 1227 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty_with_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1227:42 [INFO] [stdout] | [INFO] [stdout] 1227 | 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:1233:14 [INFO] [stdout] | [INFO] [stdout] 1233 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty_with_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1233:42 [INFO] [stdout] | [INFO] [stdout] 1233 | 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:1238:24 [INFO] [stdout] | [INFO] [stdout] 1238 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty_with_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1238:52 [INFO] [stdout] | [INFO] [stdout] 1238 | 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:1259:14 [INFO] [stdout] | [INFO] [stdout] 1259 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty_with_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1259:42 [INFO] [stdout] | [INFO] [stdout] 1259 | 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:1282:14 [INFO] [stdout] | [INFO] [stdout] 1282 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1282:29 [INFO] [stdout] | [INFO] [stdout] 1282 | 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:1285:3 [INFO] [stdout] | [INFO] [stdout] 1285 | 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:1286:24 [INFO] [stdout] | [INFO] [stdout] 1286 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1286:39 [INFO] [stdout] | [INFO] [stdout] 1286 | 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:1300:24 [INFO] [stdout] | [INFO] [stdout] 1300 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `award_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1300:37 [INFO] [stdout] | [INFO] [stdout] 1300 | 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:1303:24 [INFO] [stdout] | [INFO] [stdout] 1303 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `claim_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1303:37 [INFO] [stdout] | [INFO] [stdout] 1303 | 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:1308:14 [INFO] [stdout] | [INFO] [stdout] 1308 | 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:1318:3 [INFO] [stdout] | [INFO] [stdout] 1318 | 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:1318:35 [INFO] [stdout] | [INFO] [stdout] 1318 | 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:1320:24 [INFO] [stdout] | [INFO] [stdout] 1320 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1320:39 [INFO] [stdout] | [INFO] [stdout] 1320 | 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:1321:24 [INFO] [stdout] | [INFO] [stdout] 1321 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty_with_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1321:52 [INFO] [stdout] | [INFO] [stdout] 1321 | 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:1324:24 [INFO] [stdout] | [INFO] [stdout] 1324 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1324:41 [INFO] [stdout] | [INFO] [stdout] 1324 | 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:1358:24 [INFO] [stdout] | [INFO] [stdout] 1358 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1358:40 [INFO] [stdout] | [INFO] [stdout] 1358 | 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:1384:3 [INFO] [stdout] | [INFO] [stdout] 1384 | 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:1384:35 [INFO] [stdout] | [INFO] [stdout] 1384 | 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:1386:24 [INFO] [stdout] | [INFO] [stdout] 1386 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1386:39 [INFO] [stdout] | [INFO] [stdout] 1386 | 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:1387:24 [INFO] [stdout] | [INFO] [stdout] 1387 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty_with_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1387:52 [INFO] [stdout] | [INFO] [stdout] 1387 | 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:1404:24 [INFO] [stdout] | [INFO] [stdout] 1404 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1404:41 [INFO] [stdout] | [INFO] [stdout] 1404 | assert_ok!(Bounties::unassign_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:1428:3 [INFO] [stdout] | [INFO] [stdout] 1428 | 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:1428:35 [INFO] [stdout] | [INFO] [stdout] 1428 | 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:1429:3 [INFO] [stdout] | [INFO] [stdout] 1429 | Balances::make_free_balance_be(&curator, 12); [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:1430:24 [INFO] [stdout] | [INFO] [stdout] 1430 | assert_ok!(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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1431:4 [INFO] [stdout] | [INFO] [stdout] 1431 | RuntimeOrigin::signed(proposer), [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:1435:24 [INFO] [stdout] | [INFO] [stdout] 1435 | 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1435:39 [INFO] [stdout] | [INFO] [stdout] 1435 | 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:1437:24 [INFO] [stdout] | [INFO] [stdout] 1437 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), bounty_id, curator, 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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1437:40 [INFO] [stdout] | [INFO] [stdout] 1437 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), bounty_id, curator, 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:1440:24 [INFO] [stdout] | [INFO] [stdout] 1440 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(curator), bounty_id)); [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-40.1.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1440:39 [INFO] [stdout] | [INFO] [stdout] 1440 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(curator), bounty_id)); [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:1450:3 [INFO] [stdout] | [INFO] [stdout] 1450 | 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:1450:35 [INFO] [stdout] | [INFO] [stdout] 1450 | 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 `Bounties1` [INFO] [stdout] --> src/tests.rs:1451:14 [INFO] [stdout] | [INFO] [stdout] 1451 | assert_ok!(Bounties1::propose_bounty( [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:1452:4 [INFO] [stdout] | [INFO] [stdout] 1452 | RuntimeOrigin::signed(proposer), [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:1456:14 [INFO] [stdout] | [INFO] [stdout] 1456 | assert_ok!(Bounties1::approve_bounty(RuntimeOrigin::root(), bounty_id)); [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:1456:40 [INFO] [stdout] | [INFO] [stdout] 1456 | assert_ok!(Bounties1::approve_bounty(RuntimeOrigin::root(), bounty_id)); [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:1459:14 [INFO] [stdout] | [INFO] [stdout] 1459 | assert_ok!(Bounties1::propose_curator(RuntimeOrigin::root(), bounty_id, curator, fee)); [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:1459:41 [INFO] [stdout] | [INFO] [stdout] 1459 | assert_ok!(Bounties1::propose_curator(RuntimeOrigin::root(), bounty_id, curator, fee)); [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:1462:14 [INFO] [stdout] | [INFO] [stdout] 1462 | assert_ok!(Bounties1::accept_curator(RuntimeOrigin::signed(curator), bounty_id)); [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:1462:40 [INFO] [stdout] | [INFO] [stdout] 1462 | assert_ok!(Bounties1::accept_curator(RuntimeOrigin::signed(curator), bounty_id)); [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:1471:14 [INFO] [stdout] | [INFO] [stdout] 1471 | assert_ok!(Bounties1::extend_bounty_expiry( [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:1472:4 [INFO] [stdout] | [INFO] [stdout] 1472 | RuntimeOrigin::signed(curator), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [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:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent` [INFO] [stdout] --> src/tests.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | |e| if let RuntimeEvent::Bounties(inner) = e.event { Some(inner) } else { None }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `RuntimeEvent` [INFO] [stdout] | help: an enum with a similar name exists: `BountiesEvent` [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:983:2 [INFO] [stdout] | [INFO] [stdout] 983 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | type Currency = pallet_balances::Pallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | type Currency = pallet_balances::Pallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | balances: pallet_balances::GenesisConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:344:2 [INFO] [stdout] | [INFO] [stdout] 344 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-bounties` (lib test) due to 602 previous errors [INFO] running `Command { std: "docker" "inspect" "807919fc6fbdb3a2330971b76c09bca2dd956b096f8b88d57b3acb71c954e921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "807919fc6fbdb3a2330971b76c09bca2dd956b096f8b88d57b3acb71c954e921", kill_on_drop: false }` [INFO] [stdout] 807919fc6fbdb3a2330971b76c09bca2dd956b096f8b88d57b3acb71c954e921