[INFO] fetching crate pallet-bounties 45.0.0... [INFO] testing pallet-bounties-45.0.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate pallet-bounties 45.0.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate pallet-bounties 45.0.0 [INFO] finished tweaking crates.io crate pallet-bounties 45.0.0 [INFO] tweaked toml for crates.io crate pallet-bounties 45.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-bounties 45.0.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-bounties 45.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pallet-balances v47.0.0 [INFO] [stderr] Downloaded pallet-treasury v45.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c28482b6e73bf05c31a7f98fdc932ca29249e955bd271e283534fdcf2fa298ad [INFO] running `Command { std: "docker" "start" "-a" "c28482b6e73bf05c31a7f98fdc932ca29249e955bd271e283534fdcf2fa298ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c28482b6e73bf05c31a7f98fdc932ca29249e955bd271e283534fdcf2fa298ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c28482b6e73bf05c31a7f98fdc932ca29249e955bd271e283534fdcf2fa298ad", kill_on_drop: false }` [INFO] [stdout] c28482b6e73bf05c31a7f98fdc932ca29249e955bd271e283534fdcf2fa298ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 875f868dd01a68c9e1603385f16aaf1e7023eb2702d1eb440e154424f52f148e [INFO] running `Command { std: "docker" "start" "-a" "875f868dd01a68c9e1603385f16aaf1e7023eb2702d1eb440e154424f52f148e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling const-oid v0.9.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sp-debug-derive v15.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling spki v0.7.2 [INFO] [stderr] Compiling crypto-bigint v0.5.2 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling ed25519 v2.2.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling hex-conservative v0.1.1 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling ecdsa v0.16.8 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling jam-codec-derive v0.1.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling sp-storage v23.0.0 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-externalities v0.32.0 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling bip39 v2.2.0 [INFO] [stderr] Compiling substrate-bip39 v0.6.1 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling bounded-collections v0.3.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling array-bytes v6.2.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling sp-core v40.0.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling schnellru v0.2.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.17.7 [INFO] [stderr] Compiling trie-db v0.31.0 [INFO] [stderr] Compiling memory-db v0.34.0 [INFO] [stderr] Compiling trie-root v0.18.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v21.0.0 [INFO] [stderr] Compiling sp-wasm-interface v24.0.0 [INFO] [stderr] Compiling sp-io v45.0.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling sp-keystore v0.46.0 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling sp-tracing v19.0.0 [INFO] [stderr] Compiling sp-trie v43.0.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling sp-runtime-interface v34.0.0 [INFO] [stderr] Compiling sp-arithmetic v28.0.1 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling binary-merkle-tree v16.1.1 [INFO] [stderr] Compiling tuplex v0.1.2 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling simple-mermaid v0.1.1 [INFO] [stderr] Compiling sp-state-machine v0.50.0 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling sp-weights v34.0.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling frame-metadata v23.0.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parity-wasm v0.45.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v27.0.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling sp-metadata-ir v0.12.3 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling frame-support-procedural v37.0.0 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling sp-application-crypto v45.0.0 [INFO] [stderr] Compiling sp-runtime v46.0.0 [INFO] [stderr] Compiling sp-version v44.0.0 [INFO] [stderr] Compiling sp-staking v43.0.0 [INFO] [stderr] Compiling sp-inherents v41.0.0 [INFO] [stderr] Compiling sp-api v41.0.0 [INFO] [stderr] Compiling sp-genesis-builder v0.22.0 [INFO] [stderr] Compiling frame-support v46.0.0 [INFO] [stderr] Compiling frame-system v46.0.0 [INFO] [stderr] Compiling pallet-balances v47.0.0 [INFO] [stderr] Compiling pallet-treasury v45.0.0 [INFO] [stderr] Compiling pallet-bounties v45.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 38s [INFO] running `Command { std: "docker" "inspect" "875f868dd01a68c9e1603385f16aaf1e7023eb2702d1eb440e154424f52f148e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "875f868dd01a68c9e1603385f16aaf1e7023eb2702d1eb440e154424f52f148e", kill_on_drop: false }` [INFO] [stdout] 875f868dd01a68c9e1603385f16aaf1e7023eb2702d1eb440e154424f52f148e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6efd71c8cf22d908e3bc8fe1fc4e30aafb466ecb334f1dd77c5b8a6ec847b69c [INFO] running `Command { std: "docker" "start" "-a" "6efd71c8cf22d908e3bc8fe1fc4e30aafb466ecb334f1dd77c5b8a6ec847b69c", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-bounties v45.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_assets` in this scope [INFO] [stdout] --> src/tests.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | #[derive_impl(pallet_assets::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/tests.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | #[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]: cannot find module or crate `pallet_assets` in this scope [INFO] [stdout] --> src/tests.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | Assets: pallet_assets, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/tests.rs:311:29 [INFO] [stdout] | [INFO] [stdout] 311 | 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]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/tests.rs:313:14 [INFO] [stdout] | [INFO] [stdout] 313 | 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]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/tests.rs:317:14 [INFO] [stdout] | [INFO] [stdout] 317 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:47:47 [INFO] [stdout] | [INFO] [stdout] 47 | 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] 47 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | ::BlockNumberProvider::set_block_number(n); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | >::on_initialize(n); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:375:2 [INFO] [stdout] | [INFO] [stdout] 375 | pub enum Event, I: 'static = ()> { [INFO] [stdout] | --------------------------------------------- similarly named enum `BountiesEvent` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 - type RuntimeEvent = (); [INFO] [stdout] 350 + type BountiesEvent = (); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:2699:2 [INFO] [stdout] | [INFO] [stdout] 2699 | pub type RuntimeCallFor = ::RuntimeCall; [INFO] [stdout] | -------------------------- similarly named type alias `RuntimeCallFor` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:354:20 [INFO] [stdout] | [INFO] [stdout] 354 | type RuntimeCallFor = (); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/tests.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct PalletId(pub [u8; 8]); [INFO] [stdout] | ------------------- similarly named struct `PalletId` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 - type PalletInfo = (); [INFO] [stdout] 356 + type PalletId = (); [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[E0425]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/tests.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | impl pallet_treasury::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:99:42 [INFO] [stdout] | [INFO] [stdout] 99 | 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] 97 | impl pallet_treasury::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:375:2 [INFO] [stdout] | [INFO] [stdout] 375 | 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] 101 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 101 - type RuntimeEvent = RuntimeEvent; [INFO] [stdout] 101 + type RuntimeEvent = BountiesEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 72 | type Balance = u64; [INFO] [stdout] | ------------------- similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 112 | type Paymaster = PayFromAccount; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 112 - type Paymaster = PayFromAccount; [INFO] [stdout] 112 + type Paymaster = PayFromAccount; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 97 | impl pallet_treasury::Config for Test { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:120:45 [INFO] [stdout] | [INFO] [stdout] 120 | impl pallet_treasury::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:122:42 [INFO] [stdout] | [INFO] [stdout] 122 | 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] 120 | impl pallet_treasury::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:375:2 [INFO] [stdout] | [INFO] [stdout] 375 | 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] 124 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 124 - type RuntimeEvent = RuntimeEvent; [INFO] [stdout] 124 + type RuntimeEvent = BountiesEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Bounties1` in this scope [INFO] [stdout] --> src/tests.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | type SpendFunds = Bounties1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:413:2 [INFO] [stdout] | [INFO] [stdout] 413 | / pub type Bounties, I: 'static = ()> = StorageMap< [INFO] [stdout] 414 | | _, [INFO] [stdout] 415 | | Twox64Concat, [INFO] [stdout] 416 | | BountyIndex, [INFO] [stdout] 417 | | Bounty, BlockNumberFor>, [INFO] [stdout] 418 | | >; [INFO] [stdout] | |______- similarly named type alias `Bounties` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 129 - type SpendFunds = Bounties1; [INFO] [stdout] 129 + type SpendFunds = Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:135:34 [INFO] [stdout] | [INFO] [stdout] 72 | type Balance = u64; [INFO] [stdout] | ------------------- similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 135 | type Paymaster = PayFromAccount; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 135 - type Paymaster = PayFromAccount; [INFO] [stdout] 135 + type Paymaster = PayFromAccount; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 120 | impl pallet_treasury::Config for Test { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | 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[E0425]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 72 | type Balance = u64; [INFO] [stdout] | ------------------- similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 157 | fungible::UnionOf, AccountId>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 157 - fungible::UnionOf, AccountId>; [INFO] [stdout] 157 + fungible::UnionOf, AccountId>; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 156 | pub type NativeAndAssets = [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:157:30 [INFO] [stdout] | [INFO] [stdout] 157 | fungible::UnionOf, AccountId>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 156 | pub type NativeAndAssets = [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | impl Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:375:2 [INFO] [stdout] | [INFO] [stdout] 375 | 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] 171 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 171 - type RuntimeEvent = RuntimeEvent; [INFO] [stdout] 171 + type RuntimeEvent = BountiesEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | impl Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:375:2 [INFO] [stdout] | [INFO] [stdout] 375 | 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] 188 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 188 - type RuntimeEvent = RuntimeEvent; [INFO] [stdout] 188 + type RuntimeEvent = BountiesEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:204:45 [INFO] [stdout] | [INFO] [stdout] 204 | 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] 204 | type TreasuryError = pallet_treasury::Error; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:205:46 [INFO] [stdout] | [INFO] [stdout] 205 | 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] 205 | 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:217:43 [INFO] [stdout] | [INFO] [stdout] 217 | let mut ext: sp_io::TestExternalities = RuntimeGenesisConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | ::BlockNumberProvider::set_block_number(1) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:255:47 [INFO] [stdout] | [INFO] [stdout] 255 | 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] 255 | fn last_events(n: usize) -> Vec> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:268:34 [INFO] [stdout] | [INFO] [stdout] 268 | 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] 268 | fn last_event() -> BountiesEvent { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:272:39 [INFO] [stdout] | [INFO] [stdout] 272 | 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] 272 | fn expect_events(e: Vec>) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:311:62 [INFO] [stdout] | [INFO] [stdout] 311 | 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] 309 | fn unused_pot_should_diminish() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:313:47 [INFO] [stdout] | [INFO] [stdout] 313 | 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] 309 | fn unused_pot_should_diminish() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:317:47 [INFO] [stdout] | [INFO] [stdout] 317 | 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] 309 | fn unused_pot_should_diminish() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:383:44 [INFO] [stdout] | [INFO] [stdout] 383 | 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] 382 | fn inexistent_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:384:35 [INFO] [stdout] | [INFO] [stdout] 384 | 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] 382 | fn inexistent_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:430:32 [INFO] [stdout] | [INFO] [stdout] 430 | 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] 416 | fn propose_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:442:42 [INFO] [stdout] | [INFO] [stdout] 442 | 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] 416 | fn propose_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:446:45 [INFO] [stdout] | [INFO] [stdout] 446 | 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] 416 | fn propose_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:458:12 [INFO] [stdout] | [INFO] [stdout] 458 | 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] 451 | fn propose_bounty_validation_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 467 | 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] 451 | fn propose_bounty_validation_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 472 | 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] 451 | fn propose_bounty_validation_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:482:74 [INFO] [stdout] | [INFO] [stdout] 482 | 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] 479 | fn close_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:495:42 [INFO] [stdout] | [INFO] [stdout] 495 | 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] 479 | fn close_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:496:41 [INFO] [stdout] | [INFO] [stdout] 496 | 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] 479 | fn close_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:498:52 [INFO] [stdout] | [INFO] [stdout] 498 | 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] 479 | fn close_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:517:32 [INFO] [stdout] | [INFO] [stdout] 517 | pallet_bounties::Bounties::::get(0).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] 504 | fn close_bounty_with_additional_assets_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:536:36 [INFO] [stdout] | [INFO] [stdout] 536 | assert!(frame_system::Account::::contains_key(pot)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 504 | fn close_bounty_with_additional_assets_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:545:37 [INFO] [stdout] | [INFO] [stdout] 545 | assert!(!frame_system::Account::::contains_key(pot)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 504 | fn close_bounty_with_additional_assets_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:554:37 [INFO] [stdout] | [INFO] [stdout] 554 | assert!(!frame_system::Account::::contains_key(pot)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 504 | fn close_bounty_with_additional_assets_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:563:37 [INFO] [stdout] | [INFO] [stdout] 563 | assert!(!frame_system::Account::::contains_key(pot)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 504 | fn close_bounty_with_additional_assets_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:572:36 [INFO] [stdout] | [INFO] [stdout] 572 | assert!(frame_system::Account::::contains_key(pot)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 504 | fn close_bounty_with_additional_assets_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:582:36 [INFO] [stdout] | [INFO] [stdout] 582 | assert!(frame_system::Account::::contains_key(pot)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 504 | fn close_bounty_with_additional_assets_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:604:32 [INFO] [stdout] | [INFO] [stdout] 604 | pallet_bounties::Bounties::::get(0).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] 591 | fn close_bounty_with_random_references_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:618:29 [INFO] [stdout] | [INFO] [stdout] 618 | frame_system::Account::::mutate(&pot, |a| { [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 close_bounty_with_random_references_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 652 | 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] 647 | fn approve_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:662:32 [INFO] [stdout] | [INFO] [stdout] 662 | 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] 647 | fn approve_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:672:49 [INFO] [stdout] | [INFO] [stdout] 672 | 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] 647 | fn approve_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:676:12 [INFO] [stdout] | [INFO] [stdout] 676 | 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] 647 | fn approve_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:690:32 [INFO] [stdout] | [INFO] [stdout] 690 | 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] 647 | fn approve_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:713:12 [INFO] [stdout] | [INFO] [stdout] 713 | 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] 707 | fn assign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:724:12 [INFO] [stdout] | [INFO] [stdout] 724 | 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] 707 | fn assign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:731:32 [INFO] [stdout] | [INFO] [stdout] 731 | 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] 707 | fn assign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:744:12 [INFO] [stdout] | [INFO] [stdout] 744 | 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] 707 | fn assign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/tests.rs:748:4 [INFO] [stdout] | [INFO] [stdout] 748 | 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 std::error::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] = and 8 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 748 - pallet_balances::Error::::InsufficientBalance [INFO] [stdout] 748 + Error::::InsufficientBalance [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:748:29 [INFO] [stdout] | [INFO] [stdout] 748 | 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] 707 | fn assign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:758:32 [INFO] [stdout] | [INFO] [stdout] 758 | 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] 707 | fn assign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:791:32 [INFO] [stdout] | [INFO] [stdout] 791 | 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] 775 | fn unassign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:809:32 [INFO] [stdout] | [INFO] [stdout] 809 | 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] 775 | fn unassign_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:845:12 [INFO] [stdout] | [INFO] [stdout] 845 | 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] 826 | fn award_and_claim_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:851:32 [INFO] [stdout] | [INFO] [stdout] 851 | pallet_bounties::Bounties::::get(0).unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 826 | fn award_and_claim_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:862:77 [INFO] [stdout] | [INFO] [stdout] 862 | 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] 826 | fn award_and_claim_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:884:42 [INFO] [stdout] | [INFO] [stdout] 884 | 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] 826 | fn award_and_claim_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:885:52 [INFO] [stdout] | [INFO] [stdout] 885 | 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] 826 | fn award_and_claim_bounty_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:922:42 [INFO] [stdout] | [INFO] [stdout] 922 | 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] 890 | fn claim_handles_high_fee() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:923:52 [INFO] [stdout] | [INFO] [stdout] 923 | 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] 890 | fn claim_handles_high_fee() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:945:32 [INFO] [stdout] | [INFO] [stdout] 945 | 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] 928 | fn cancel_and_refund() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:988:12 [INFO] [stdout] | [INFO] [stdout] 988 | 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] 968 | fn award_and_cancel() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1003:42 [INFO] [stdout] | [INFO] [stdout] 1003 | 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] 968 | fn award_and_cancel() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1004:52 [INFO] [stdout] | [INFO] [stdout] 1004 | 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] 968 | fn award_and_cancel() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1028:12 [INFO] [stdout] | [INFO] [stdout] 1028 | 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] 1009 | fn expire_and_unassign() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1036:32 [INFO] [stdout] | [INFO] [stdout] 1036 | 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] 1009 | fn expire_and_unassign() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1063:12 [INFO] [stdout] | [INFO] [stdout] 1063 | 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] 1053 | fn extend_expiry() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1078:12 [INFO] [stdout] | [INFO] [stdout] 1078 | 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] 1053 | fn extend_expiry() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1083:32 [INFO] [stdout] | [INFO] [stdout] 1083 | 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] 1053 | fn extend_expiry() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1097:32 [INFO] [stdout] | [INFO] [stdout] 1097 | 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] 1053 | fn extend_expiry() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1112:12 [INFO] [stdout] | [INFO] [stdout] 1112 | 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] 1053 | fn extend_expiry() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1137:35 [INFO] [stdout] | [INFO] [stdout] 1137 | (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] 1122 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1138:32 [INFO] [stdout] | [INFO] [stdout] 1138 | (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] 1122 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1139:42 [INFO] [stdout] | [INFO] [stdout] 1139 | (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] 1122 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1141:39 [INFO] [stdout] | [INFO] [stdout] 1141 | 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] 1122 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1150:26 [INFO] [stdout] | [INFO] [stdout] 1150 | let old_pallet_name = ::PalletInfo::name::() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1154:42 [INFO] [stdout] | [INFO] [stdout] 1154 | 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] 1122 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1155:36 [INFO] [stdout] | [INFO] [stdout] 1155 | 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] 1122 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1156:43 [INFO] [stdout] | [INFO] [stdout] 1156 | 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] 1122 | fn test_migration_v4() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1165:44 [INFO] [stdout] | [INFO] [stdout] 1165 | 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] 1164 | fn genesis_funding_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1167:35 [INFO] [stdout] | [INFO] [stdout] 1167 | 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] 1164 | fn genesis_funding_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1174:35 [INFO] [stdout] | [INFO] [stdout] 1174 | 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] 1164 | fn genesis_funding_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1205:32 [INFO] [stdout] | [INFO] [stdout] 1205 | 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] 1186 | fn unassign_curator_self() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Treasury1` in this scope [INFO] [stdout] --> src/tests.rs:1310:4 [INFO] [stdout] | [INFO] [stdout] 1310 | >::on_initialize(2); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Treasury1` in this scope [INFO] [stdout] --> src/tests.rs:1384:4 [INFO] [stdout] | [INFO] [stdout] 1384 | >::on_initialize(2); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:1400:3 [INFO] [stdout] | [INFO] [stdout] 1400 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1418:12 [INFO] [stdout] | [INFO] [stdout] 1418 | 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] 1396 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1421:49 [INFO] [stdout] | [INFO] [stdout] 1421 | 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] 1396 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1423:49 [INFO] [stdout] | [INFO] [stdout] 1423 | 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] 1396 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1426:32 [INFO] [stdout] | [INFO] [stdout] 1426 | 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] 1396 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1444:12 [INFO] [stdout] | [INFO] [stdout] 1444 | 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] 1396 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:1447:3 [INFO] [stdout] | [INFO] [stdout] 1447 | 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[E0425]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1448:4 [INFO] [stdout] | [INFO] [stdout] 1448 | >::on_initialize(2); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1449:49 [INFO] [stdout] | [INFO] [stdout] 1449 | 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] 1396 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1454:32 [INFO] [stdout] | [INFO] [stdout] 1454 | 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] 1396 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/tests.rs:1467:4 [INFO] [stdout] | [INFO] [stdout] 1467 | 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 std::error::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] = and 8 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1467 - pallet_balances::Error::::InsufficientBalance [INFO] [stdout] 1467 + Error::::InsufficientBalance [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1467:29 [INFO] [stdout] | [INFO] [stdout] 1467 | 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] 1396 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1473:32 [INFO] [stdout] | [INFO] [stdout] 1473 | 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] 1396 | fn approve_bounty_with_curator_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:1485:3 [INFO] [stdout] | [INFO] [stdout] 1485 | 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[E0425]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1486:4 [INFO] [stdout] | [INFO] [stdout] 1486 | >::on_initialize(5); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:1501:3 [INFO] [stdout] | [INFO] [stdout] 1501 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1511:32 [INFO] [stdout] | [INFO] [stdout] 1511 | 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] 1497 | fn approve_bounty_with_curator_early_unassign_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:1524:3 [INFO] [stdout] | [INFO] [stdout] 1524 | 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[E0425]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1525:4 [INFO] [stdout] | [INFO] [stdout] 1525 | >::on_initialize(2); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1528:32 [INFO] [stdout] | [INFO] [stdout] 1528 | 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] 1497 | fn approve_bounty_with_curator_early_unassign_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1545:32 [INFO] [stdout] | [INFO] [stdout] 1545 | 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] 1497 | fn approve_bounty_with_curator_early_unassign_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:1567:3 [INFO] [stdout] | [INFO] [stdout] 1567 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:1573:3 [INFO] [stdout] | [INFO] [stdout] 1573 | 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[E0425]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1574:4 [INFO] [stdout] | [INFO] [stdout] 1574 | >::on_initialize(2); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1577:32 [INFO] [stdout] | [INFO] [stdout] 1577 | 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] 1563 | fn approve_bounty_with_curator_proposed_unassign_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1590:32 [INFO] [stdout] | [INFO] [stdout] 1590 | 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] 1563 | fn approve_bounty_with_curator_proposed_unassign_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1628:32 [INFO] [stdout] | [INFO] [stdout] 1628 | 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] 1605 | fn accept_curator_sets_update_due_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1633:44 [INFO] [stdout] | [INFO] [stdout] 1633 | 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] 1605 | fn accept_curator_sets_update_due_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Treasury1` in this scope [INFO] [stdout] --> src/tests.rs:1642:4 [INFO] [stdout] | [INFO] [stdout] 1642 | >::on_initialize(6); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1650:32 [INFO] [stdout] | [INFO] [stdout] 1650 | 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] 1605 | fn accept_curator_sets_update_due_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1651:65 [INFO] [stdout] | [INFO] [stdout] 1651 | 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] 1605 | fn accept_curator_sets_update_due_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1663:32 [INFO] [stdout] | [INFO] [stdout] 1663 | 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] 1605 | fn accept_curator_sets_update_due_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1664:65 [INFO] [stdout] | [INFO] [stdout] 1664 | 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] 1605 | fn accept_curator_sets_update_due_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1680:30 [INFO] [stdout] | [INFO] [stdout] 1680 | pallet_bounties::Pallet::::calculate_bounty_deposit(&bounded_description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1670 | fn poke_deposit_fails_for_insufficient_balance() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1687:32 [INFO] [stdout] | [INFO] [stdout] 1687 | 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] 1670 | fn poke_deposit_fails_for_insufficient_balance() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1697:52 [INFO] [stdout] | [INFO] [stdout] 1697 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1670 | fn poke_deposit_fails_for_insufficient_balance() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1698:45 [INFO] [stdout] | [INFO] [stdout] 1698 | 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] 1670 | fn poke_deposit_fails_for_insufficient_balance() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/tests.rs:1706:4 [INFO] [stdout] | [INFO] [stdout] 1706 | 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 std::error::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 22 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] = and 8 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1706 - pallet_balances::Error::::InsufficientBalance [INFO] [stdout] 1706 + Error::::InsufficientBalance [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1706:29 [INFO] [stdout] | [INFO] [stdout] 1706 | 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] 1670 | fn poke_deposit_fails_for_insufficient_balance() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1723:12 [INFO] [stdout] | [INFO] [stdout] 1723 | 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] 1719 | fn poke_deposit_fails_for_non_existent_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1755:42 [INFO] [stdout] | [INFO] [stdout] 1755 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1756:52 [INFO] [stdout] | [INFO] [stdout] 1756 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1757:45 [INFO] [stdout] | [INFO] [stdout] 1757 | 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] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1761:31 [INFO] [stdout] | [INFO] [stdout] 1761 | pallet_bounties::Bounties::::insert(bounty_id, &bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1765:12 [INFO] [stdout] | [INFO] [stdout] 1765 | 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] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1770:31 [INFO] [stdout] | [INFO] [stdout] 1770 | pallet_bounties::Bounties::::insert(bounty_id, &bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1774:12 [INFO] [stdout] | [INFO] [stdout] 1774 | 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] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1779:31 [INFO] [stdout] | [INFO] [stdout] 1779 | pallet_bounties::Bounties::::insert(bounty_id, &bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1783:12 [INFO] [stdout] | [INFO] [stdout] 1783 | 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] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1788:31 [INFO] [stdout] | [INFO] [stdout] 1788 | pallet_bounties::Bounties::::insert(bounty_id, &bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1792:12 [INFO] [stdout] | [INFO] [stdout] 1792 | 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] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1797:31 [INFO] [stdout] | [INFO] [stdout] 1797 | pallet_bounties::Bounties::::insert(bounty_id, &bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1801:12 [INFO] [stdout] | [INFO] [stdout] 1801 | 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] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1806:31 [INFO] [stdout] | [INFO] [stdout] 1806 | pallet_bounties::Bounties::::insert(bounty_id, &bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1810:12 [INFO] [stdout] | [INFO] [stdout] 1810 | 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] 1729 | fn poke_deposit_fails_for_any_status_other_than_proposed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1841:42 [INFO] [stdout] | [INFO] [stdout] 1841 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1816 | fn poke_deposit_works_and_charges_fee_for_unchanged_deposit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1842:52 [INFO] [stdout] | [INFO] [stdout] 1842 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1816 | fn poke_deposit_works_and_charges_fee_for_unchanged_deposit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1843:45 [INFO] [stdout] | [INFO] [stdout] 1843 | 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] 1816 | fn poke_deposit_works_and_charges_fee_for_unchanged_deposit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1852:42 [INFO] [stdout] | [INFO] [stdout] 1852 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1816 | fn poke_deposit_works_and_charges_fee_for_unchanged_deposit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1853:52 [INFO] [stdout] | [INFO] [stdout] 1853 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1816 | fn poke_deposit_works_and_charges_fee_for_unchanged_deposit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1854:45 [INFO] [stdout] | [INFO] [stdout] 1854 | 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] 1816 | fn poke_deposit_works_and_charges_fee_for_unchanged_deposit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1885:42 [INFO] [stdout] | [INFO] [stdout] 1885 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1860 | fn poke_deposit_works_for_deposit_increase() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1886:52 [INFO] [stdout] | [INFO] [stdout] 1886 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1860 | fn poke_deposit_works_for_deposit_increase() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1887:45 [INFO] [stdout] | [INFO] [stdout] 1887 | 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] 1860 | fn poke_deposit_works_for_deposit_increase() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1907:42 [INFO] [stdout] | [INFO] [stdout] 1907 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1860 | fn poke_deposit_works_for_deposit_increase() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1908:52 [INFO] [stdout] | [INFO] [stdout] 1908 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1860 | fn poke_deposit_works_for_deposit_increase() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1909:45 [INFO] [stdout] | [INFO] [stdout] 1909 | 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] 1860 | fn poke_deposit_works_for_deposit_increase() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1941:42 [INFO] [stdout] | [INFO] [stdout] 1941 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1914 | fn poke_deposit_works_for_deposit_decrease() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1942:52 [INFO] [stdout] | [INFO] [stdout] 1942 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1914 | fn poke_deposit_works_for_deposit_decrease() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1943:45 [INFO] [stdout] | [INFO] [stdout] 1943 | 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] 1914 | fn poke_deposit_works_for_deposit_decrease() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1963:42 [INFO] [stdout] | [INFO] [stdout] 1963 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1914 | fn poke_deposit_works_for_deposit_decrease() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1964:52 [INFO] [stdout] | [INFO] [stdout] 1964 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1914 | fn poke_deposit_works_for_deposit_decrease() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1965:45 [INFO] [stdout] | [INFO] [stdout] 1965 | 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] 1914 | fn poke_deposit_works_for_deposit_decrease() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1998:42 [INFO] [stdout] | [INFO] [stdout] 1998 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1970 | fn poke_deposit_works_for_non_proposer() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1999:52 [INFO] [stdout] | [INFO] [stdout] 1999 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1970 | fn poke_deposit_works_for_non_proposer() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2000:45 [INFO] [stdout] | [INFO] [stdout] 2000 | 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] 1970 | fn poke_deposit_works_for_non_proposer() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2020:42 [INFO] [stdout] | [INFO] [stdout] 2020 | assert_eq!(pallet_bounties::Bounties::::get(0).unwrap(), bounty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1970 | fn poke_deposit_works_for_non_proposer() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2021:52 [INFO] [stdout] | [INFO] [stdout] 2021 | assert_eq!(pallet_bounties::BountyDescriptions::::get(0).unwrap(), description); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1970 | fn poke_deposit_works_for_non_proposer() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2022:45 [INFO] [stdout] | [INFO] [stdout] 2022 | 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] 1970 | fn poke_deposit_works_for_non_proposer() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsEnsureOriginWithArg` and `Currency` [INFO] [stdout] --> src/tests.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | AsEnsureOriginWithArg, ConstU32, ConstU64, Currency, Imbalance, OnInitialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnsureSigned` [INFO] [stdout] --> src/tests.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | use frame_system::{pallet_prelude::*, EnsureSigned}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Bounties` [INFO] [stdout] --> src/tests.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | 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:413:11 [INFO] [stdout] | [INFO] [stdout] 413 | pub type Bounties, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 106 | type SpendFunds = Bounties; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | pub TreasuryAccount: u128 = Treasury::account_id(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury1` in this scope [INFO] [stdout] --> src/tests.rs:94:39 [INFO] [stdout] | [INFO] [stdout] 94 | 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:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is an associated function `try_mutate` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/storage/types/map.rs:211:2 [INFO] [stdout] | [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Bounties1` in this scope [INFO] [stdout] --> src/tests.rs:250:4 [INFO] [stdout] | [INFO] [stdout] 250 | Bounties1::do_try_state().expect("All invariants must hold after a test"); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Bounties1` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 250 - Bounties1::do_try_state().expect("All invariants must hold after a test"); [INFO] [stdout] 250 + Bounties::do_try_state().expect("All invariants must hold after a test"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | assert_eq!(Treasury::pot(), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 281 | assert_eq!(Treasury::proposal_count(), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:289:3 [INFO] [stdout] | [INFO] [stdout] 289 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 289 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 289 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:289:35 [INFO] [stdout] | [INFO] [stdout] 289 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 290 | assert_eq!(Treasury::pot(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:298:3 [INFO] [stdout] | [INFO] [stdout] 298 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 298 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 298 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:298:35 [INFO] [stdout] | [INFO] [stdout] 298 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:300:16 [INFO] [stdout] | [INFO] [stdout] 300 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 100, 3) }); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:300:38 [INFO] [stdout] | [INFO] [stdout] 300 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 100, 3) }); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | assert_eq!(Balances::free_balance(3), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 303 - assert_eq!(Balances::free_balance(3), 0); [INFO] [stdout] 303 + assert_eq!(Balance::free_balance(3), 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:304:14 [INFO] [stdout] | [INFO] [stdout] 304 | assert_eq!(Treasury::pot(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:312:3 [INFO] [stdout] | [INFO] [stdout] 312 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 312 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 312 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:312:35 [INFO] [stdout] | [INFO] [stdout] 312 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:316:14 [INFO] [stdout] | [INFO] [stdout] 316 | assert_eq!(Treasury::pot(), 50); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:325:3 [INFO] [stdout] | [INFO] [stdout] 325 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 325 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 325 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:325:35 [INFO] [stdout] | [INFO] [stdout] 325 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | assert_eq!(Treasury::pot(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:328:16 [INFO] [stdout] | [INFO] [stdout] 328 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 100, 3) }); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 100, 3) }); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | assert_eq!(Balances::free_balance(3), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 331 - assert_eq!(Balances::free_balance(3), 100); [INFO] [stdout] 331 + assert_eq!(Balance::free_balance(3), 100); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:332:14 [INFO] [stdout] | [INFO] [stdout] 332 | assert_eq!(Treasury::pot(), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:340:3 [INFO] [stdout] | [INFO] [stdout] 340 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 340 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 340 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:340:35 [INFO] [stdout] | [INFO] [stdout] 340 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 341 | assert_eq!(Treasury::pot(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:343:16 [INFO] [stdout] | [INFO] [stdout] 343 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 150, 3) }); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:343:38 [INFO] [stdout] | [INFO] [stdout] 343 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 150, 3) }); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:346:14 [INFO] [stdout] | [INFO] [stdout] 346 | assert_eq!(Treasury::pot(), 100); // Pot hasn't changed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:348:14 [INFO] [stdout] | [INFO] [stdout] 348 | assert_ok!(Balances::deposit_into_existing(&Treasury::account_id(), 100)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 348 - assert_ok!(Balances::deposit_into_existing(&Treasury::account_id(), 100)); [INFO] [stdout] 348 + assert_ok!(Balance::deposit_into_existing(&Treasury::account_id(), 100)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:348:47 [INFO] [stdout] | [INFO] [stdout] 348 | 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]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:350:14 [INFO] [stdout] | [INFO] [stdout] 350 | assert_eq!(Balances::free_balance(3), 150); // Fund has been spent [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 350 - assert_eq!(Balances::free_balance(3), 150); // Fund has been spent [INFO] [stdout] 350 + assert_eq!(Balance::free_balance(3), 150); // Fund has been spent [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:351:14 [INFO] [stdout] | [INFO] [stdout] 351 | assert_eq!(Treasury::pot(), 25); // Pot has finally changed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:361:3 [INFO] [stdout] | [INFO] [stdout] 361 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 361 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 361 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:361:35 [INFO] [stdout] | [INFO] [stdout] 361 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | assert_eq!(Treasury::pot(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:363:26 [INFO] [stdout] | [INFO] [stdout] 363 | let treasury_balance = Balances::free_balance(&Treasury::account_id()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 363 - let treasury_balance = Balances::free_balance(&Treasury::account_id()); [INFO] [stdout] 363 + let treasury_balance = Balance::free_balance(&Treasury::account_id()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:363:50 [INFO] [stdout] | [INFO] [stdout] 363 | let treasury_balance = Balances::free_balance(&Treasury::account_id()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:365:16 [INFO] [stdout] | [INFO] [stdout] 365 | 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]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:365:38 [INFO] [stdout] | [INFO] [stdout] 365 | 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]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:368:14 [INFO] [stdout] | [INFO] [stdout] 368 | assert_eq!(Treasury::pot(), 100); // Pot hasn't changed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:370:16 [INFO] [stdout] | [INFO] [stdout] 370 | 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]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:370:38 [INFO] [stdout] | [INFO] [stdout] 370 | 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]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:370:61 [INFO] [stdout] | [INFO] [stdout] 370 | 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]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:373:14 [INFO] [stdout] | [INFO] [stdout] 373 | assert_eq!(Treasury::pot(), 0); // Pot is emptied [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:374:14 [INFO] [stdout] | [INFO] [stdout] 374 | assert_eq!(Balances::free_balance(Treasury::account_id()), 1); // but the account is still there [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 374 - assert_eq!(Balances::free_balance(Treasury::account_id()), 1); // but the account is still there [INFO] [stdout] 374 + assert_eq!(Balance::free_balance(Treasury::account_id()), 1); // but the account is still there [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:374:37 [INFO] [stdout] | [INFO] [stdout] 374 | 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]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:394:14 [INFO] [stdout] | [INFO] [stdout] 394 | assert_eq!(Balances::free_balance(Treasury::account_id()), 0); // Account does not exist [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 394 - assert_eq!(Balances::free_balance(Treasury::account_id()), 0); // Account does not exist [INFO] [stdout] 394 + assert_eq!(Balance::free_balance(Treasury::account_id()), 0); // Account does not exist [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:394:37 [INFO] [stdout] | [INFO] [stdout] 394 | 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]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:395:14 [INFO] [stdout] | [INFO] [stdout] 395 | assert_eq!(Treasury::pot(), 0); // Pot is empty [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:397:16 [INFO] [stdout] | [INFO] [stdout] 397 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 99, 3) }); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:397:38 [INFO] [stdout] | [INFO] [stdout] 397 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 99, 3) }); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:398:16 [INFO] [stdout] | [INFO] [stdout] 398 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 1, 3) }); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:398:38 [INFO] [stdout] | [INFO] [stdout] 398 | assert_ok!({ Treasury::spend_local(RuntimeOrigin::root(), 1, 3) }); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:401:14 [INFO] [stdout] | [INFO] [stdout] 401 | assert_eq!(Treasury::pot(), 0); // Pot hasn't changed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:402:14 [INFO] [stdout] | [INFO] [stdout] 402 | assert_eq!(Balances::free_balance(3), 0); // Balance of `3` hasn't changed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 402 - assert_eq!(Balances::free_balance(3), 0); // Balance of `3` hasn't changed [INFO] [stdout] 402 + assert_eq!(Balance::free_balance(3), 0); // Balance of `3` hasn't changed [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:404:3 [INFO] [stdout] | [INFO] [stdout] 404 | Balances::make_free_balance_be(&Treasury::account_id(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 404 - Balances::make_free_balance_be(&Treasury::account_id(), 100); [INFO] [stdout] 404 + Balance::make_free_balance_be(&Treasury::account_id(), 100); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:404:35 [INFO] [stdout] | [INFO] [stdout] 404 | Balances::make_free_balance_be(&Treasury::account_id(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:405:14 [INFO] [stdout] | [INFO] [stdout] 405 | assert_eq!(Treasury::pot(), 99); // Pot now contains funds [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:406:14 [INFO] [stdout] | [INFO] [stdout] 406 | assert_eq!(Balances::free_balance(Treasury::account_id()), 100); // Account does exist [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 406 - assert_eq!(Balances::free_balance(Treasury::account_id()), 100); // Account does exist [INFO] [stdout] 406 + assert_eq!(Balance::free_balance(Treasury::account_id()), 100); // Account does exist [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:406:37 [INFO] [stdout] | [INFO] [stdout] 406 | 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]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:410:14 [INFO] [stdout] | [INFO] [stdout] 410 | assert_eq!(Treasury::pot(), 0); // Pot has changed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:411:14 [INFO] [stdout] | [INFO] [stdout] 411 | assert_eq!(Balances::free_balance(3), 99); // Balance of `3` has changed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 411 - assert_eq!(Balances::free_balance(3), 99); // Balance of `3` has changed [INFO] [stdout] 411 + assert_eq!(Balance::free_balance(3), 99); // Balance of `3` has changed [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:418:3 [INFO] [stdout] | [INFO] [stdout] 418 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 418 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 418 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:418:35 [INFO] [stdout] | [INFO] [stdout] 418 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:419:14 [INFO] [stdout] | [INFO] [stdout] 419 | 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:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:421:39 [INFO] [stdout] | [INFO] [stdout] 421 | 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]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:426:14 [INFO] [stdout] | [INFO] [stdout] 426 | assert_eq!(Balances::reserved_balance(0), deposit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 426 - assert_eq!(Balances::reserved_balance(0), deposit); [INFO] [stdout] 426 + assert_eq!(Balance::reserved_balance(0), deposit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:427:14 [INFO] [stdout] | [INFO] [stdout] 427 | assert_eq!(Balances::free_balance(0), 100 - deposit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 427 - assert_eq!(Balances::free_balance(0), 100 - deposit); [INFO] [stdout] 427 + assert_eq!(Balance::free_balance(0), 100 - deposit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:453:3 [INFO] [stdout] | [INFO] [stdout] 453 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 453 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 453 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:453:35 [INFO] [stdout] | [INFO] [stdout] 453 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:454:14 [INFO] [stdout] | [INFO] [stdout] 454 | 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:457:14 [INFO] [stdout] | [INFO] [stdout] 457 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:457:29 [INFO] [stdout] | [INFO] [stdout] 457 | 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:462:14 [INFO] [stdout] | [INFO] [stdout] 462 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | 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:471:14 [INFO] [stdout] | [INFO] [stdout] 471 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:471:29 [INFO] [stdout] | [INFO] [stdout] 471 | 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]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:481:3 [INFO] [stdout] | [INFO] [stdout] 481 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 481 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 481 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:481:35 [INFO] [stdout] | [INFO] [stdout] 481 | 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:482:26 [INFO] [stdout] | [INFO] [stdout] 482 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:482:39 [INFO] [stdout] | [INFO] [stdout] 482 | 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:484:24 [INFO] [stdout] | [INFO] [stdout] 484 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:484:39 [INFO] [stdout] | [INFO] [stdout] 484 | 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:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:486:37 [INFO] [stdout] | [INFO] [stdout] 486 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:492:14 [INFO] [stdout] | [INFO] [stdout] 492 | assert_eq!(Balances::reserved_balance(0), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 492 - assert_eq!(Balances::reserved_balance(0), 0); [INFO] [stdout] 492 + assert_eq!(Balance::reserved_balance(0), 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:493:14 [INFO] [stdout] | [INFO] [stdout] 493 | assert_eq!(Balances::free_balance(0), 100 - deposit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 493 - assert_eq!(Balances::free_balance(0), 100 - deposit); [INFO] [stdout] 493 + assert_eq!(Balance::free_balance(0), 100 - deposit); [INFO] [stdout] | [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:506:23 [INFO] [stdout] | [INFO] [stdout] 506 | let pot = 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:509:3 [INFO] [stdout] | [INFO] [stdout] 509 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 509 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 509 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:509:35 [INFO] [stdout] | [INFO] [stdout] 509 | 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:510:24 [INFO] [stdout] | [INFO] [stdout] 510 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:510:39 [INFO] [stdout] | [INFO] [stdout] 510 | 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 `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:511:24 [INFO] [stdout] | [INFO] [stdout] 511 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:511:39 [INFO] [stdout] | [INFO] [stdout] 511 | 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:513:24 [INFO] [stdout] | [INFO] [stdout] 513 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 0, 1)); [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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:513:40 [INFO] [stdout] | [INFO] [stdout] 513 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 0, 1)); [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:514:24 [INFO] [stdout] | [INFO] [stdout] 514 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:514:39 [INFO] [stdout] | [INFO] [stdout] 514 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(0), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:521:3 [INFO] [stdout] | [INFO] [stdout] 521 | Balances::make_free_balance_be(&pot, 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 521 - Balances::make_free_balance_be(&pot, 100); [INFO] [stdout] 521 + Balance::make_free_balance_be(&pot, 100); [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:524:32 [INFO] [stdout] | [INFO] [stdout] 524 | hypothetically_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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:524:45 [INFO] [stdout] | [INFO] [stdout] 524 | hypothetically_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:531:15 [INFO] [stdout] | [INFO] [stdout] 531 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 0, pot, 10)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:531:32 [INFO] [stdout] | [INFO] [stdout] 531 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 0, pot, 10)); [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:534:25 [INFO] [stdout] | [INFO] [stdout] 534 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:534:38 [INFO] [stdout] | [INFO] [stdout] 534 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:538:15 [INFO] [stdout] | [INFO] [stdout] 538 | assert_eq!(Balances::total_balance(&pot), ed, "ED is preserved"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 538 - assert_eq!(Balances::total_balance(&pot), ed, "ED is preserved"); [INFO] [stdout] 538 + assert_eq!(Balance::total_balance(&pot), ed, "ED is preserved"); [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:544:25 [INFO] [stdout] | [INFO] [stdout] 544 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:544:38 [INFO] [stdout] | [INFO] [stdout] 544 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:546:15 [INFO] [stdout] | [INFO] [stdout] 546 | assert_eq!(Balances::total_balance(&pot), 0, "All balances are transferred"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 546 - assert_eq!(Balances::total_balance(&pot), 0, "All balances are transferred"); [INFO] [stdout] 546 + assert_eq!(Balance::total_balance(&pot), 0, "All balances are transferred"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:551:15 [INFO] [stdout] | [INFO] [stdout] 551 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 1, pot, 10)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:551:32 [INFO] [stdout] | [INFO] [stdout] 551 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 1, pot, 10)); [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:553:25 [INFO] [stdout] | [INFO] [stdout] 553 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:553:38 [INFO] [stdout] | [INFO] [stdout] 553 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:555:15 [INFO] [stdout] | [INFO] [stdout] 555 | assert_eq!(Balances::total_balance(&pot), 0, "All balances are transferred"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 555 - assert_eq!(Balances::total_balance(&pot), 0, "All balances are transferred"); [INFO] [stdout] 555 + assert_eq!(Balance::total_balance(&pot), 0, "All balances are transferred"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:560:15 [INFO] [stdout] | [INFO] [stdout] 560 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 2, pot, 10)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:560:32 [INFO] [stdout] | [INFO] [stdout] 560 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 2, pot, 10)); [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:562:25 [INFO] [stdout] | [INFO] [stdout] 562 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:562:38 [INFO] [stdout] | [INFO] [stdout] 562 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:564:15 [INFO] [stdout] | [INFO] [stdout] 564 | assert_eq!(Balances::total_balance(&pot), 0, "All balances are transferred"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 564 - assert_eq!(Balances::total_balance(&pot), 0, "All balances are transferred"); [INFO] [stdout] 564 + assert_eq!(Balance::total_balance(&pot), 0, "All balances are transferred"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:569:15 [INFO] [stdout] | [INFO] [stdout] 569 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 4, pot, 10)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:569:32 [INFO] [stdout] | [INFO] [stdout] 569 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 4, pot, 10)); [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:571:25 [INFO] [stdout] | [INFO] [stdout] 571 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:571:38 [INFO] [stdout] | [INFO] [stdout] 571 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:573:15 [INFO] [stdout] | [INFO] [stdout] 573 | assert_eq!(Balances::total_balance(&pot), 0, "All balances are transferred"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 573 - assert_eq!(Balances::total_balance(&pot), 0, "All balances are transferred"); [INFO] [stdout] 573 + assert_eq!(Balance::total_balance(&pot), 0, "All balances are transferred"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:574:15 [INFO] [stdout] | [INFO] [stdout] 574 | assert_eq!(Assets::balance(4, &pot), 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:579:15 [INFO] [stdout] | [INFO] [stdout] 579 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 3, pot, 10)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:579:32 [INFO] [stdout] | [INFO] [stdout] 579 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 3, pot, 10)); [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:581:25 [INFO] [stdout] | [INFO] [stdout] 581 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:581:38 [INFO] [stdout] | [INFO] [stdout] 581 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:583:15 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(Balances::total_balance(&pot), ed, "ED is preserved"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 583 - assert_eq!(Balances::total_balance(&pot), ed, "ED is preserved"); [INFO] [stdout] 583 + assert_eq!(Balance::total_balance(&pot), ed, "ED is preserved"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:584:15 [INFO] [stdout] | [INFO] [stdout] 584 | assert_eq!(Assets::balance(3, &pot), 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [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:593:23 [INFO] [stdout] | [INFO] [stdout] 593 | let pot = 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:596:3 [INFO] [stdout] | [INFO] [stdout] 596 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 596 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 596 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:596:35 [INFO] [stdout] | [INFO] [stdout] 596 | 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:597:24 [INFO] [stdout] | [INFO] [stdout] 597 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:597:39 [INFO] [stdout] | [INFO] [stdout] 597 | 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 `approve_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:598:24 [INFO] [stdout] | [INFO] [stdout] 598 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:598:39 [INFO] [stdout] | [INFO] [stdout] 598 | 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:600:24 [INFO] [stdout] | [INFO] [stdout] 600 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 0, 1)); [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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:600:40 [INFO] [stdout] | [INFO] [stdout] 600 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, 0, 1)); [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:601:24 [INFO] [stdout] | [INFO] [stdout] 601 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:601:39 [INFO] [stdout] | [INFO] [stdout] 601 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(0), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:608:3 [INFO] [stdout] | [INFO] [stdout] 608 | Balances::make_free_balance_be(&pot, 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 608 - Balances::make_free_balance_be(&pot, 100); [INFO] [stdout] 608 + Balance::make_free_balance_be(&pot, 100); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:609:14 [INFO] [stdout] | [INFO] [stdout] 609 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 0, pot, 10)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:609:31 [INFO] [stdout] | [INFO] [stdout] 609 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 0, pot, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:610:14 [INFO] [stdout] | [INFO] [stdout] 610 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 1, pot, 10)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:610:31 [INFO] [stdout] | [INFO] [stdout] 610 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 1, pot, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:611:14 [INFO] [stdout] | [INFO] [stdout] 611 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 2, pot, 10)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:611:31 [INFO] [stdout] | [INFO] [stdout] 611 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 2, pot, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:612:14 [INFO] [stdout] | [INFO] [stdout] 612 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 3, pot, 10)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:612:31 [INFO] [stdout] | [INFO] [stdout] 612 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 3, pot, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:613:14 [INFO] [stdout] | [INFO] [stdout] 613 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 4, pot, 10)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:613:31 [INFO] [stdout] | [INFO] [stdout] 613 | assert_ok!(Assets::transfer(RuntimeOrigin::signed(0), 4, pot, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:625:16 [INFO] [stdout] | [INFO] [stdout] 625 | assert_eq!(Balances::total_balance(&pot), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 625 - assert_eq!(Balances::total_balance(&pot), 100); [INFO] [stdout] 625 + assert_eq!(Balance::total_balance(&pot), 100); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:626:16 [INFO] [stdout] | [INFO] [stdout] 626 | assert_eq!(Assets::balance(0, &pot), 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:627:16 [INFO] [stdout] | [INFO] [stdout] 627 | assert_eq!(Assets::balance(1, &pot), 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:628:16 [INFO] [stdout] | [INFO] [stdout] 628 | assert_eq!(Assets::balance(2, &pot), 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:629:16 [INFO] [stdout] | [INFO] [stdout] 629 | assert_eq!(Assets::balance(3, &pot), 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:630:16 [INFO] [stdout] | [INFO] [stdout] 630 | assert_eq!(Assets::balance(4, &pot), 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [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:632:26 [INFO] [stdout] | [INFO] [stdout] 632 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:632:39 [INFO] [stdout] | [INFO] [stdout] 632 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:634:13 [INFO] [stdout] | [INFO] [stdout] 634 | assert!(Balances::total_balance(&pot) <= ed); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 634 - assert!(Balances::total_balance(&pot) <= ed); [INFO] [stdout] 634 + assert!(Balance::total_balance(&pot) <= ed); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:636:16 [INFO] [stdout] | [INFO] [stdout] 636 | assert_eq!(Assets::balance(0, &pot), 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:637:16 [INFO] [stdout] | [INFO] [stdout] 637 | assert_eq!(Assets::balance(1, &pot), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:638:16 [INFO] [stdout] | [INFO] [stdout] 638 | assert_eq!(Assets::balance(2, &pot), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:639:16 [INFO] [stdout] | [INFO] [stdout] 639 | assert_eq!(Assets::balance(3, &pot), 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:640:16 [INFO] [stdout] | [INFO] [stdout] 640 | assert_eq!(Assets::balance(4, &pot), 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `Assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:649:3 [INFO] [stdout] | [INFO] [stdout] 649 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 649 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 649 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:649:35 [INFO] [stdout] | [INFO] [stdout] 649 | 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:651:14 [INFO] [stdout] | [INFO] [stdout] 651 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | 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:655:24 [INFO] [stdout] | [INFO] [stdout] 655 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:655:39 [INFO] [stdout] | [INFO] [stdout] 655 | 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:657:24 [INFO] [stdout] | [INFO] [stdout] 657 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:657:39 [INFO] [stdout] | [INFO] [stdout] 657 | 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:675:14 [INFO] [stdout] | [INFO] [stdout] 675 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:675:27 [INFO] [stdout] | [INFO] [stdout] 675 | Bounties::close_bounty(RuntimeOrigin::root(), 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:680:14 [INFO] [stdout] | [INFO] [stdout] 680 | assert_eq!(Balances::reserved_balance(0), deposit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 680 - assert_eq!(Balances::reserved_balance(0), deposit); [INFO] [stdout] 680 + assert_eq!(Balance::reserved_balance(0), deposit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:681:14 [INFO] [stdout] | [INFO] [stdout] 681 | assert_eq!(Balances::free_balance(0), 100 - deposit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 681 - assert_eq!(Balances::free_balance(0), 100 - deposit); [INFO] [stdout] 681 + assert_eq!(Balance::free_balance(0), 100 - deposit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:686:14 [INFO] [stdout] | [INFO] [stdout] 686 | assert_eq!(Balances::reserved_balance(0), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 686 - assert_eq!(Balances::reserved_balance(0), 0); [INFO] [stdout] 686 + assert_eq!(Balance::reserved_balance(0), 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:687:14 [INFO] [stdout] | [INFO] [stdout] 687 | assert_eq!(Balances::free_balance(0), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 687 - assert_eq!(Balances::free_balance(0), 100); [INFO] [stdout] 687 + assert_eq!(Balance::free_balance(0), 100); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:701:14 [INFO] [stdout] | [INFO] [stdout] 701 | assert_eq!(Treasury::pot(), 100 - 50 - 25); // burn 25 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:702:14 [INFO] [stdout] | [INFO] [stdout] 702 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 50); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 702 - assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 50); [INFO] [stdout] 702 + assert_eq!(Balance::free_balance(Bounties::bounty_account_id(0)), 50); [INFO] [stdout] | [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:702:47 [INFO] [stdout] | [INFO] [stdout] 702 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:709:3 [INFO] [stdout] | [INFO] [stdout] 709 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 709 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 709 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:709:35 [INFO] [stdout] | [INFO] [stdout] 709 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:712:14 [INFO] [stdout] | [INFO] [stdout] 712 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:712:30 [INFO] [stdout] | [INFO] [stdout] 712 | 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:716:24 [INFO] [stdout] | [INFO] [stdout] 716 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:716:39 [INFO] [stdout] | [INFO] [stdout] 716 | 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:718:24 [INFO] [stdout] | [INFO] [stdout] 718 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:718:39 [INFO] [stdout] | [INFO] [stdout] 718 | 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:723:14 [INFO] [stdout] | [INFO] [stdout] 723 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:723:30 [INFO] [stdout] | [INFO] [stdout] 723 | 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:728:24 [INFO] [stdout] | [INFO] [stdout] 728 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:728:40 [INFO] [stdout] | [INFO] [stdout] 728 | 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:743:14 [INFO] [stdout] | [INFO] [stdout] 743 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:743:29 [INFO] [stdout] | [INFO] [stdout] 743 | 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:747:14 [INFO] [stdout] | [INFO] [stdout] 747 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:747:29 [INFO] [stdout] | [INFO] [stdout] 747 | Bounties::accept_curator(RuntimeOrigin::signed(4), 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:751:3 [INFO] [stdout] | [INFO] [stdout] 751 | Balances::make_free_balance_be(&4, 10); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 751 - Balances::make_free_balance_be(&4, 10); [INFO] [stdout] 751 + Balance::make_free_balance_be(&4, 10); [INFO] [stdout] | [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:753:24 [INFO] [stdout] | [INFO] [stdout] 753 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:753:39 [INFO] [stdout] | [INFO] [stdout] 753 | 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:755:36 [INFO] [stdout] | [INFO] [stdout] 755 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:769:14 [INFO] [stdout] | [INFO] [stdout] 769 | assert_eq!(Balances::free_balance(&4), 10 - expected_deposit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 769 - assert_eq!(Balances::free_balance(&4), 10 - expected_deposit); [INFO] [stdout] 769 + assert_eq!(Balance::free_balance(&4), 10 - expected_deposit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:770:14 [INFO] [stdout] | [INFO] [stdout] 770 | assert_eq!(Balances::reserved_balance(&4), expected_deposit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 770 - assert_eq!(Balances::reserved_balance(&4), expected_deposit); [INFO] [stdout] 770 + assert_eq!(Balance::reserved_balance(&4), expected_deposit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:777:3 [INFO] [stdout] | [INFO] [stdout] 777 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 777 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 777 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:777:35 [INFO] [stdout] | [INFO] [stdout] 777 | 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:778:24 [INFO] [stdout] | [INFO] [stdout] 778 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:778:39 [INFO] [stdout] | [INFO] [stdout] 778 | 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:780:24 [INFO] [stdout] | [INFO] [stdout] 780 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:780:39 [INFO] [stdout] | [INFO] [stdout] 780 | 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:786:24 [INFO] [stdout] | [INFO] [stdout] 786 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:786:40 [INFO] [stdout] | [INFO] [stdout] 786 | 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:787:26 [INFO] [stdout] | [INFO] [stdout] 787 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:787:43 [INFO] [stdout] | [INFO] [stdout] 787 | 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:788:24 [INFO] [stdout] | [INFO] [stdout] 788 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:788:41 [INFO] [stdout] | [INFO] [stdout] 788 | 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:802:24 [INFO] [stdout] | [INFO] [stdout] 802 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:802:40 [INFO] [stdout] | [INFO] [stdout] 802 | 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]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:803:3 [INFO] [stdout] | [INFO] [stdout] 803 | Balances::make_free_balance_be(&4, 10); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 803 - Balances::make_free_balance_be(&4, 10); [INFO] [stdout] 803 + Balance::make_free_balance_be(&4, 10); [INFO] [stdout] | [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:804:24 [INFO] [stdout] | [INFO] [stdout] 804 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:804:39 [INFO] [stdout] | [INFO] [stdout] 804 | 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:805:36 [INFO] [stdout] | [INFO] [stdout] 805 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unassign_curator` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:806:24 [INFO] [stdout] | [INFO] [stdout] 806 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:806:41 [INFO] [stdout] | [INFO] [stdout] 806 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:820:14 [INFO] [stdout] | [INFO] [stdout] 820 | assert_eq!(Balances::free_balance(&4), 10 - expected_deposit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 820 - assert_eq!(Balances::free_balance(&4), 10 - expected_deposit); [INFO] [stdout] 820 + assert_eq!(Balance::free_balance(&4), 10 - expected_deposit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:821:14 [INFO] [stdout] | [INFO] [stdout] 821 | assert_eq!(Balances::reserved_balance(&4), 0); // slashed curator deposit [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 821 - assert_eq!(Balances::reserved_balance(&4), 0); // slashed curator deposit [INFO] [stdout] 821 + assert_eq!(Balance::reserved_balance(&4), 0); // slashed curator deposit [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:828:3 [INFO] [stdout] | [INFO] [stdout] 828 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 828 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 828 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:828:35 [INFO] [stdout] | [INFO] [stdout] 828 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:829:3 [INFO] [stdout] | [INFO] [stdout] 829 | Balances::make_free_balance_be(&4, 10); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 829 - Balances::make_free_balance_be(&4, 10); [INFO] [stdout] 829 + Balance::make_free_balance_be(&4, 10); [INFO] [stdout] | [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:830:24 [INFO] [stdout] | [INFO] [stdout] 830 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:830:39 [INFO] [stdout] | [INFO] [stdout] 830 | 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:832:24 [INFO] [stdout] | [INFO] [stdout] 832 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:832:39 [INFO] [stdout] | [INFO] [stdout] 832 | 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:837:24 [INFO] [stdout] | [INFO] [stdout] 837 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:837:40 [INFO] [stdout] | [INFO] [stdout] 837 | 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:838:24 [INFO] [stdout] | [INFO] [stdout] 838 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:838:39 [INFO] [stdout] | [INFO] [stdout] 838 | 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:840:36 [INFO] [stdout] | [INFO] [stdout] 840 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:841:14 [INFO] [stdout] | [INFO] [stdout] 841 | assert_eq!(Balances::free_balance(4), 10 - expected_deposit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 841 - assert_eq!(Balances::free_balance(4), 10 - expected_deposit); [INFO] [stdout] 841 + assert_eq!(Balance::free_balance(4), 10 - expected_deposit); [INFO] [stdout] | [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:844:14 [INFO] [stdout] | [INFO] [stdout] 844 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `award_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:844:27 [INFO] [stdout] | [INFO] [stdout] 844 | 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:848:24 [INFO] [stdout] | [INFO] [stdout] 848 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `award_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:848:37 [INFO] [stdout] | [INFO] [stdout] 848 | 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:862:26 [INFO] [stdout] | [INFO] [stdout] 862 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `claim_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:862:39 [INFO] [stdout] | [INFO] [stdout] 862 | 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]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:866:14 [INFO] [stdout] | [INFO] [stdout] 866 | assert_ok!(Balances::transfer_allow_death( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 866 - assert_ok!(Balances::transfer_allow_death( [INFO] [stdout] 866 + assert_ok!(Balance::transfer_allow_death( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:867:4 [INFO] [stdout] | [INFO] [stdout] 867 | 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:868:14 [INFO] [stdout] | [INFO] [stdout] 868 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `claim_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:872:24 [INFO] [stdout] | [INFO] [stdout] 872 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `claim_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:872:37 [INFO] [stdout] | [INFO] [stdout] 872 | assert_ok!(Bounties::claim_bounty(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:879:14 [INFO] [stdout] | [INFO] [stdout] 879 | assert_eq!(Balances::free_balance(4), 14); // initial 10 + fee 4 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 879 - assert_eq!(Balances::free_balance(4), 14); // initial 10 + fee 4 [INFO] [stdout] 879 + assert_eq!(Balance::free_balance(4), 14); // initial 10 + fee 4 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:881:14 [INFO] [stdout] | [INFO] [stdout] 881 | assert_eq!(Balances::free_balance(3), 56); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 881 - assert_eq!(Balances::free_balance(3), 56); [INFO] [stdout] 881 + assert_eq!(Balance::free_balance(3), 56); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:882:14 [INFO] [stdout] | [INFO] [stdout] 882 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 882 - assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] 882 + assert_eq!(Balance::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | [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:882:47 [INFO] [stdout] | [INFO] [stdout] 882 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:892:3 [INFO] [stdout] | [INFO] [stdout] 892 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 892 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 892 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:892:35 [INFO] [stdout] | [INFO] [stdout] 892 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:893:3 [INFO] [stdout] | [INFO] [stdout] 893 | Balances::make_free_balance_be(&4, 30); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 893 - Balances::make_free_balance_be(&4, 30); [INFO] [stdout] 893 + Balance::make_free_balance_be(&4, 30); [INFO] [stdout] | [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:894:24 [INFO] [stdout] | [INFO] [stdout] 894 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:894:39 [INFO] [stdout] | [INFO] [stdout] 894 | 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:896:24 [INFO] [stdout] | [INFO] [stdout] 896 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:896:39 [INFO] [stdout] | [INFO] [stdout] 896 | 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:900:24 [INFO] [stdout] | [INFO] [stdout] 900 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:900:40 [INFO] [stdout] | [INFO] [stdout] 900 | 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:901:24 [INFO] [stdout] | [INFO] [stdout] 901 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:901:39 [INFO] [stdout] | [INFO] [stdout] 901 | 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:903:24 [INFO] [stdout] | [INFO] [stdout] 903 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `award_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:903:37 [INFO] [stdout] | [INFO] [stdout] 903 | 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]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:908:13 [INFO] [stdout] | [INFO] [stdout] 908 | let res = Balances::slash(&Bounties::bounty_account_id(0), 10); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 908 - let res = Balances::slash(&Bounties::bounty_account_id(0), 10); [INFO] [stdout] 908 + let res = Balance::slash(&Bounties::bounty_account_id(0), 10); [INFO] [stdout] | [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:908:40 [INFO] [stdout] | [INFO] [stdout] 908 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `claim_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:911:24 [INFO] [stdout] | [INFO] [stdout] 911 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `claim_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:911:37 [INFO] [stdout] | [INFO] [stdout] 911 | assert_ok!(Bounties::claim_bounty(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:918:14 [INFO] [stdout] | [INFO] [stdout] 918 | assert_eq!(Balances::free_balance(4), 70); // 30 + 50 - 10 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 918 - assert_eq!(Balances::free_balance(4), 70); // 30 + 50 - 10 [INFO] [stdout] 918 + assert_eq!(Balance::free_balance(4), 70); // 30 + 50 - 10 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:919:14 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!(Balances::free_balance(3), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 919 - assert_eq!(Balances::free_balance(3), 0); [INFO] [stdout] 919 + assert_eq!(Balance::free_balance(3), 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:920:14 [INFO] [stdout] | [INFO] [stdout] 920 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 920 - assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] 920 + assert_eq!(Balance::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | [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:920:47 [INFO] [stdout] | [INFO] [stdout] 920 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:930:3 [INFO] [stdout] | [INFO] [stdout] 930 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 930 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 930 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:930:35 [INFO] [stdout] | [INFO] [stdout] 930 | 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:932:24 [INFO] [stdout] | [INFO] [stdout] 932 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:932:39 [INFO] [stdout] | [INFO] [stdout] 932 | 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:934:24 [INFO] [stdout] | [INFO] [stdout] 934 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:934:39 [INFO] [stdout] | [INFO] [stdout] 934 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:938:14 [INFO] [stdout] | [INFO] [stdout] 938 | assert_ok!(Balances::transfer_allow_death( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 938 - assert_ok!(Balances::transfer_allow_death( [INFO] [stdout] 938 + assert_ok!(Balance::transfer_allow_death( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:939:4 [INFO] [stdout] | [INFO] [stdout] 939 | 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:940:14 [INFO] [stdout] | [INFO] [stdout] 940 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:956:14 [INFO] [stdout] | [INFO] [stdout] 956 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 60); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 956 - assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 60); [INFO] [stdout] 956 + assert_eq!(Balance::free_balance(Bounties::bounty_account_id(0)), 60); [INFO] [stdout] | [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:956:47 [INFO] [stdout] | [INFO] [stdout] 956 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_bounty` found for struct `StorageMap` in the current scope [INFO] [stdout] --> src/tests.rs:958:26 [INFO] [stdout] | [INFO] [stdout] 958 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:958:39 [INFO] [stdout] | [INFO] [stdout] 958 | 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:960:24 [INFO] [stdout] | [INFO] [stdout] 960 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:960:37 [INFO] [stdout] | [INFO] [stdout] 960 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:963:14 [INFO] [stdout] | [INFO] [stdout] 963 | assert_eq!(Treasury::pot(), 85); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:970:3 [INFO] [stdout] | [INFO] [stdout] 970 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 970 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 970 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:970:35 [INFO] [stdout] | [INFO] [stdout] 970 | 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:971:24 [INFO] [stdout] | [INFO] [stdout] 971 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:971:39 [INFO] [stdout] | [INFO] [stdout] 971 | 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:973:24 [INFO] [stdout] | [INFO] [stdout] 973 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:973:39 [INFO] [stdout] | [INFO] [stdout] 973 | 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:977:24 [INFO] [stdout] | [INFO] [stdout] 977 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:977:40 [INFO] [stdout] | [INFO] [stdout] 977 | 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:978:24 [INFO] [stdout] | [INFO] [stdout] 978 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:978:39 [INFO] [stdout] | [INFO] [stdout] 978 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(0), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:980:14 [INFO] [stdout] | [INFO] [stdout] 980 | assert_eq!(Balances::free_balance(0), 95); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 980 - assert_eq!(Balances::free_balance(0), 95); [INFO] [stdout] 980 + assert_eq!(Balance::free_balance(0), 95); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:981:14 [INFO] [stdout] | [INFO] [stdout] 981 | assert_eq!(Balances::reserved_balance(0), 5); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 981 - assert_eq!(Balances::reserved_balance(0), 5); [INFO] [stdout] 981 + assert_eq!(Balance::reserved_balance(0), 5); [INFO] [stdout] | [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:983:24 [INFO] [stdout] | [INFO] [stdout] 983 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `award_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:983:37 [INFO] [stdout] | [INFO] [stdout] 983 | 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:987:14 [INFO] [stdout] | [INFO] [stdout] 987 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:987:27 [INFO] [stdout] | [INFO] [stdout] 987 | 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:992:24 [INFO] [stdout] | [INFO] [stdout] 992 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:992:41 [INFO] [stdout] | [INFO] [stdout] 992 | 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:993:24 [INFO] [stdout] | [INFO] [stdout] 993 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/borrow.rs:66:4 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:993:37 [INFO] [stdout] | [INFO] [stdout] 993 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:997:14 [INFO] [stdout] | [INFO] [stdout] 997 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 997 - assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] 997 + assert_eq!(Balance::free_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | [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:997:47 [INFO] [stdout] | [INFO] [stdout] 997 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1000:14 [INFO] [stdout] | [INFO] [stdout] 1000 | assert_eq!(Balances::free_balance(0), 95); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1000 - assert_eq!(Balances::free_balance(0), 95); [INFO] [stdout] 1000 + assert_eq!(Balance::free_balance(0), 95); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1001:14 [INFO] [stdout] | [INFO] [stdout] 1001 | assert_eq!(Balances::reserved_balance(0), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1001 - assert_eq!(Balances::reserved_balance(0), 0); [INFO] [stdout] 1001 + assert_eq!(Balance::reserved_balance(0), 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1011:3 [INFO] [stdout] | [INFO] [stdout] 1011 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1011 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 1011 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1011:35 [INFO] [stdout] | [INFO] [stdout] 1011 | 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:1012:24 [INFO] [stdout] | [INFO] [stdout] 1012 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1012:39 [INFO] [stdout] | [INFO] [stdout] 1012 | 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:1014:24 [INFO] [stdout] | [INFO] [stdout] 1014 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1014:39 [INFO] [stdout] | [INFO] [stdout] 1014 | 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:1018:24 [INFO] [stdout] | [INFO] [stdout] 1018 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1018:40 [INFO] [stdout] | [INFO] [stdout] 1018 | 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:1019:24 [INFO] [stdout] | [INFO] [stdout] 1019 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1019:39 [INFO] [stdout] | [INFO] [stdout] 1019 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1021:14 [INFO] [stdout] | [INFO] [stdout] 1021 | assert_eq!(Balances::free_balance(1), 93); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1021 - assert_eq!(Balances::free_balance(1), 93); [INFO] [stdout] 1021 + assert_eq!(Balance::free_balance(1), 93); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1022:14 [INFO] [stdout] | [INFO] [stdout] 1022 | assert_eq!(Balances::reserved_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1022 - assert_eq!(Balances::reserved_balance(1), 5); [INFO] [stdout] 1022 + assert_eq!(Balance::reserved_balance(1), 5); [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:1027:14 [INFO] [stdout] | [INFO] [stdout] 1027 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1027:31 [INFO] [stdout] | [INFO] [stdout] 1027 | 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:1033:24 [INFO] [stdout] | [INFO] [stdout] 1033 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1033:41 [INFO] [stdout] | [INFO] [stdout] 1033 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::signed(0), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1047:14 [INFO] [stdout] | [INFO] [stdout] 1047 | assert_eq!(Balances::free_balance(1), 93); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1047 - assert_eq!(Balances::free_balance(1), 93); [INFO] [stdout] 1047 + assert_eq!(Balance::free_balance(1), 93); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1048:14 [INFO] [stdout] | [INFO] [stdout] 1048 | assert_eq!(Balances::reserved_balance(1), 0); // slashed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1048 - assert_eq!(Balances::reserved_balance(1), 0); // slashed [INFO] [stdout] 1048 + assert_eq!(Balance::reserved_balance(1), 0); // slashed [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1055:3 [INFO] [stdout] | [INFO] [stdout] 1055 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1055 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 1055 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1055:35 [INFO] [stdout] | [INFO] [stdout] 1055 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1056:3 [INFO] [stdout] | [INFO] [stdout] 1056 | Balances::make_free_balance_be(&4, 10); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1056 - Balances::make_free_balance_be(&4, 10); [INFO] [stdout] 1056 + Balance::make_free_balance_be(&4, 10); [INFO] [stdout] | [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:1057:24 [INFO] [stdout] | [INFO] [stdout] 1057 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1057:39 [INFO] [stdout] | [INFO] [stdout] 1057 | 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:1059:24 [INFO] [stdout] | [INFO] [stdout] 1059 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1059:39 [INFO] [stdout] | [INFO] [stdout] 1059 | 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:1062:14 [INFO] [stdout] | [INFO] [stdout] 1062 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `extend_bounty_expiry`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1062:35 [INFO] [stdout] | [INFO] [stdout] 1062 | 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:1068:24 [INFO] [stdout] | [INFO] [stdout] 1068 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1068:40 [INFO] [stdout] | [INFO] [stdout] 1068 | 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:1069:24 [INFO] [stdout] | [INFO] [stdout] 1069 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1069:39 [INFO] [stdout] | [INFO] [stdout] 1069 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1071:14 [INFO] [stdout] | [INFO] [stdout] 1071 | assert_eq!(Balances::free_balance(4), 5); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1071 - assert_eq!(Balances::free_balance(4), 5); [INFO] [stdout] 1071 + assert_eq!(Balance::free_balance(4), 5); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1072:14 [INFO] [stdout] | [INFO] [stdout] 1072 | assert_eq!(Balances::reserved_balance(4), 5); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1072 - assert_eq!(Balances::reserved_balance(4), 5); [INFO] [stdout] 1072 + assert_eq!(Balance::reserved_balance(4), 5); [INFO] [stdout] | [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:1077:14 [INFO] [stdout] | [INFO] [stdout] 1077 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `extend_bounty_expiry`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1077:35 [INFO] [stdout] | [INFO] [stdout] 1077 | 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:1080:24 [INFO] [stdout] | [INFO] [stdout] 1080 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `extend_bounty_expiry`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1080:45 [INFO] [stdout] | [INFO] [stdout] 1080 | 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:1094:24 [INFO] [stdout] | [INFO] [stdout] 1094 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `extend_bounty_expiry`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1094:45 [INFO] [stdout] | [INFO] [stdout] 1094 | 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:1111:14 [INFO] [stdout] | [INFO] [stdout] 1111 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1111:31 [INFO] [stdout] | [INFO] [stdout] 1111 | 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:1114:24 [INFO] [stdout] | [INFO] [stdout] 1114 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1114:41 [INFO] [stdout] | [INFO] [stdout] 1114 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1116:14 [INFO] [stdout] | [INFO] [stdout] 1116 | assert_eq!(Balances::free_balance(4), 10); // not slashed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1116 - assert_eq!(Balances::free_balance(4), 10); // not slashed [INFO] [stdout] 1116 + assert_eq!(Balance::free_balance(4), 10); // not slashed [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1117:14 [INFO] [stdout] | [INFO] [stdout] 1117 | assert_eq!(Balances::reserved_balance(4), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1117 - assert_eq!(Balances::reserved_balance(4), 0); [INFO] [stdout] 1117 + assert_eq!(Balance::reserved_balance(4), 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::Bounties` [INFO] [stdout] --> src/tests.rs:1154:48 [INFO] [stdout] | [INFO] [stdout] 1154 | 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:413:11 [INFO] [stdout] | [INFO] [stdout] 413 | pub type Bounties, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 1154 | 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:1155:42 [INFO] [stdout] | [INFO] [stdout] 1155 | 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:413:11 [INFO] [stdout] | [INFO] [stdout] 413 | pub type Bounties, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 1155 | 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:1156:49 [INFO] [stdout] | [INFO] [stdout] 1156 | 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:413:11 [INFO] [stdout] | [INFO] [stdout] 413 | pub type Bounties, I: 'static = ()> = StorageMap< [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 1156 | crate::migrations::v4::post_migration::, _>( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1169:29 [INFO] [stdout] | [INFO] [stdout] 1169 | balances: vec![(0, 100), (Treasury::account_id(), initial_funding)], [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1180:14 [INFO] [stdout] | [INFO] [stdout] 1180 | assert_eq!(Balances::free_balance(Treasury::account_id()), initial_funding); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1180 - assert_eq!(Balances::free_balance(Treasury::account_id()), initial_funding); [INFO] [stdout] 1180 + assert_eq!(Balance::free_balance(Treasury::account_id()), initial_funding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1180:37 [INFO] [stdout] | [INFO] [stdout] 1180 | 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]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1181:14 [INFO] [stdout] | [INFO] [stdout] 1181 | assert_eq!(Treasury::pot(), initial_funding - Balances::minimum_balance()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1181:49 [INFO] [stdout] | [INFO] [stdout] 1181 | assert_eq!(Treasury::pot(), initial_funding - Balances::minimum_balance()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1181 - assert_eq!(Treasury::pot(), initial_funding - Balances::minimum_balance()); [INFO] [stdout] 1181 + assert_eq!(Treasury::pot(), initial_funding - Balance::minimum_balance()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1188:3 [INFO] [stdout] | [INFO] [stdout] 1188 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1188 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 1188 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1188:35 [INFO] [stdout] | [INFO] [stdout] 1188 | 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:1189:24 [INFO] [stdout] | [INFO] [stdout] 1189 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1189:39 [INFO] [stdout] | [INFO] [stdout] 1189 | 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:1190:24 [INFO] [stdout] | [INFO] [stdout] 1190 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1190:39 [INFO] [stdout] | [INFO] [stdout] 1190 | 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:1194:24 [INFO] [stdout] | [INFO] [stdout] 1194 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1194:40 [INFO] [stdout] | [INFO] [stdout] 1194 | 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:1195:24 [INFO] [stdout] | [INFO] [stdout] 1195 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1195:39 [INFO] [stdout] | [INFO] [stdout] 1195 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1197:14 [INFO] [stdout] | [INFO] [stdout] 1197 | assert_eq!(Balances::free_balance(1), 93); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1197 - assert_eq!(Balances::free_balance(1), 93); [INFO] [stdout] 1197 + assert_eq!(Balance::free_balance(1), 93); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1198:14 [INFO] [stdout] | [INFO] [stdout] 1198 | assert_eq!(Balances::reserved_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1198 - assert_eq!(Balances::reserved_balance(1), 5); [INFO] [stdout] 1198 + assert_eq!(Balance::reserved_balance(1), 5); [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:1202:24 [INFO] [stdout] | [INFO] [stdout] 1202 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1202:41 [INFO] [stdout] | [INFO] [stdout] 1202 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1216:14 [INFO] [stdout] | [INFO] [stdout] 1216 | assert_eq!(Balances::free_balance(1), 98); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1216 - assert_eq!(Balances::free_balance(1), 98); [INFO] [stdout] 1216 + assert_eq!(Balance::free_balance(1), 98); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1217:14 [INFO] [stdout] | [INFO] [stdout] 1217 | assert_eq!(Balances::reserved_balance(1), 0); // not slashed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1217 - assert_eq!(Balances::reserved_balance(1), 0); // not slashed [INFO] [stdout] 1217 + assert_eq!(Balance::reserved_balance(1), 0); // not slashed [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1232:3 [INFO] [stdout] | [INFO] [stdout] 1232 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1232 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 1232 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1232:35 [INFO] [stdout] | [INFO] [stdout] 1232 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1233:3 [INFO] [stdout] | [INFO] [stdout] 1233 | Balances::make_free_balance_be(&user, 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1233 - Balances::make_free_balance_be(&user, 100); [INFO] [stdout] 1233 + Balance::make_free_balance_be(&user, 100); [INFO] [stdout] | [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:1236:24 [INFO] [stdout] | [INFO] [stdout] 1236 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1236:39 [INFO] [stdout] | [INFO] [stdout] 1236 | 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:1237:24 [INFO] [stdout] | [INFO] [stdout] 1237 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1237:39 [INFO] [stdout] | [INFO] [stdout] 1237 | 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:1241:24 [INFO] [stdout] | [INFO] [stdout] 1241 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1241:40 [INFO] [stdout] | [INFO] [stdout] 1241 | 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:1242:24 [INFO] [stdout] | [INFO] [stdout] 1242 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1242:39 [INFO] [stdout] | [INFO] [stdout] 1242 | 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]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1245:14 [INFO] [stdout] | [INFO] [stdout] 1245 | assert_eq!(Balances::free_balance(&user), 100 - expected_deposit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1245 - assert_eq!(Balances::free_balance(&user), 100 - expected_deposit); [INFO] [stdout] 1245 + assert_eq!(Balance::free_balance(&user), 100 - expected_deposit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1246:14 [INFO] [stdout] | [INFO] [stdout] 1246 | assert_eq!(Balances::reserved_balance(&user), expected_deposit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1246 - assert_eq!(Balances::reserved_balance(&user), expected_deposit); [INFO] [stdout] 1246 + assert_eq!(Balance::reserved_balance(&user), expected_deposit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1254:3 [INFO] [stdout] | [INFO] [stdout] 1254 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1254 - Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] 1254 + Balance::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1254:35 [INFO] [stdout] | [INFO] [stdout] 1254 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1255:3 [INFO] [stdout] | [INFO] [stdout] 1255 | Balances::make_free_balance_be(&user, 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1255 - Balances::make_free_balance_be(&user, 100); [INFO] [stdout] 1255 + Balance::make_free_balance_be(&user, 100); [INFO] [stdout] | [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:1257:24 [INFO] [stdout] | [INFO] [stdout] 1257 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1257:39 [INFO] [stdout] | [INFO] [stdout] 1257 | 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:1258:24 [INFO] [stdout] | [INFO] [stdout] 1258 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `approve_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1258:39 [INFO] [stdout] | [INFO] [stdout] 1258 | 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:1262:24 [INFO] [stdout] | [INFO] [stdout] 1262 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1262:40 [INFO] [stdout] | [INFO] [stdout] 1262 | 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:1263:24 [INFO] [stdout] | [INFO] [stdout] 1263 | 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-46.0.0/src/storage/types/map.rs:178:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn try_get>(key: KeyArg) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_mutate(key: KeyArg, f: F) -> Result [INFO] [stdout] 212 | | where [INFO] [stdout] 213 | | KeyArg: EncodeLike, [INFO] [stdout] 214 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | / pub fn try_mutate_exists(key: KeyArg, f: F) -> Result [INFO] [stdout] 239 | | where [INFO] [stdout] 240 | | KeyArg: EncodeLike, [INFO] [stdout] 241 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 314 | / pub fn migrate_key>( [INFO] [stdout] 315 | | key: KeyArg, [INFO] [stdout] 316 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pallet_bounties-e3363569e05c0bde.long-type-9873092856451000611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1263:39 [INFO] [stdout] | [INFO] [stdout] 1263 | 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]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1266:14 [INFO] [stdout] | [INFO] [stdout] 1266 | assert_eq!(Balances::free_balance(&user), 100 - expected_deposit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1266 - assert_eq!(Balances::free_balance(&user), 100 - expected_deposit); [INFO] [stdout] 1266 + assert_eq!(Balance::free_balance(&user), 100 - expected_deposit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1267:14 [INFO] [stdout] | [INFO] [stdout] 1267 | assert_eq!(Balances::reserved_balance(&user), expected_deposit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1267 - assert_eq!(Balances::reserved_balance(&user), expected_deposit); [INFO] [stdout] 1267 + assert_eq!(Balance::reserved_balance(&user), expected_deposit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1276:3 [INFO] [stdout] | [INFO] [stdout] 1276 | Balances::make_free_balance_be(&Treasury::account_id(), value * 2); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1276 - Balances::make_free_balance_be(&Treasury::account_id(), value * 2); [INFO] [stdout] 1276 + Balance::make_free_balance_be(&Treasury::account_id(), value * 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:1276:35 [INFO] [stdout] | [INFO] [stdout] 1276 | Balances::make_free_balance_be(&Treasury::account_id(), value * 2); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [WARN] too many lines in the log, truncating it