[INFO] fetching crate pallet-child-bounties 39.0.0... [INFO] testing pallet-child-bounties-39.0.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pallet-child-bounties 39.0.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate pallet-child-bounties 39.0.0 [INFO] finished tweaking crates.io crate pallet-child-bounties 39.0.0 [INFO] tweaked toml for crates.io crate pallet-child-bounties 39.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-child-bounties 39.0.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 360 packages to latest compatible versions [INFO] [stderr] Adding unicode-normalization v0.1.22 (available: v0.1.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-io v40.0.1 [INFO] [stderr] Downloaded frame-benchmarking v40.2.0 [INFO] [stderr] Downloaded pallet-bounties v39.0.0 [INFO] [stderr] Downloaded sp-api-proc-macro v22.0.1 [INFO] [stderr] Downloaded frame-support-procedural v33.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d881c59d1a334ea9a922f4434cc1a0809abdeb62408239f49ddcd3c478763491 [INFO] running `Command { std: "docker" "start" "-a" "d881c59d1a334ea9a922f4434cc1a0809abdeb62408239f49ddcd3c478763491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d881c59d1a334ea9a922f4434cc1a0809abdeb62408239f49ddcd3c478763491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d881c59d1a334ea9a922f4434cc1a0809abdeb62408239f49ddcd3c478763491", kill_on_drop: false }` [INFO] [stdout] d881c59d1a334ea9a922f4434cc1a0809abdeb62408239f49ddcd3c478763491 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 850d4e9021ec254338d4853b2dd47b42628acb2855333d80de335ab6d95f9a32 [INFO] running `Command { std: "docker" "start" "-a" "850d4e9021ec254338d4853b2dd47b42628acb2855333d80de335ab6d95f9a32", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling sp-tracing v17.1.0 [INFO] [stderr] Compiling sp-wasm-interface v21.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bounded-collections v0.2.4 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling dyn-clonable v0.9.2 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling sp-runtime-interface v29.0.1 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling trie-db v0.30.0 [INFO] [stderr] Compiling memory-db v0.32.0 [INFO] [stderr] Compiling trie-root v0.18.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling schnellru v0.2.4 [INFO] [stderr] Compiling sp-io v40.0.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling sp-arithmetic v26.1.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-weights v31.1.0 [INFO] [stderr] Compiling simple-mermaid v0.1.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling sp-core v36.1.0 [INFO] [stderr] Compiling tuplex v0.1.2 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling proc-macro-warning v1.84.1 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling frame-metadata v20.0.0 [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-metadata-ir v0.10.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling sp-api-proc-macro v22.0.1 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling sp-trie v39.1.0 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling sp-keystore v0.42.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling sp-state-machine v0.45.0 [INFO] [stderr] Compiling frame-support-procedural v33.0.1 [INFO] [stderr] Compiling sp-application-crypto v40.1.0 [INFO] [stderr] Compiling sp-runtime v41.1.0 [INFO] [stderr] Compiling sp-version v39.0.0 [INFO] [stderr] Compiling sp-staking v38.0.0 [INFO] [stderr] Compiling sp-inherents v36.0.0 [INFO] [stderr] Compiling sp-api v36.0.1 [INFO] [stderr] Compiling sp-genesis-builder v0.17.0 [INFO] [stderr] Compiling frame-support v40.1.0 [INFO] [stderr] Compiling frame-system v40.1.0 [INFO] [stderr] Compiling pallet-balances v41.1.0 [INFO] [stderr] Compiling pallet-treasury v39.0.0 [INFO] [stderr] Compiling pallet-bounties v39.0.0 [INFO] [stderr] Compiling pallet-child-bounties v39.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: trie-db v0.30.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "850d4e9021ec254338d4853b2dd47b42628acb2855333d80de335ab6d95f9a32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "850d4e9021ec254338d4853b2dd47b42628acb2855333d80de335ab6d95f9a32", kill_on_drop: false }` [INFO] [stdout] 850d4e9021ec254338d4853b2dd47b42628acb2855333d80de335ab6d95f9a32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f7c9e9ce6b55321291c10b2688dbf1da9b7ae5f237aab416b026f342d78f293c [INFO] running `Command { std: "docker" "start" "-a" "f7c9e9ce6b55321291c10b2688dbf1da9b7ae5f237aab416b026f342d78f293c", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-child-bounties v39.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | Balances: pallet_balances, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 42 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | type BountiesError = pallet_bounties::Error; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 43 | type BountiesError = pallet_bounties::Error; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | ::BlockNumberProvider::set_block_number(n); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | >::on_initialize(n); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/tests.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/tests.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | impl pallet_treasury::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:97:42 [INFO] [stdout] | [INFO] [stdout] 97 | 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] 95 | impl pallet_treasury::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 99 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bounties` in this scope [INFO] [stdout] --> src/tests.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | type SpendFunds = Bounties; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 68 | type Balance = u64; [INFO] [stdout] | ------------------- similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 110 | type Paymaster = PayFromAccount; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 110 - type Paymaster = PayFromAccount; [INFO] [stdout] 110 + type Paymaster = PayFromAccount; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 95 | impl pallet_treasury::Config for Test { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | type BlockNumberProvider = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | impl pallet_bounties::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 125 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:139:40 [INFO] [stdout] | [INFO] [stdout] 139 | impl pallet_child_bounties::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 140 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | 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] 146 | pub fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:148:35 [INFO] [stdout] | [INFO] [stdout] 148 | 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] 146 | pub fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:155:35 [INFO] [stdout] | [INFO] [stdout] 155 | 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] 146 | pub fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | fn last_event() -> ChildBountiesEvent { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 161 | fn last_event() -> ChildBountiesEvent { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:162:2 [INFO] [stdout] | [INFO] [stdout] 162 | 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[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | assert_ok!(Bounties::propose_bounty( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 211 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), fee)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:220:14 [INFO] [stdout] | [INFO] [stdout] 220 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:244:37 [INFO] [stdout] | [INFO] [stdout] 244 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 50); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:245:41 [INFO] [stdout] | [INFO] [stdout] 245 | assert_eq!(Balances::reserved_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | Error::::InsufficientBountyBalance, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 189 | fn add_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:284:43 [INFO] [stdout] | [INFO] [stdout] 284 | pallet_child_bounties::ChildBounties::::get(0, 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] 189 | fn add_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:295:59 [INFO] [stdout] | [INFO] [stdout] 295 | assert_eq!(pallet_child_bounties::ParentChildBounties::::get(0), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 189 | fn add_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:299:55 [INFO] [stdout] | [INFO] [stdout] 299 | pallet_child_bounties::ChildBountyDescriptionsV1::::get(0, 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] 189 | fn add_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:319:14 [INFO] [stdout] | [INFO] [stdout] 319 | assert_ok!(Bounties::propose_bounty( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:330:14 [INFO] [stdout] | [INFO] [stdout] 330 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), fee)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:334:37 [INFO] [stdout] | [INFO] [stdout] 334 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 50); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:335:41 [INFO] [stdout] | [INFO] [stdout] 335 | assert_eq!(Balances::reserved_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:339:26 [INFO] [stdout] | [INFO] [stdout] 339 | let expected_deposit = Bounties::calculate_curator_deposit(&fee); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:355:37 [INFO] [stdout] | [INFO] [stdout] 355 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 40); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:356:41 [INFO] [stdout] | [INFO] [stdout] 356 | assert_eq!(Balances::reserved_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:372:43 [INFO] [stdout] | [INFO] [stdout] 372 | pallet_child_bounties::ChildBounties::::get(0, 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] 306 | fn child_bounty_assign_curator() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:396:43 [INFO] [stdout] | [INFO] [stdout] 396 | pallet_child_bounties::ChildBounties::::get(0, 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] 306 | fn child_bounty_assign_curator() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:411:37 [INFO] [stdout] | [INFO] [stdout] 411 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 40); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:412:41 [INFO] [stdout] | [INFO] [stdout] 412 | assert_eq!(Balances::reserved_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:437:14 [INFO] [stdout] | [INFO] [stdout] 437 | assert_ok!(Bounties::propose_bounty( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:443:14 [INFO] [stdout] | [INFO] [stdout] 443 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:447:14 [INFO] [stdout] | [INFO] [stdout] 447 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:448:14 [INFO] [stdout] | [INFO] [stdout] 448 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:492:43 [INFO] [stdout] | [INFO] [stdout] 492 | pallet_child_bounties::ChildBounties::::get(0, 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] 425 | fn award_claim_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:530:59 [INFO] [stdout] | [INFO] [stdout] 530 | assert_eq!(pallet_child_bounties::ParentChildBounties::::get(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] 425 | fn award_claim_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:547:14 [INFO] [stdout] | [INFO] [stdout] 547 | assert_ok!(Bounties::propose_bounty( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:553:14 [INFO] [stdout] | [INFO] [stdout] 553 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:557:14 [INFO] [stdout] | [INFO] [stdout] 557 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:559:14 [INFO] [stdout] | [INFO] [stdout] 559 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:588:59 [INFO] [stdout] | [INFO] [stdout] 588 | assert_eq!(pallet_child_bounties::ParentChildBounties::::get(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] 535 | fn close_child_bounty_added() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:591:37 [INFO] [stdout] | [INFO] [stdout] 591 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 50); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:592:41 [INFO] [stdout] | [INFO] [stdout] 592 | assert_eq!(Balances::reserved_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:613:14 [INFO] [stdout] | [INFO] [stdout] 613 | assert_ok!(Bounties::propose_bounty( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:619:14 [INFO] [stdout] | [INFO] [stdout] 619 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:623:14 [INFO] [stdout] | [INFO] [stdout] 623 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:625:14 [INFO] [stdout] | [INFO] [stdout] 625 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:651:59 [INFO] [stdout] | [INFO] [stdout] 651 | assert_eq!(pallet_child_bounties::ParentChildBounties::::get(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] 601 | fn close_child_bounty_active() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:658:37 [INFO] [stdout] | [INFO] [stdout] 658 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 50); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:659:41 [INFO] [stdout] | [INFO] [stdout] 659 | assert_eq!(Balances::reserved_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:680:14 [INFO] [stdout] | [INFO] [stdout] 680 | assert_ok!(Bounties::propose_bounty( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:686:14 [INFO] [stdout] | [INFO] [stdout] 686 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:691:14 [INFO] [stdout] | [INFO] [stdout] 691 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), parent_fee)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:692:14 [INFO] [stdout] | [INFO] [stdout] 692 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:730:59 [INFO] [stdout] | [INFO] [stdout] 730 | assert_eq!(pallet_child_bounties::ParentChildBounties::::get(0), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 668 | fn close_child_bounty_pending() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:755:14 [INFO] [stdout] | [INFO] [stdout] 755 | assert_ok!(Bounties::propose_bounty( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:761:14 [INFO] [stdout] | [INFO] [stdout] 761 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:765:14 [INFO] [stdout] | [INFO] [stdout] 765 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:767:14 [INFO] [stdout] | [INFO] [stdout] 767 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:800:14 [INFO] [stdout] | [INFO] [stdout] 800 | assert_ok!(Bounties::propose_bounty( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:806:14 [INFO] [stdout] | [INFO] [stdout] 806 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:810:14 [INFO] [stdout] | [INFO] [stdout] 810 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:812:14 [INFO] [stdout] | [INFO] [stdout] 812 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:834:43 [INFO] [stdout] | [INFO] [stdout] 834 | pallet_child_bounties::ChildBounties::::get(0, 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] 788 | fn child_bounty_curator_proposed_unassign_curator() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:855:43 [INFO] [stdout] | [INFO] [stdout] 855 | pallet_child_bounties::ChildBounties::::get(0, 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] 788 | fn child_bounty_curator_proposed_unassign_curator() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:889:14 [INFO] [stdout] | [INFO] [stdout] 889 | assert_ok!(Bounties::propose_bounty( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:895:14 [INFO] [stdout] | [INFO] [stdout] 895 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:899:14 [INFO] [stdout] | [INFO] [stdout] 899 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:900:14 [INFO] [stdout] | [INFO] [stdout] 900 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:926:43 [INFO] [stdout] | [INFO] [stdout] 926 | pallet_child_bounties::ChildBounties::::get(0, 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] 868 | fn child_bounty_active_unassign_curator() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:943:43 [INFO] [stdout] | [INFO] [stdout] 943 | pallet_child_bounties::ChildBounties::::get(0, 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] 868 | fn child_bounty_active_unassign_curator() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:970:43 [INFO] [stdout] | [INFO] [stdout] 970 | pallet_child_bounties::ChildBounties::::get(0, 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] 868 | fn child_bounty_active_unassign_curator() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:987:43 [INFO] [stdout] | [INFO] [stdout] 987 | pallet_child_bounties::ChildBounties::::get(0, 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] 868 | fn child_bounty_active_unassign_curator() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1012:43 [INFO] [stdout] | [INFO] [stdout] 1012 | pallet_child_bounties::ChildBounties::::get(0, 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] 868 | fn child_bounty_active_unassign_curator() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1029:43 [INFO] [stdout] | [INFO] [stdout] 1029 | pallet_child_bounties::ChildBounties::::get(0, 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] 868 | fn child_bounty_active_unassign_curator() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1056:43 [INFO] [stdout] | [INFO] [stdout] 1056 | pallet_child_bounties::ChildBounties::::get(0, 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] 868 | fn child_bounty_active_unassign_curator() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1082:43 [INFO] [stdout] | [INFO] [stdout] 1082 | pallet_child_bounties::ChildBounties::::get(0, 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] 868 | fn child_bounty_active_unassign_curator() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1116:14 [INFO] [stdout] | [INFO] [stdout] 1116 | assert_ok!(Bounties::propose_bounty( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1121:14 [INFO] [stdout] | [INFO] [stdout] 1121 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1125:14 [INFO] [stdout] | [INFO] [stdout] 1125 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1126:14 [INFO] [stdout] | [INFO] [stdout] 1126 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1152:43 [INFO] [stdout] | [INFO] [stdout] 1152 | pallet_child_bounties::ChildBounties::::get(0, 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] 1099 | fn parent_bounty_inactive_unassign_curator_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1165:14 [INFO] [stdout] | [INFO] [stdout] 1165 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1173:12 [INFO] [stdout] | [INFO] [stdout] 1173 | Error::::ParentBountyNotActive [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1099 | fn parent_bounty_inactive_unassign_curator_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1181:43 [INFO] [stdout] | [INFO] [stdout] 1181 | pallet_child_bounties::ChildBounties::::get(0, 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] 1099 | fn parent_bounty_inactive_unassign_curator_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1198:14 [INFO] [stdout] | [INFO] [stdout] 1198 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(5), 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1199:14 [INFO] [stdout] | [INFO] [stdout] 1199 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(5)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1216:43 [INFO] [stdout] | [INFO] [stdout] 1216 | pallet_child_bounties::ChildBounties::::get(0, 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] 1099 | fn parent_bounty_inactive_unassign_curator_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1234:14 [INFO] [stdout] | [INFO] [stdout] 1234 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::signed(account_id(5)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1243:43 [INFO] [stdout] | [INFO] [stdout] 1243 | pallet_child_bounties::ChildBounties::::get(0, 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] 1099 | fn parent_bounty_inactive_unassign_curator_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1272:14 [INFO] [stdout] | [INFO] [stdout] 1272 | assert_ok!(Bounties::propose_bounty( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1277:14 [INFO] [stdout] | [INFO] [stdout] 1277 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1288:12 [INFO] [stdout] | [INFO] [stdout] 1288 | Error::::ParentBountyNotActive [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1260 | fn close_parent_with_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1293:14 [INFO] [stdout] | [INFO] [stdout] 1293 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1294:14 [INFO] [stdout] | [INFO] [stdout] 1294 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1310:4 [INFO] [stdout] | [INFO] [stdout] 1310 | Bounties::close_bounty(RuntimeOrigin::root(), 0), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1318:59 [INFO] [stdout] | [INFO] [stdout] 1318 | assert_eq!(pallet_child_bounties::ParentChildBounties::::get(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] 1260 | fn close_parent_with_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1319:64 [INFO] [stdout] | [INFO] [stdout] 1319 | assert_eq!(pallet_child_bounties::ParentTotalChildBounties::::get(0), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1260 | fn close_parent_with_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1323:14 [INFO] [stdout] | [INFO] [stdout] 1323 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1326:64 [INFO] [stdout] | [INFO] [stdout] 1326 | assert_eq!(pallet_child_bounties::ParentTotalChildBounties::::get(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] 1260 | fn close_parent_with_child_bounty() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1345:14 [INFO] [stdout] | [INFO] [stdout] 1345 | assert_ok!(Bounties::propose_bounty( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1350:14 [INFO] [stdout] | [INFO] [stdout] 1350 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1354:14 [INFO] [stdout] | [INFO] [stdout] 1354 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1355:14 [INFO] [stdout] | [INFO] [stdout] 1355 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1379:59 [INFO] [stdout] | [INFO] [stdout] 1379 | assert_eq!(pallet_child_bounties::ChildrenCuratorFees::::get(0), fee); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1331 | fn children_curator_fee_calculation_test() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1393:43 [INFO] [stdout] | [INFO] [stdout] 1393 | pallet_child_bounties::ChildBounties::::get(0, 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] 1331 | fn children_curator_fee_calculation_test() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1413:59 [INFO] [stdout] | [INFO] [stdout] 1413 | assert_eq!(pallet_child_bounties::ParentChildBounties::::get(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] 1331 | fn children_curator_fee_calculation_test() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1416:14 [INFO] [stdout] | [INFO] [stdout] 1416 | assert_ok!(Bounties::award_bounty(RuntimeOrigin::signed(account_id(4)), 0, account_id(9))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1421:64 [INFO] [stdout] | [INFO] [stdout] 1421 | assert_eq!(pallet_child_bounties::ParentTotalChildBounties::::get(0), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1331 | fn children_curator_fee_calculation_test() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1424:14 [INFO] [stdout] | [INFO] [stdout] 1424 | assert_ok!(Bounties::claim_bounty(RuntimeOrigin::signed(account_id(9)), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1427:64 [INFO] [stdout] | [INFO] [stdout] 1427 | assert_eq!(pallet_child_bounties::ParentTotalChildBounties::::get(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] 1331 | fn children_curator_fee_calculation_test() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1453:14 [INFO] [stdout] | [INFO] [stdout] 1453 | assert_ok!(Bounties::propose_bounty( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1458:14 [INFO] [stdout] | [INFO] [stdout] 1458 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), parent_index)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1462:14 [INFO] [stdout] | [INFO] [stdout] 1462 | assert_ok!(Bounties::propose_curator( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bounties` [INFO] [stdout] --> src/tests.rs:1468:14 [INFO] [stdout] | [INFO] [stdout] 1468 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(parent_curator), parent_index)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Bounties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 22 + use pallet_bounties::Bounties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for type alias `pallet::ChildBounties` [INFO] [stdout] --> src/tests.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 136 | type ChildBountyManager = ChildBounties; [INFO] [stdout] | ^^^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | pub type ChildBounties = StorageDoubleMap< [INFO] [stdout] | ^^^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 136 | type ChildBountyManager = ChildBounties; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | pub TreasuryAccount: AccountId = Treasury::account_id(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(Treasury::pot(), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | assert_eq!(Treasury::proposal_count(), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:183:35 [INFO] [stdout] | [INFO] [stdout] 183 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(Treasury::pot(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:203:3 [INFO] [stdout] | [INFO] [stdout] 203 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:203:35 [INFO] [stdout] | [INFO] [stdout] 203 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | RuntimeOrigin::signed(account_id(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:211:39 [INFO] [stdout] | [INFO] [stdout] 211 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:216:40 [INFO] [stdout] | [INFO] [stdout] 216 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), fee)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:218:3 [INFO] [stdout] | [INFO] [stdout] 218 | Balances::make_free_balance_be(&account_id(4), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:220:39 [INFO] [stdout] | [INFO] [stdout] 220 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:224:14 [INFO] [stdout] | [INFO] [stdout] 224 | assert_eq!(Balances::reserved_balance(&account_id(4)), expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | assert_eq!(Balances::free_balance(&account_id(4)), 10 - expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | RuntimeOrigin::signed(account_id(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | Balances::make_free_balance_be(&account_id(4), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | assert_eq!(Balances::reserved_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 248 | ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | RuntimeOrigin::signed(account_id(4)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | RuntimeOrigin::signed(account_id(4)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | RuntimeOrigin::signed(account_id(4)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:278:14 [INFO] [stdout] | [INFO] [stdout] 278 | assert_eq!(Balances::free_balance(account_id(4)), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(Balances::reserved_balance(account_id(4)), expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:315:3 [INFO] [stdout] | [INFO] [stdout] 315 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:315:35 [INFO] [stdout] | [INFO] [stdout] 315 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:316:3 [INFO] [stdout] | [INFO] [stdout] 316 | Balances::make_free_balance_be(&account_id(4), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:317:3 [INFO] [stdout] | [INFO] [stdout] 317 | Balances::make_free_balance_be(&account_id(8), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:320:4 [INFO] [stdout] | [INFO] [stdout] 320 | RuntimeOrigin::signed(account_id(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:325:39 [INFO] [stdout] | [INFO] [stdout] 325 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:330:40 [INFO] [stdout] | [INFO] [stdout] 330 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), fee)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:331:39 [INFO] [stdout] | [INFO] [stdout] 331 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:334:14 [INFO] [stdout] | [INFO] [stdout] 334 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | assert_eq!(Balances::reserved_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:340:14 [INFO] [stdout] | [INFO] [stdout] 340 | assert_eq!(Balances::free_balance(account_id(4)), 101 - expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 341 | assert_eq!(Balances::reserved_balance(account_id(4)), expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:345:29 [INFO] [stdout] | [INFO] [stdout] 345 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:346:4 [INFO] [stdout] | [INFO] [stdout] 346 | RuntimeOrigin::signed(account_id(4)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:355:14 [INFO] [stdout] | [INFO] [stdout] 355 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 40); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | assert_eq!(Balances::reserved_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:359:14 [INFO] [stdout] | [INFO] [stdout] 359 | assert_eq!(Balances::free_balance(ChildBounties::child_bounty_account_id(0, 0)), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `child_bounty_account_id` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:359:52 [INFO] [stdout] | [INFO] [stdout] 359 | assert_eq!(Balances::free_balance(ChildBounties::child_bounty_account_id(0, 0)), 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:360:14 [INFO] [stdout] | [INFO] [stdout] 360 | assert_eq!(Balances::reserved_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `child_bounty_account_id` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:360:56 [INFO] [stdout] | [INFO] [stdout] 360 | assert_eq!(Balances::reserved_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:363:29 [INFO] [stdout] | [INFO] [stdout] 363 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:364:4 [INFO] [stdout] | [INFO] [stdout] 364 | RuntimeOrigin::signed(account_id(4)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:383:14 [INFO] [stdout] | [INFO] [stdout] 383 | assert_eq!(Balances::free_balance(account_id(4)), 101 - expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:384:14 [INFO] [stdout] | [INFO] [stdout] 384 | assert_eq!(Balances::reserved_balance(account_id(4)), expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `accept_curator` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:387:19 [INFO] [stdout] | [INFO] [stdout] 387 | ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(3)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:387:34 [INFO] [stdout] | [INFO] [stdout] 387 | ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(3)), 0, 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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:391:29 [INFO] [stdout] | [INFO] [stdout] 391 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(8)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:391:44 [INFO] [stdout] | [INFO] [stdout] 391 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(8)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:407:14 [INFO] [stdout] | [INFO] [stdout] 407 | assert_eq!(Balances::free_balance(account_id(8)), 101 - expected_child_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:408:14 [INFO] [stdout] | [INFO] [stdout] 408 | assert_eq!(Balances::reserved_balance(account_id(8)), expected_child_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:411:14 [INFO] [stdout] | [INFO] [stdout] 411 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 40); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:412:14 [INFO] [stdout] | [INFO] [stdout] 412 | assert_eq!(Balances::reserved_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:415:14 [INFO] [stdout] | [INFO] [stdout] 415 | assert_eq!(Balances::free_balance(ChildBounties::child_bounty_account_id(0, 0)), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `child_bounty_account_id` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:415:52 [INFO] [stdout] | [INFO] [stdout] 415 | assert_eq!(Balances::free_balance(ChildBounties::child_bounty_account_id(0, 0)), 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:416:14 [INFO] [stdout] | [INFO] [stdout] 416 | assert_eq!(Balances::reserved_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `child_bounty_account_id` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:416:56 [INFO] [stdout] | [INFO] [stdout] 416 | assert_eq!(Balances::reserved_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:419:14 [INFO] [stdout] | [INFO] [stdout] 419 | assert_eq!(Balances::free_balance(Treasury::account_id()), 26); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:419:37 [INFO] [stdout] | [INFO] [stdout] 419 | assert_eq!(Balances::free_balance(Treasury::account_id()), 26); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:420:14 [INFO] [stdout] | [INFO] [stdout] 420 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:420:41 [INFO] [stdout] | [INFO] [stdout] 420 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:429:3 [INFO] [stdout] | [INFO] [stdout] 429 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:429:35 [INFO] [stdout] | [INFO] [stdout] 429 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:430:14 [INFO] [stdout] | [INFO] [stdout] 430 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:430:37 [INFO] [stdout] | [INFO] [stdout] 430 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:431:14 [INFO] [stdout] | [INFO] [stdout] 431 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:431:41 [INFO] [stdout] | [INFO] [stdout] 431 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:434:3 [INFO] [stdout] | [INFO] [stdout] 434 | Balances::make_free_balance_be(&account_id(4), 101); // Parent-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:435:3 [INFO] [stdout] | [INFO] [stdout] 435 | Balances::make_free_balance_be(&account_id(8), 101); // Child-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:438:4 [INFO] [stdout] | [INFO] [stdout] 438 | RuntimeOrigin::signed(account_id(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:443:39 [INFO] [stdout] | [INFO] [stdout] 443 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:447:40 [INFO] [stdout] | [INFO] [stdout] 447 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:448:39 [INFO] [stdout] | [INFO] [stdout] 448 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:451:29 [INFO] [stdout] | [INFO] [stdout] 451 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:452:4 [INFO] [stdout] | [INFO] [stdout] 452 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:462:29 [INFO] [stdout] | [INFO] [stdout] 462 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:463:4 [INFO] [stdout] | [INFO] [stdout] 463 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:469:29 [INFO] [stdout] | [INFO] [stdout] 469 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(8)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:469:44 [INFO] [stdout] | [INFO] [stdout] 469 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(8)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `award_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:474:19 [INFO] [stdout] | [INFO] [stdout] 474 | ChildBounties::award_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = 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_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | RuntimeOrigin::signed(account_id(3)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `award_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:483:29 [INFO] [stdout] | [INFO] [stdout] 483 | assert_ok!(ChildBounties::award_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = 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_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:484:4 [INFO] [stdout] | [INFO] [stdout] 484 | RuntimeOrigin::signed(account_id(8)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `claim_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:509:19 [INFO] [stdout] | [INFO] [stdout] 509 | ChildBounties::claim_child_bounty(RuntimeOrigin::signed(account_id(7)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = 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_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:509:38 [INFO] [stdout] | [INFO] [stdout] 509 | ChildBounties::claim_child_bounty(RuntimeOrigin::signed(account_id(7)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `claim_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:515:29 [INFO] [stdout] | [INFO] [stdout] 515 | assert_ok!(ChildBounties::claim_child_bounty(RuntimeOrigin::signed(account_id(7)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = 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_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:515:48 [INFO] [stdout] | [INFO] [stdout] 515 | assert_ok!(ChildBounties::claim_child_bounty(RuntimeOrigin::signed(account_id(7)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:518:14 [INFO] [stdout] | [INFO] [stdout] 518 | assert_eq!(Balances::free_balance(account_id(8)), 101 + fee); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:519:14 [INFO] [stdout] | [INFO] [stdout] 519 | assert_eq!(Balances::reserved_balance(account_id(8)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:522:14 [INFO] [stdout] | [INFO] [stdout] 522 | assert_eq!(Balances::free_balance(account_id(7)), 10 - fee); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:523:14 [INFO] [stdout] | [INFO] [stdout] 523 | assert_eq!(Balances::reserved_balance(account_id(7)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:526:14 [INFO] [stdout] | [INFO] [stdout] 526 | assert_eq!(Balances::free_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `child_bounty_account_id` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:526:52 [INFO] [stdout] | [INFO] [stdout] 526 | assert_eq!(Balances::free_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:527:14 [INFO] [stdout] | [INFO] [stdout] 527 | assert_eq!(Balances::reserved_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `child_bounty_account_id` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:527:56 [INFO] [stdout] | [INFO] [stdout] 527 | assert_eq!(Balances::reserved_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:539:3 [INFO] [stdout] | [INFO] [stdout] 539 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:539:35 [INFO] [stdout] | [INFO] [stdout] 539 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:540:14 [INFO] [stdout] | [INFO] [stdout] 540 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:540:37 [INFO] [stdout] | [INFO] [stdout] 540 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:541:14 [INFO] [stdout] | [INFO] [stdout] 541 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:541:41 [INFO] [stdout] | [INFO] [stdout] 541 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:544:3 [INFO] [stdout] | [INFO] [stdout] 544 | Balances::make_free_balance_be(&account_id(4), 101); // Parent-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:545:3 [INFO] [stdout] | [INFO] [stdout] 545 | Balances::make_free_balance_be(&account_id(8), 101); // Child-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:548:4 [INFO] [stdout] | [INFO] [stdout] 548 | RuntimeOrigin::signed(account_id(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:553:39 [INFO] [stdout] | [INFO] [stdout] 553 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:557:40 [INFO] [stdout] | [INFO] [stdout] 557 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:559:39 [INFO] [stdout] | [INFO] [stdout] 559 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:562:29 [INFO] [stdout] | [INFO] [stdout] 562 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:563:4 [INFO] [stdout] | [INFO] [stdout] 563 | RuntimeOrigin::signed(account_id(4)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:576:19 [INFO] [stdout] | [INFO] [stdout] 576 | ChildBounties::close_child_bounty(RuntimeOrigin::signed(account_id(7)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:576:38 [INFO] [stdout] | [INFO] [stdout] 576 | ChildBounties::close_child_bounty(RuntimeOrigin::signed(account_id(7)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:580:19 [INFO] [stdout] | [INFO] [stdout] 580 | ChildBounties::close_child_bounty(RuntimeOrigin::signed(account_id(8)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:580:38 [INFO] [stdout] | [INFO] [stdout] 580 | ChildBounties::close_child_bounty(RuntimeOrigin::signed(account_id(8)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:585:29 [INFO] [stdout] | [INFO] [stdout] 585 | assert_ok!(ChildBounties::close_child_bounty(RuntimeOrigin::signed(account_id(4)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:585:48 [INFO] [stdout] | [INFO] [stdout] 585 | assert_ok!(ChildBounties::close_child_bounty(RuntimeOrigin::signed(account_id(4)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:591:14 [INFO] [stdout] | [INFO] [stdout] 591 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:592:14 [INFO] [stdout] | [INFO] [stdout] 592 | assert_eq!(Balances::reserved_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:595:14 [INFO] [stdout] | [INFO] [stdout] 595 | assert_eq!(Balances::free_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `child_bounty_account_id` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:595:52 [INFO] [stdout] | [INFO] [stdout] 595 | assert_eq!(Balances::free_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:596:14 [INFO] [stdout] | [INFO] [stdout] 596 | assert_eq!(Balances::reserved_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `child_bounty_account_id` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:596:56 [INFO] [stdout] | [INFO] [stdout] 596 | assert_eq!(Balances::reserved_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:605:3 [INFO] [stdout] | [INFO] [stdout] 605 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:605:35 [INFO] [stdout] | [INFO] [stdout] 605 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:606:14 [INFO] [stdout] | [INFO] [stdout] 606 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:606:37 [INFO] [stdout] | [INFO] [stdout] 606 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:607:14 [INFO] [stdout] | [INFO] [stdout] 607 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:607:41 [INFO] [stdout] | [INFO] [stdout] 607 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:610:3 [INFO] [stdout] | [INFO] [stdout] 610 | Balances::make_free_balance_be(&account_id(4), 101); // Parent-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:611:3 [INFO] [stdout] | [INFO] [stdout] 611 | Balances::make_free_balance_be(&account_id(8), 101); // Child-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:614:4 [INFO] [stdout] | [INFO] [stdout] 614 | RuntimeOrigin::signed(account_id(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:619:39 [INFO] [stdout] | [INFO] [stdout] 619 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:623:40 [INFO] [stdout] | [INFO] [stdout] 623 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:625:39 [INFO] [stdout] | [INFO] [stdout] 625 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:628:29 [INFO] [stdout] | [INFO] [stdout] 628 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:629:4 [INFO] [stdout] | [INFO] [stdout] 629 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:638:29 [INFO] [stdout] | [INFO] [stdout] 638 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:639:4 [INFO] [stdout] | [INFO] [stdout] 639 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:645:29 [INFO] [stdout] | [INFO] [stdout] 645 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(8)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:645:44 [INFO] [stdout] | [INFO] [stdout] 645 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(8)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:648:29 [INFO] [stdout] | [INFO] [stdout] 648 | assert_ok!(ChildBounties::close_child_bounty(RuntimeOrigin::signed(account_id(4)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:648:48 [INFO] [stdout] | [INFO] [stdout] 648 | assert_ok!(ChildBounties::close_child_bounty(RuntimeOrigin::signed(account_id(4)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:654:14 [INFO] [stdout] | [INFO] [stdout] 654 | assert_eq!(Balances::free_balance(account_id(8)), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:655:14 [INFO] [stdout] | [INFO] [stdout] 655 | assert_eq!(Balances::reserved_balance(account_id(8)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:658:14 [INFO] [stdout] | [INFO] [stdout] 658 | assert_eq!(Balances::free_balance(Bounties::bounty_account_id(0)), 50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:659:14 [INFO] [stdout] | [INFO] [stdout] 659 | assert_eq!(Balances::reserved_balance(Bounties::bounty_account_id(0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:662:14 [INFO] [stdout] | [INFO] [stdout] 662 | assert_eq!(Balances::free_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `child_bounty_account_id` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:662:52 [INFO] [stdout] | [INFO] [stdout] 662 | assert_eq!(Balances::free_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:663:14 [INFO] [stdout] | [INFO] [stdout] 663 | assert_eq!(Balances::reserved_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `child_bounty_account_id` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:663:56 [INFO] [stdout] | [INFO] [stdout] 663 | assert_eq!(Balances::reserved_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:672:3 [INFO] [stdout] | [INFO] [stdout] 672 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:672:35 [INFO] [stdout] | [INFO] [stdout] 672 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:673:14 [INFO] [stdout] | [INFO] [stdout] 673 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:673:37 [INFO] [stdout] | [INFO] [stdout] 673 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:674:14 [INFO] [stdout] | [INFO] [stdout] 674 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:674:41 [INFO] [stdout] | [INFO] [stdout] 674 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:677:3 [INFO] [stdout] | [INFO] [stdout] 677 | Balances::make_free_balance_be(&account_id(4), 101); // Parent-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:678:3 [INFO] [stdout] | [INFO] [stdout] 678 | Balances::make_free_balance_be(&account_id(8), 101); // Child-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:681:4 [INFO] [stdout] | [INFO] [stdout] 681 | RuntimeOrigin::signed(account_id(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:686:39 [INFO] [stdout] | [INFO] [stdout] 686 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:691:40 [INFO] [stdout] | [INFO] [stdout] 691 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), parent_fee)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:692:39 [INFO] [stdout] | [INFO] [stdout] 692 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:695:29 [INFO] [stdout] | [INFO] [stdout] 695 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:696:4 [INFO] [stdout] | [INFO] [stdout] 696 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:706:29 [INFO] [stdout] | [INFO] [stdout] 706 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:707:4 [INFO] [stdout] | [INFO] [stdout] 707 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:713:29 [INFO] [stdout] | [INFO] [stdout] 713 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(8)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:713:44 [INFO] [stdout] | [INFO] [stdout] 713 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(8)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `award_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:716:29 [INFO] [stdout] | [INFO] [stdout] 716 | assert_ok!(ChildBounties::award_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = 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_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:717:4 [INFO] [stdout] | [INFO] [stdout] 717 | RuntimeOrigin::signed(account_id(8)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `close_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:725:19 [INFO] [stdout] | [INFO] [stdout] 725 | ChildBounties::close_child_bounty(RuntimeOrigin::signed(account_id(4)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:725:38 [INFO] [stdout] | [INFO] [stdout] 725 | ChildBounties::close_child_bounty(RuntimeOrigin::signed(account_id(4)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:733:14 [INFO] [stdout] | [INFO] [stdout] 733 | assert_eq!(Balances::reserved_balance(account_id(8)), expected_child_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:734:14 [INFO] [stdout] | [INFO] [stdout] 734 | assert_eq!(Balances::free_balance(account_id(8)), 101 - expected_child_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:737:14 [INFO] [stdout] | [INFO] [stdout] 737 | assert_eq!(Balances::free_balance(ChildBounties::child_bounty_account_id(0, 0)), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `child_bounty_account_id` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:737:52 [INFO] [stdout] | [INFO] [stdout] 737 | assert_eq!(Balances::free_balance(ChildBounties::child_bounty_account_id(0, 0)), 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:738:14 [INFO] [stdout] | [INFO] [stdout] 738 | assert_eq!(Balances::reserved_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `child_bounty_account_id` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:738:56 [INFO] [stdout] | [INFO] [stdout] 738 | assert_eq!(Balances::reserved_balance(ChildBounties::child_bounty_account_id(0, 0)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:747:3 [INFO] [stdout] | [INFO] [stdout] 747 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:747:35 [INFO] [stdout] | [INFO] [stdout] 747 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:748:14 [INFO] [stdout] | [INFO] [stdout] 748 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:748:37 [INFO] [stdout] | [INFO] [stdout] 748 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:749:14 [INFO] [stdout] | [INFO] [stdout] 749 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:749:41 [INFO] [stdout] | [INFO] [stdout] 749 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:752:3 [INFO] [stdout] | [INFO] [stdout] 752 | Balances::make_free_balance_be(&account_id(4), 101); // Parent-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:753:3 [INFO] [stdout] | [INFO] [stdout] 753 | Balances::make_free_balance_be(&account_id(8), 101); // Child-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:756:4 [INFO] [stdout] | [INFO] [stdout] 756 | RuntimeOrigin::signed(account_id(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:761:39 [INFO] [stdout] | [INFO] [stdout] 761 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:765:40 [INFO] [stdout] | [INFO] [stdout] 765 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:767:39 [INFO] [stdout] | [INFO] [stdout] 767 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:770:29 [INFO] [stdout] | [INFO] [stdout] 770 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:771:4 [INFO] [stdout] | [INFO] [stdout] 771 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:781:19 [INFO] [stdout] | [INFO] [stdout] 781 | ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(4)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:781:36 [INFO] [stdout] | [INFO] [stdout] 781 | ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(4)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:792:3 [INFO] [stdout] | [INFO] [stdout] 792 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:792:35 [INFO] [stdout] | [INFO] [stdout] 792 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:793:14 [INFO] [stdout] | [INFO] [stdout] 793 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:793:37 [INFO] [stdout] | [INFO] [stdout] 793 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:794:14 [INFO] [stdout] | [INFO] [stdout] 794 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:794:41 [INFO] [stdout] | [INFO] [stdout] 794 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:797:3 [INFO] [stdout] | [INFO] [stdout] 797 | Balances::make_free_balance_be(&account_id(4), 101); // Parent-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:798:3 [INFO] [stdout] | [INFO] [stdout] 798 | Balances::make_free_balance_be(&account_id(8), 101); // Child-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:801:4 [INFO] [stdout] | [INFO] [stdout] 801 | RuntimeOrigin::signed(account_id(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:806:39 [INFO] [stdout] | [INFO] [stdout] 806 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:810:40 [INFO] [stdout] | [INFO] [stdout] 810 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:812:39 [INFO] [stdout] | [INFO] [stdout] 812 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:815:29 [INFO] [stdout] | [INFO] [stdout] 815 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:816:4 [INFO] [stdout] | [INFO] [stdout] 816 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:825:29 [INFO] [stdout] | [INFO] [stdout] 825 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:826:4 [INFO] [stdout] | [INFO] [stdout] 826 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:846:19 [INFO] [stdout] | [INFO] [stdout] 846 | ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(99)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:846:36 [INFO] [stdout] | [INFO] [stdout] 846 | ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(99)), 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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:851:29 [INFO] [stdout] | [INFO] [stdout] 851 | assert_ok!(ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(4)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:851:46 [INFO] [stdout] | [INFO] [stdout] 851 | assert_ok!(ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(4)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:879:3 [INFO] [stdout] | [INFO] [stdout] 879 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:879:35 [INFO] [stdout] | [INFO] [stdout] 879 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:880:14 [INFO] [stdout] | [INFO] [stdout] 880 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:880:37 [INFO] [stdout] | [INFO] [stdout] 880 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:881:14 [INFO] [stdout] | [INFO] [stdout] 881 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:881:41 [INFO] [stdout] | [INFO] [stdout] 881 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:884:3 [INFO] [stdout] | [INFO] [stdout] 884 | Balances::make_free_balance_be(&account_id(4), 101); // Parent-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:885:3 [INFO] [stdout] | [INFO] [stdout] 885 | Balances::make_free_balance_be(&account_id(6), 101); // Child-bounty curator 1. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:886:3 [INFO] [stdout] | [INFO] [stdout] 886 | Balances::make_free_balance_be(&account_id(7), 101); // Child-bounty curator 2. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:887:3 [INFO] [stdout] | [INFO] [stdout] 887 | Balances::make_free_balance_be(&account_id(8), 101); // Child-bounty curator 3. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:890:4 [INFO] [stdout] | [INFO] [stdout] 890 | RuntimeOrigin::signed(account_id(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:895:39 [INFO] [stdout] | [INFO] [stdout] 895 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:899:40 [INFO] [stdout] | [INFO] [stdout] 899 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:900:39 [INFO] [stdout] | [INFO] [stdout] 900 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:903:29 [INFO] [stdout] | [INFO] [stdout] 903 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:904:4 [INFO] [stdout] | [INFO] [stdout] 904 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:915:29 [INFO] [stdout] | [INFO] [stdout] 915 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:916:4 [INFO] [stdout] | [INFO] [stdout] 916 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:922:29 [INFO] [stdout] | [INFO] [stdout] 922 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(8)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:922:44 [INFO] [stdout] | [INFO] [stdout] 922 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(8)), 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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:939:29 [INFO] [stdout] | [INFO] [stdout] 939 | assert_ok!(ChildBounties::unassign_curator(RuntimeOrigin::root(), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:939:46 [INFO] [stdout] | [INFO] [stdout] 939 | assert_ok!(ChildBounties::unassign_curator(RuntimeOrigin::root(), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:954:14 [INFO] [stdout] | [INFO] [stdout] 954 | assert_eq!(Balances::free_balance(account_id(8)), 101 - expected_child_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:955:14 [INFO] [stdout] | [INFO] [stdout] 955 | assert_eq!(Balances::reserved_balance(account_id(8)), 0); // slashed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:959:29 [INFO] [stdout] | [INFO] [stdout] 959 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:960:4 [INFO] [stdout] | [INFO] [stdout] 960 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:966:29 [INFO] [stdout] | [INFO] [stdout] 966 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(7)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:966:44 [INFO] [stdout] | [INFO] [stdout] 966 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(7)), 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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:983:29 [INFO] [stdout] | [INFO] [stdout] 983 | assert_ok!(ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(4)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:983:46 [INFO] [stdout] | [INFO] [stdout] 983 | assert_ok!(ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(4)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:998:14 [INFO] [stdout] | [INFO] [stdout] 998 | assert_eq!(Balances::free_balance(account_id(7)), 101 - expected_child_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:999:14 [INFO] [stdout] | [INFO] [stdout] 999 | assert_eq!(Balances::reserved_balance(account_id(7)), 0); // slashed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1002:29 [INFO] [stdout] | [INFO] [stdout] 1002 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1003:4 [INFO] [stdout] | [INFO] [stdout] 1003 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1009:29 [INFO] [stdout] | [INFO] [stdout] 1009 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(6)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1009:44 [INFO] [stdout] | [INFO] [stdout] 1009 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(6)), 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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1025:29 [INFO] [stdout] | [INFO] [stdout] 1025 | assert_ok!(ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(6)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1025:46 [INFO] [stdout] | [INFO] [stdout] 1025 | assert_ok!(ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(6)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1040:14 [INFO] [stdout] | [INFO] [stdout] 1040 | assert_eq!(Balances::free_balance(account_id(6)), 101); // not slashed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1041:14 [INFO] [stdout] | [INFO] [stdout] 1041 | assert_eq!(Balances::reserved_balance(account_id(6)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `propose_curator` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1045:29 [INFO] [stdout] | [INFO] [stdout] 1045 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1046:4 [INFO] [stdout] | [INFO] [stdout] 1046 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1052:29 [INFO] [stdout] | [INFO] [stdout] 1052 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(6)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1052:44 [INFO] [stdout] | [INFO] [stdout] 1052 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(6)), 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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1071:19 [INFO] [stdout] | [INFO] [stdout] 1071 | ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(3)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1071:36 [INFO] [stdout] | [INFO] [stdout] 1071 | ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(3)), 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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1078:29 [INFO] [stdout] | [INFO] [stdout] 1078 | assert_ok!(ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(3)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1078:46 [INFO] [stdout] | [INFO] [stdout] 1078 | assert_ok!(ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(3)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1093:14 [INFO] [stdout] | [INFO] [stdout] 1093 | assert_eq!(Balances::free_balance(account_id(6)), 101 - expected_child_deposit); // slashed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1094:14 [INFO] [stdout] | [INFO] [stdout] 1094 | assert_eq!(Balances::reserved_balance(account_id(6)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1105:3 [INFO] [stdout] | [INFO] [stdout] 1105 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1105:35 [INFO] [stdout] | [INFO] [stdout] 1105 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1106:14 [INFO] [stdout] | [INFO] [stdout] 1106 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1106:37 [INFO] [stdout] | [INFO] [stdout] 1106 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1107:14 [INFO] [stdout] | [INFO] [stdout] 1107 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1107:41 [INFO] [stdout] | [INFO] [stdout] 1107 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1110:3 [INFO] [stdout] | [INFO] [stdout] 1110 | Balances::make_free_balance_be(&account_id(4), 101); // Parent-bounty curator 1. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1111:3 [INFO] [stdout] | [INFO] [stdout] 1111 | Balances::make_free_balance_be(&account_id(5), 101); // Parent-bounty curator 2. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1112:3 [INFO] [stdout] | [INFO] [stdout] 1112 | Balances::make_free_balance_be(&account_id(6), 101); // Child-bounty curator 1. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1113:3 [INFO] [stdout] | [INFO] [stdout] 1113 | Balances::make_free_balance_be(&account_id(7), 101); // Child-bounty curator 2. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1114:3 [INFO] [stdout] | [INFO] [stdout] 1114 | Balances::make_free_balance_be(&account_id(8), 101); // Child-bounty curator 3. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1117:4 [INFO] [stdout] | [INFO] [stdout] 1117 | RuntimeOrigin::signed(account_id(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1121:39 [INFO] [stdout] | [INFO] [stdout] 1121 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1125:40 [INFO] [stdout] | [INFO] [stdout] 1125 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1126:39 [INFO] [stdout] | [INFO] [stdout] 1126 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1129:29 [INFO] [stdout] | [INFO] [stdout] 1129 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1130:4 [INFO] [stdout] | [INFO] [stdout] 1130 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1141:29 [INFO] [stdout] | [INFO] [stdout] 1141 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1142:4 [INFO] [stdout] | [INFO] [stdout] 1142 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1148:29 [INFO] [stdout] | [INFO] [stdout] 1148 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(8)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1148:44 [INFO] [stdout] | [INFO] [stdout] 1148 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(8)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1165:41 [INFO] [stdout] | [INFO] [stdout] 1165 | 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 `unassign_curator` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1172:19 [INFO] [stdout] | [INFO] [stdout] 1172 | ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(3)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1172:36 [INFO] [stdout] | [INFO] [stdout] 1172 | ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(3)), 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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1177:29 [INFO] [stdout] | [INFO] [stdout] 1177 | assert_ok!(ChildBounties::unassign_curator(RuntimeOrigin::root(), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1177:46 [INFO] [stdout] | [INFO] [stdout] 1177 | assert_ok!(ChildBounties::unassign_curator(RuntimeOrigin::root(), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1192:14 [INFO] [stdout] | [INFO] [stdout] 1192 | assert_eq!(Balances::free_balance(account_id(8)), 101 - expected_child_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1193:14 [INFO] [stdout] | [INFO] [stdout] 1193 | assert_eq!(Balances::reserved_balance(account_id(8)), 0); // slashed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1198:40 [INFO] [stdout] | [INFO] [stdout] 1198 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(5), 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1199:39 [INFO] [stdout] | [INFO] [stdout] 1199 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(5)), 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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1205:29 [INFO] [stdout] | [INFO] [stdout] 1205 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1206:4 [INFO] [stdout] | [INFO] [stdout] 1206 | RuntimeOrigin::signed(account_id(5)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1212:29 [INFO] [stdout] | [INFO] [stdout] 1212 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(7)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1212:44 [INFO] [stdout] | [INFO] [stdout] 1212 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(7)), 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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1229:19 [INFO] [stdout] | [INFO] [stdout] 1229 | ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(3)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1229:36 [INFO] [stdout] | [INFO] [stdout] 1229 | ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(3)), 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1234:41 [INFO] [stdout] | [INFO] [stdout] 1234 | assert_ok!(Bounties::unassign_curator(RuntimeOrigin::signed(account_id(5)), 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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1239:29 [INFO] [stdout] | [INFO] [stdout] 1239 | assert_ok!(ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(7)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `unassign_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1239:46 [INFO] [stdout] | [INFO] [stdout] 1239 | assert_ok!(ChildBounties::unassign_curator(RuntimeOrigin::signed(account_id(7)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1254:14 [INFO] [stdout] | [INFO] [stdout] 1254 | assert_eq!(Balances::free_balance(account_id(7)), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1255:14 [INFO] [stdout] | [INFO] [stdout] 1255 | assert_eq!(Balances::reserved_balance(account_id(7)), 0); // slashed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1264:3 [INFO] [stdout] | [INFO] [stdout] 1264 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1264:35 [INFO] [stdout] | [INFO] [stdout] 1264 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1265:14 [INFO] [stdout] | [INFO] [stdout] 1265 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1265:37 [INFO] [stdout] | [INFO] [stdout] 1265 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1266:14 [INFO] [stdout] | [INFO] [stdout] 1266 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1266:41 [INFO] [stdout] | [INFO] [stdout] 1266 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1269:3 [INFO] [stdout] | [INFO] [stdout] 1269 | Balances::make_free_balance_be(&account_id(4), 101); // Parent-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1270:3 [INFO] [stdout] | [INFO] [stdout] 1270 | Balances::make_free_balance_be(&account_id(8), 101); // Child-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1273:4 [INFO] [stdout] | [INFO] [stdout] 1273 | RuntimeOrigin::signed(account_id(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1277:39 [INFO] [stdout] | [INFO] [stdout] 1277 | 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 `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1282:19 [INFO] [stdout] | [INFO] [stdout] 1282 | ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1283:5 [INFO] [stdout] | [INFO] [stdout] 1283 | RuntimeOrigin::signed(account_id(4)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1293:40 [INFO] [stdout] | [INFO] [stdout] 1293 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1294:39 [INFO] [stdout] | [INFO] [stdout] 1294 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1297:29 [INFO] [stdout] | [INFO] [stdout] 1297 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1298:4 [INFO] [stdout] | [INFO] [stdout] 1298 | RuntimeOrigin::signed(account_id(4)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1310:27 [INFO] [stdout] | [INFO] [stdout] 1310 | 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 `close_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1315:29 [INFO] [stdout] | [INFO] [stdout] 1315 | assert_ok!(ChildBounties::close_child_bounty(RuntimeOrigin::root(), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] help: there is a method `clone_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/borrow.rs:76:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1315:48 [INFO] [stdout] | [INFO] [stdout] 1315 | assert_ok!(ChildBounties::close_child_bounty(RuntimeOrigin::root(), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1323:37 [INFO] [stdout] | [INFO] [stdout] 1323 | assert_ok!(Bounties::close_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1337:3 [INFO] [stdout] | [INFO] [stdout] 1337 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1337:35 [INFO] [stdout] | [INFO] [stdout] 1337 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1338:14 [INFO] [stdout] | [INFO] [stdout] 1338 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1338:37 [INFO] [stdout] | [INFO] [stdout] 1338 | assert_eq!(Balances::free_balance(Treasury::account_id()), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1339:14 [INFO] [stdout] | [INFO] [stdout] 1339 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1339:41 [INFO] [stdout] | [INFO] [stdout] 1339 | assert_eq!(Balances::reserved_balance(Treasury::account_id()), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1342:3 [INFO] [stdout] | [INFO] [stdout] 1342 | Balances::make_free_balance_be(&account_id(4), 101); // Parent-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1343:3 [INFO] [stdout] | [INFO] [stdout] 1343 | Balances::make_free_balance_be(&account_id(8), 101); // Child-bounty curator. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1346:4 [INFO] [stdout] | [INFO] [stdout] 1346 | RuntimeOrigin::signed(account_id(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1350:39 [INFO] [stdout] | [INFO] [stdout] 1350 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1354:40 [INFO] [stdout] | [INFO] [stdout] 1354 | assert_ok!(Bounties::propose_curator(RuntimeOrigin::root(), 0, account_id(4), 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1355:39 [INFO] [stdout] | [INFO] [stdout] 1355 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(account_id(4)), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1358:29 [INFO] [stdout] | [INFO] [stdout] 1358 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1359:4 [INFO] [stdout] | [INFO] [stdout] 1359 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1371:29 [INFO] [stdout] | [INFO] [stdout] 1371 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1372:4 [INFO] [stdout] | [INFO] [stdout] 1372 | RuntimeOrigin::signed(account_id(4)), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1381:29 [INFO] [stdout] | [INFO] [stdout] 1381 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(8)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1381:44 [INFO] [stdout] | [INFO] [stdout] 1381 | assert_ok!(ChildBounties::accept_curator(RuntimeOrigin::signed(account_id(8)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `award_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1383:29 [INFO] [stdout] | [INFO] [stdout] 1383 | assert_ok!(ChildBounties::award_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = 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_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1384:4 [INFO] [stdout] | [INFO] [stdout] 1384 | RuntimeOrigin::signed(account_id(8)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `claim_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1410:29 [INFO] [stdout] | [INFO] [stdout] 1410 | assert_ok!(ChildBounties::claim_child_bounty(RuntimeOrigin::signed(account_id(7)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = 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_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1410:48 [INFO] [stdout] | [INFO] [stdout] 1410 | assert_ok!(ChildBounties::claim_child_bounty(RuntimeOrigin::signed(account_id(7)), 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1416:37 [INFO] [stdout] | [INFO] [stdout] 1416 | assert_ok!(Bounties::award_bounty(RuntimeOrigin::signed(account_id(4)), 0, account_id(9))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1424:37 [INFO] [stdout] | [INFO] [stdout] 1424 | assert_ok!(Bounties::claim_bounty(RuntimeOrigin::signed(account_id(9)), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1430:14 [INFO] [stdout] | [INFO] [stdout] 1430 | assert_eq!(Balances::free_balance(account_id(4)), 101 + 6 - fee); // 101 + 6 - 2 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1431:14 [INFO] [stdout] | [INFO] [stdout] 1431 | assert_eq!(Balances::reserved_balance(account_id(4)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1434:14 [INFO] [stdout] | [INFO] [stdout] 1434 | assert_eq!(Balances::free_balance(account_id(9)), 34); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1435:14 [INFO] [stdout] | [INFO] [stdout] 1435 | assert_eq!(Balances::reserved_balance(account_id(9)), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1451:3 [INFO] [stdout] | [INFO] [stdout] 1451 | Balances::make_free_balance_be(&Treasury::account_id(), parent_value * 3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1451:35 [INFO] [stdout] | [INFO] [stdout] 1451 | Balances::make_free_balance_be(&Treasury::account_id(), parent_value * 3); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1452:3 [INFO] [stdout] | [INFO] [stdout] 1452 | Balances::make_free_balance_be(&parent_curator, parent_fee * 100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1454:4 [INFO] [stdout] | [INFO] [stdout] 1454 | RuntimeOrigin::signed(parent_curator), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1458:39 [INFO] [stdout] | [INFO] [stdout] 1458 | assert_ok!(Bounties::approve_bounty(RuntimeOrigin::root(), parent_index)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1463:4 [INFO] [stdout] | [INFO] [stdout] 1463 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1468:39 [INFO] [stdout] | [INFO] [stdout] 1468 | assert_ok!(Bounties::accept_curator(RuntimeOrigin::signed(parent_curator), parent_index)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1479:3 [INFO] [stdout] | [INFO] [stdout] 1479 | Balances::make_free_balance_be(&child_curator, starting_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1480:29 [INFO] [stdout] | [INFO] [stdout] 1480 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1481:4 [INFO] [stdout] | [INFO] [stdout] 1481 | RuntimeOrigin::signed(parent_curator), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1487:29 [INFO] [stdout] | [INFO] [stdout] 1487 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1488:4 [INFO] [stdout] | [INFO] [stdout] 1488 | RuntimeOrigin::signed(parent_curator), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1494:29 [INFO] [stdout] | [INFO] [stdout] 1494 | assert_ok!(ChildBounties::accept_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1495:4 [INFO] [stdout] | [INFO] [stdout] 1495 | RuntimeOrigin::signed(child_curator), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1501:14 [INFO] [stdout] | [INFO] [stdout] 1501 | assert_eq!(Balances::free_balance(child_curator), starting_balance - expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1502:14 [INFO] [stdout] | [INFO] [stdout] 1502 | assert_eq!(Balances::reserved_balance(child_curator), expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1511:21 [INFO] [stdout] | [INFO] [stdout] 1511 | let free_before = Balances::free_balance(&parent_curator); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1512:25 [INFO] [stdout] | [INFO] [stdout] 1512 | let reserved_before = Balances::reserved_balance(&parent_curator); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1514:29 [INFO] [stdout] | [INFO] [stdout] 1514 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1515:4 [INFO] [stdout] | [INFO] [stdout] 1515 | RuntimeOrigin::signed(parent_curator), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1521:29 [INFO] [stdout] | [INFO] [stdout] 1521 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1522:4 [INFO] [stdout] | [INFO] [stdout] 1522 | RuntimeOrigin::signed(parent_curator), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1528:29 [INFO] [stdout] | [INFO] [stdout] 1528 | assert_ok!(ChildBounties::accept_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1529:4 [INFO] [stdout] | [INFO] [stdout] 1529 | RuntimeOrigin::signed(child_curator), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1535:14 [INFO] [stdout] | [INFO] [stdout] 1535 | assert_eq!(Balances::free_balance(child_curator), free_before); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1536:14 [INFO] [stdout] | [INFO] [stdout] 1536 | assert_eq!(Balances::reserved_balance(child_curator), reserved_before); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1545:3 [INFO] [stdout] | [INFO] [stdout] 1545 | Balances::make_free_balance_be(&child_curator, starting_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1546:29 [INFO] [stdout] | [INFO] [stdout] 1546 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1547:4 [INFO] [stdout] | [INFO] [stdout] 1547 | RuntimeOrigin::signed(parent_curator), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1553:29 [INFO] [stdout] | [INFO] [stdout] 1553 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1554:4 [INFO] [stdout] | [INFO] [stdout] 1554 | RuntimeOrigin::signed(parent_curator), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1560:29 [INFO] [stdout] | [INFO] [stdout] 1560 | assert_ok!(ChildBounties::accept_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1561:4 [INFO] [stdout] | [INFO] [stdout] 1561 | RuntimeOrigin::signed(child_curator), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1567:14 [INFO] [stdout] | [INFO] [stdout] 1567 | assert_eq!(Balances::free_balance(child_curator), starting_balance - expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1568:14 [INFO] [stdout] | [INFO] [stdout] 1568 | assert_eq!(Balances::reserved_balance(child_curator), expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `impl_close_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1571:29 [INFO] [stdout] | [INFO] [stdout] 1571 | assert_ok!(ChildBounties::impl_close_child_bounty(parent_index, child_index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1580:3 [INFO] [stdout] | [INFO] [stdout] 1580 | Balances::make_free_balance_be(&child_curator, starting_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_child_bounty` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1581:29 [INFO] [stdout] | [INFO] [stdout] 1581 | assert_ok!(ChildBounties::add_child_bounty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `add_child_bounty`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1582:4 [INFO] [stdout] | [INFO] [stdout] 1582 | RuntimeOrigin::signed(parent_curator), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1588:29 [INFO] [stdout] | [INFO] [stdout] 1588 | assert_ok!(ChildBounties::propose_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `propose_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1589:4 [INFO] [stdout] | [INFO] [stdout] 1589 | RuntimeOrigin::signed(parent_curator), [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 `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1595:29 [INFO] [stdout] | [INFO] [stdout] 1595 | assert_ok!(ChildBounties::accept_curator( [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `accept_curator`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1596:4 [INFO] [stdout] | [INFO] [stdout] 1596 | RuntimeOrigin::signed(child_curator), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1602:14 [INFO] [stdout] | [INFO] [stdout] 1602 | assert_eq!(Balances::free_balance(child_curator), starting_balance - expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1603:14 [INFO] [stdout] | [INFO] [stdout] 1603 | assert_eq!(Balances::reserved_balance(child_curator), expected_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `integrity_test` found for struct `StorageDoubleMap` in the current scope [INFO] [stdout] --> src/tests.rs:1610:18 [INFO] [stdout] | [INFO] [stdout] 1610 | ChildBounties::integrity_test(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `StorageDoubleMap<..., ..., u32, ..., u32, ...>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `frame_support::pallet_prelude::StorageDoubleMap<_GeneratedPrefixForStorageChildBounties<_>, frame_support::Twox64Concat, u32, frame_support::Twox64Concat, u32, ChildBounty<_, _, _>>` consider using one of the following associated functions: [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_get [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::try_mutate_exists [INFO] [stdout] frame_support::pallet_prelude::StorageDoubleMap::::migrate_keys [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/storage/types/double_map.rs:250:2 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn try_get(k1: KArg1, k2: KArg2) -> Result [INFO] [stdout] 251 | | where [INFO] [stdout] 252 | | KArg1: EncodeLike, [INFO] [stdout] 253 | | KArg2: EncodeLike, [INFO] [stdout] | |________________________________^ [INFO] [stdout] ... [INFO] [stdout] 388 | / pub fn try_mutate(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 389 | | where [INFO] [stdout] 390 | | KArg1: EncodeLike, [INFO] [stdout] 391 | | KArg2: EncodeLike, [INFO] [stdout] 392 | | F: FnOnce(&mut QueryKind::Query) -> Result, [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 410 | / pub fn try_mutate_exists(k1: KArg1, k2: KArg2, f: F) -> Result [INFO] [stdout] 411 | | where [INFO] [stdout] 412 | | KArg1: EncodeLike, [INFO] [stdout] 413 | | KArg2: EncodeLike, [INFO] [stdout] 414 | | F: FnOnce(&mut Option) -> Result, [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 490 | / pub fn migrate_keys< [INFO] [stdout] 491 | | OldHasher1: crate::StorageHasher, [INFO] [stdout] 492 | | OldHasher2: crate::StorageHasher, [INFO] [stdout] 493 | | KeyArg1: EncodeLike, [INFO] [stdout] ... | [INFO] [stdout] 497 | | key2: KeyArg2, [INFO] [stdout] 498 | | ) -> Option { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 81 - type AccountData = pallet_balances::AccountData; [INFO] [stdout] 81 + type AccountData = pallet_bounties::AccountData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent` [INFO] [stdout] --> src/tests.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | .filter_map(|e| if let RuntimeEvent::ChildBounties(inner) = e { Some(inner) } else { None }) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | type Currency = pallet_balances::Pallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 97 - type Currency = pallet_balances::Pallet; [INFO] [stdout] 97 + type Currency = pallet_bounties::Pallet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:148:2 [INFO] [stdout] | [INFO] [stdout] 148 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 148 - pallet_balances::GenesisConfig:: { [INFO] [stdout] 148 + pallet_bounties::GenesisConfig:: { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-child-bounties` (lib test) due to 545 previous errors [INFO] running `Command { std: "docker" "inspect" "f7c9e9ce6b55321291c10b2688dbf1da9b7ae5f237aab416b026f342d78f293c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7c9e9ce6b55321291c10b2688dbf1da9b7ae5f237aab416b026f342d78f293c", kill_on_drop: false }` [INFO] [stdout] f7c9e9ce6b55321291c10b2688dbf1da9b7ae5f237aab416b026f342d78f293c