[INFO] fetching crate pallet-preimage 40.0.0... [INFO] testing pallet-preimage-40.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-preimage 40.0.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate pallet-preimage 40.0.0 [INFO] finished tweaking crates.io crate pallet-preimage 40.0.0 [INFO] tweaked toml for crates.io crate pallet-preimage 40.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-preimage 40.0.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 357 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 474e6e12446e085823b8be8440523194b7c5a3f9eab344c03267eb6f62ad9c98 [INFO] running `Command { std: "docker" "start" "-a" "474e6e12446e085823b8be8440523194b7c5a3f9eab344c03267eb6f62ad9c98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "474e6e12446e085823b8be8440523194b7c5a3f9eab344c03267eb6f62ad9c98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "474e6e12446e085823b8be8440523194b7c5a3f9eab344c03267eb6f62ad9c98", kill_on_drop: false }` [INFO] [stdout] 474e6e12446e085823b8be8440523194b7c5a3f9eab344c03267eb6f62ad9c98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 76f255e1e723439571cefad6a320eaa7df11f8bba4003916c1e1a3726dbc2e47 [INFO] running `Command { std: "docker" "start" "-a" "76f255e1e723439571cefad6a320eaa7df11f8bba4003916c1e1a3726dbc2e47", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [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 sp-io v40.0.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling schnellru v0.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tuplex v0.1.2 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling simple-mermaid v0.1.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling proc-macro-warning v1.84.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parity-wasm v0.45.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling dyn-clonable v0.9.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v22.0.1 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v33.0.1 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling sp-tracing v17.1.0 [INFO] [stderr] Compiling sp-wasm-interface v21.0.1 [INFO] [stderr] Compiling binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling bounded-collections v0.2.4 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling sp-arithmetic v26.1.0 [INFO] [stderr] Compiling frame-metadata v20.0.0 [INFO] [stderr] Compiling sp-metadata-ir v0.10.0 [INFO] [stderr] Compiling sp-runtime-interface v29.0.1 [INFO] [stderr] Compiling sp-core v36.1.0 [INFO] [stderr] Compiling sp-weights v31.1.0 [INFO] [stderr] Compiling sp-trie v39.1.0 [INFO] [stderr] Compiling sp-keystore v0.42.0 [INFO] [stderr] Compiling sp-state-machine v0.45.0 [INFO] [stderr] Compiling sp-application-crypto v40.1.0 [INFO] [stderr] Compiling sp-runtime v41.1.0 [INFO] [stderr] Compiling sp-version v39.0.0 [INFO] [stderr] Compiling sp-inherents v36.0.0 [INFO] [stderr] Compiling sp-staking v38.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-preimage v40.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 24s [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" "76f255e1e723439571cefad6a320eaa7df11f8bba4003916c1e1a3726dbc2e47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76f255e1e723439571cefad6a320eaa7df11f8bba4003916c1e1a3726dbc2e47", kill_on_drop: false }` [INFO] [stdout] 76f255e1e723439571cefad6a320eaa7df11f8bba4003916c1e1a3726dbc2e47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 99084057c5149f4ea646ce44a091fafc4d150aad1ad516bf6671f1e4f2799455 [INFO] running `Command { std: "docker" "start" "-a" "99084057c5149f4ea646ce44a091fafc4d150aad1ad516bf6671f1e4f2799455", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-preimage v40.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | #[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/mock.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | 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/mock.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | 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] 34 | 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/mock.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | 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/mock.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[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/mock.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[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/mock.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[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/mock.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[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] 20 + 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/mock.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[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 `RuntimeHoldReason` in this scope [INFO] [stdout] --> src/mock.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); [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/mock.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | impl Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 74 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | / pub type BalanceOf = [INFO] [stdout] 92 | | <::Currency as Currency<::AccountId>>::Balance; [INFO] [stdout] | |___________________________________________________________________________________________- similarly named type alias `BalanceOf` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | type Consideration = HoldConsideration; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | / pub type BalanceOf = [INFO] [stdout] 92 | | <::Currency as Currency<::AccountId>>::Balance; [INFO] [stdout] | |___________________________________________________________________________________________- similarly named type alias `BalanceOf` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 77 - type Consideration = HoldConsideration; [INFO] [stdout] 77 + type Consideration = HoldConsideration; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | impl Config for Test { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | 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] 80 | 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/mock.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | let balances = 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] 80 | 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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | Bounded, ::Hashing>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 33 | pub fn make_bounded_values() -> ( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | Bounded, ::Hashing>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 33 | pub fn make_bounded_values() -> ( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | Bounded, ::Hashing>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 33 | pub fn make_bounded_values() -> ( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | let inline = Bounded::, ::Hashing>::Inline(data); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 33 | pub fn make_bounded_values() -> ( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | let hash = ::Hashing::hash(&data[..]).into(); [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:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | Bounded::, ::Hashing>::unrequested(hash, len); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 33 | pub fn make_bounded_values() -> ( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | let hash = ::Hashing::hash(&data[..]).into(); [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:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | let legacy = Bounded::, ::Hashing>::Legacy { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 33 | pub fn make_bounded_values() -> ( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | Error::::AlreadyNoted, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 58 | fn user_note_preimage_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | Error::::NotAuthorized [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 95 | fn user_unnote_preimage_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | Error::::NotNoted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 95 | fn user_unnote_preimage_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | Error::::NotNoted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 95 | fn user_unnote_preimage_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | Error::::NotNoted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 120 | fn manager_unnote_preimage_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | Error::::NotAuthorized [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 136 | fn manager_unnote_user_preimage_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | Error::::NotNoted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 136 | fn manager_unnote_user_preimage_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 180 | RequestStatusFor::::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 175 | fn request_note_order_makes_no_difference() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | PreimageFor::::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 175 | fn request_note_order_makes_no_difference() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | RequestStatusFor::::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 175 | fn request_note_order_makes_no_difference() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | PreimageFor::::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 175 | fn request_note_order_makes_no_difference() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 216 | RequestStatusFor::::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 211 | fn request_user_note_order_makes_no_difference() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | PreimageFor::::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 211 | fn request_user_note_order_makes_no_difference() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:225:23 [INFO] [stdout] | [INFO] [stdout] 225 | RequestStatusFor::::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 211 | fn request_user_note_order_makes_no_difference() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 226 | PreimageFor::::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 211 | fn request_user_note_order_makes_no_difference() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | Error::::NotRequested [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 233 | fn unrequest_preimage_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | Error::::NotRequested [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 233 | fn unrequest_preimage_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:277:28 [INFO] [stdout] | [INFO] [stdout] 277 | assert_eq!(PreimageFor::::iter().count(), 8); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn noted_preimage_use_correct_map() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | assert_eq!(RequestStatusFor::::iter().count(), 8); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn noted_preimage_use_correct_map() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:289:28 [INFO] [stdout] | [INFO] [stdout] 289 | assert_eq!(PreimageFor::::iter().count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn noted_preimage_use_correct_map() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:294:28 [INFO] [stdout] | [INFO] [stdout] 294 | assert_eq!(PreimageFor::::iter().count(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn noted_preimage_use_correct_map() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:297:33 [INFO] [stdout] | [INFO] [stdout] 297 | assert_eq!(RequestStatusFor::::iter().count(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn noted_preimage_use_correct_map() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:313:21 [INFO] [stdout] | [INFO] [stdout] 313 | assert_eq!(hash, ::Hashing::hash(&encoded).into()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 320 | assert!(::have(&bound)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 320 - assert!(::have(&bound)); [INFO] [stdout] 320 + assert!(::have(&bound)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:337:23 [INFO] [stdout] | [INFO] [stdout] 337 | RequestStatusFor::::get(&hash).unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 303 | fn query_and_store_preimage_workflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:344:23 [INFO] [stdout] | [INFO] [stdout] 344 | RequestStatusFor::::get(&hash).unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 303 | fn query_and_store_preimage_workflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | RequestStatusFor::::get(&hash).unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 303 | fn query_and_store_preimage_workflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | assert!(::have(&bound)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 355 - assert!(::have(&bound)); [INFO] [stdout] 355 + assert!(::have(&bound)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | assert!(!::have(&bound)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 359 - assert!(!::have(&bound)); [INFO] [stdout] 359 + assert!(!::have(&bound)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:374:15 [INFO] [stdout] | [INFO] [stdout] 374 | let hash = ::Hashing::hash(&data[..]).into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:377:4 [INFO] [stdout] | [INFO] [stdout] 377 | ::request(&hash); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 377 - ::request(&hash); [INFO] [stdout] 377 + ::request(&hash); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 380 | assert!(::is_requested(&hash)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 380 - assert!(::is_requested(&hash)); [INFO] [stdout] 380 + assert!(::is_requested(&hash)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:381:12 [INFO] [stdout] | [INFO] [stdout] 381 | assert!(::len(&hash).is_none()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 381 - assert!(::len(&hash).is_none()); [INFO] [stdout] 381 + assert!(::len(&hash).is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | assert_noop!(::fetch(&hash, None), DispatchError::Unavailable); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 382 - assert_noop!(::fetch(&hash, None), DispatchError::Unavailable); [INFO] [stdout] 382 + assert_noop!(::fetch(&hash, None), DispatchError::Unavailable); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:385:4 [INFO] [stdout] | [INFO] [stdout] 385 | ::request(&hash); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 385 - ::request(&hash); [INFO] [stdout] 385 + ::request(&hash); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | assert!(::is_requested(&hash)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 387 - assert!(::is_requested(&hash)); [INFO] [stdout] 387 + assert!(::is_requested(&hash)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | assert!(::len(&hash).is_none()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 388 - assert!(::len(&hash).is_none()); [INFO] [stdout] 388 + assert!(::len(&hash).is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | assert_noop!(::fetch(&hash, None), DispatchError::Unavailable); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 389 - assert_noop!(::fetch(&hash, None), DispatchError::Unavailable); [INFO] [stdout] 389 + assert_noop!(::fetch(&hash, None), DispatchError::Unavailable); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:391:33 [INFO] [stdout] | [INFO] [stdout] 391 | assert_eq!(RequestStatusFor::::iter().count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 370 | fn query_preimage_request_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:394:4 [INFO] [stdout] | [INFO] [stdout] 394 | ::unrequest(&hash); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 394 - ::unrequest(&hash); [INFO] [stdout] 394 + ::unrequest(&hash); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | assert!(::is_requested(&hash)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 396 - assert!(::is_requested(&hash)); [INFO] [stdout] 396 + assert!(::is_requested(&hash)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | ::unrequest(&hash); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 398 - ::unrequest(&hash); [INFO] [stdout] 398 + ::unrequest(&hash); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | assert!(!::is_requested(&hash)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 400 - assert!(!::is_requested(&hash)); [INFO] [stdout] 400 + assert!(!::is_requested(&hash)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:402:33 [INFO] [stdout] | [INFO] [stdout] 402 | assert_eq!(RequestStatusFor::::iter().count(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 370 | fn query_preimage_request_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:414:25 [INFO] [stdout] | [INFO] [stdout] 414 | assert_storage_noop!(::hold(&inline)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 414 - assert_storage_noop!(::hold(&inline)); [INFO] [stdout] 414 + assert_storage_noop!(::hold(&inline)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:416:4 [INFO] [stdout] | [INFO] [stdout] 416 | ::hold(&lookup); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 416 - ::hold(&lookup); [INFO] [stdout] 416 + ::hold(&lookup); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 417 | assert!(::is_requested(&lookup.hash())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 417 - assert!(::is_requested(&lookup.hash())); [INFO] [stdout] 417 + assert!(::is_requested(&lookup.hash())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:419:4 [INFO] [stdout] | [INFO] [stdout] 419 | ::hold(&legacy); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 419 - ::hold(&legacy); [INFO] [stdout] 419 + ::hold(&legacy); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | assert!(::is_requested(&legacy.hash())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 420 - assert!(::is_requested(&legacy.hash())); [INFO] [stdout] 420 + assert!(::is_requested(&legacy.hash())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:423:33 [INFO] [stdout] | [INFO] [stdout] 423 | assert_eq!(RequestStatusFor::::iter().count(), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 408 | fn query_preimage_hold_and_drop_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:426:4 [INFO] [stdout] | [INFO] [stdout] 426 | ::drop(&lookup); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 426 - ::drop(&lookup); [INFO] [stdout] 426 + ::drop(&lookup); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | assert!(!::is_requested(&lookup.hash())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 427 - assert!(!::is_requested(&lookup.hash())); [INFO] [stdout] 427 + assert!(!::is_requested(&lookup.hash())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:428:4 [INFO] [stdout] | [INFO] [stdout] 428 | ::drop(&legacy); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 428 - ::drop(&legacy); [INFO] [stdout] 428 + ::drop(&legacy); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | assert!(!::is_requested(&legacy.hash())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 429 - assert!(!::is_requested(&legacy.hash())); [INFO] [stdout] 429 + assert!(!::is_requested(&legacy.hash())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:432:33 [INFO] [stdout] | [INFO] [stdout] 432 | assert_eq!(RequestStatusFor::::iter().count(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 408 | fn query_preimage_hold_and_drop_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:445:16 [INFO] [stdout] | [INFO] [stdout] 445 | let bound = ::bound(data.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 445 - let bound = ::bound(data.clone()).unwrap(); [INFO] [stdout] 445 + let bound = ::bound(data.clone()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 447 | assert_ok!(::peek(&bound)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 447 - assert_ok!(::peek(&bound)); [INFO] [stdout] 447 + assert_ok!(::peek(&bound)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:449:4 [INFO] [stdout] | [INFO] [stdout] 449 | ::unnote(&bound.hash()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 449 - ::unnote(&bound.hash()); [INFO] [stdout] 449 + ::unnote(&bound.hash()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:451:16 [INFO] [stdout] | [INFO] [stdout] 451 | assert_err!(::peek(&bound), DispatchError::Unavailable); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 451 - assert_err!(::peek(&bound), DispatchError::Unavailable); [INFO] [stdout] 451 + assert_err!(::peek(&bound), DispatchError::Unavailable); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:453:15 [INFO] [stdout] | [INFO] [stdout] 453 | assert_ok!(::note(Cow::Borrowed(&data))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 453 - assert_ok!(::note(Cow::Borrowed(&data))); [INFO] [stdout] 453 + assert_ok!(::note(Cow::Borrowed(&data))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:454:16 [INFO] [stdout] | [INFO] [stdout] 454 | assert_err!(::peek(&bound), DispatchError::Unavailable); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 454 - assert_err!(::peek(&bound), DispatchError::Unavailable); [INFO] [stdout] 454 + assert_err!(::peek(&bound), DispatchError::Unavailable); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:457:15 [INFO] [stdout] | [INFO] [stdout] 457 | assert_ok!(::note(encoded.clone())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 457 - assert_ok!(::note(encoded.clone())); [INFO] [stdout] 457 + assert_ok!(::note(encoded.clone())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:459:15 [INFO] [stdout] | [INFO] [stdout] 459 | assert_ok!(::note(encoded)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 459 - assert_ok!(::note(encoded)); [INFO] [stdout] 459 + assert_ok!(::note(encoded)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:460:15 [INFO] [stdout] | [INFO] [stdout] 460 | assert_ok!(::peek(&bound)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 460 - assert_ok!(::peek(&bound)); [INFO] [stdout] 460 + assert_ok!(::peek(&bound)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:463:4 [INFO] [stdout] | [INFO] [stdout] 463 | ::unnote(&bound.hash()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 463 - ::unnote(&bound.hash()); [INFO] [stdout] 463 + ::unnote(&bound.hash()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:464:20 [INFO] [stdout] | [INFO] [stdout] 464 | let data_hash = ::Hashing::hash(&data); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:465:4 [INFO] [stdout] | [INFO] [stdout] 465 | ::unnote(&data_hash.into()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 465 - ::unnote(&data_hash.into()); [INFO] [stdout] 465 + ::unnote(&data_hash.into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:475:14 [INFO] [stdout] | [INFO] [stdout] 475 | let len = ::MAX_LENGTH; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 475 - let len = ::MAX_LENGTH; [INFO] [stdout] 475 + let len = ::MAX_LENGTH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:477:15 [INFO] [stdout] | [INFO] [stdout] 477 | assert_ok!(::note(data.into())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 477 - assert_ok!(::note(data.into())); [INFO] [stdout] 477 + assert_ok!(::note(data.into())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:481:16 [INFO] [stdout] | [INFO] [stdout] 481 | assert_err!(::note(data.into()), DispatchError::Exhausted); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 481 - assert_err!(::note(data.into()), DispatchError::Exhausted); [INFO] [stdout] 481 + assert_err!(::note(data.into()), DispatchError::Exhausted); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:490:14 [INFO] [stdout] | [INFO] [stdout] 490 | let len = ::MAX_LENGTH; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 490 - let len = ::MAX_LENGTH; [INFO] [stdout] 490 + let len = ::MAX_LENGTH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:492:16 [INFO] [stdout] | [INFO] [stdout] 492 | assert_err!(::bound(data.clone()), DispatchError::Exhausted); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 492 - assert_err!(::bound(data.clone()), DispatchError::Exhausted); [INFO] [stdout] 492 + assert_err!(::bound(data.clone()), DispatchError::Exhausted); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/tests.rs:496:15 [INFO] [stdout] | [INFO] [stdout] 496 | assert_ok!(::bound(data.clone())); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 496 - assert_ok!(::bound(data.clone())); [INFO] [stdout] 496 + assert_ok!(::bound(data.clone())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:508:47 [INFO] [stdout] | [INFO] [stdout] 508 | (0..100).map(|j| insert_old_unrequested::(j, alice)).collect::>(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 501 | fn ensure_updated_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:518:34 [INFO] [stdout] | [INFO] [stdout] 518 | assert_eq!(RequestStatusFor::::iter().count(), i); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 501 | fn ensure_updated_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:519:27 [INFO] [stdout] | [INFO] [stdout] 519 | assert_eq!(StatusFor::::iter().count(), 100 - i); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 501 | fn ensure_updated_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConstU64` [INFO] [stdout] --> src/mock.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | traits::{fungible::HoldConsideration, ConstU64}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fungible::InspectHold` [INFO] [stdout] --> src/tests.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | traits::{fungible::InspectHold, Bounded, BoundedInline}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeHoldReason` [INFO] [stdout] --> src/mock.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RuntimeHoldReason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 60 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] 60 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [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:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(Balances::balance_on_hold(&PreimageHoldReason::get(), &2), 3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(Balances::free_balance(2), 97); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | assert!(Preimage::have_preimage(&h)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 65 - assert!(Preimage::have_preimage(&h)); [INFO] [stdout] 65 + assert!(crate::HoldReason::have_preimage(&h)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(Preimage::get_preimage(&h), Some(vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 66 - assert_eq!(Preimage::get_preimage(&h), Some(vec![1])); [INFO] [stdout] 66 + assert_eq!(crate::HoldReason::get_preimage(&h), Some(vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1]), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 69 - Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1]), [INFO] [stdout] 69 + crate::HoldReason::note_preimage(RuntimeOrigin::signed(2), vec![1]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1]), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | Preimage::note_preimage(RuntimeOrigin::signed(0), vec![2]), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 73 - Preimage::note_preimage(RuntimeOrigin::signed(0), vec![2]), [INFO] [stdout] 73 + crate::HoldReason::note_preimage(RuntimeOrigin::signed(0), vec![2]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | Preimage::note_preimage(RuntimeOrigin::signed(0), vec![2]), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 82 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] 82 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![1])); [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:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(Balances::reserved_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(Balances::free_balance(1), 100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | assert!(Preimage::have_preimage(&h)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 87 - assert!(Preimage::have_preimage(&h)); [INFO] [stdout] 87 + assert!(crate::HoldReason::have_preimage(&h)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!(Preimage::get_preimage(&h), Some(vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 88 - assert_eq!(Preimage::get_preimage(&h), Some(vec![1])); [INFO] [stdout] 88 + assert_eq!(crate::HoldReason::get_preimage(&h), Some(vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 90 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] 90 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:90:38 [INFO] [stdout] | [INFO] [stdout] 90 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 97 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] 97 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 97 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | Preimage::unnote_preimage(RuntimeOrigin::signed(3), hashed([1])), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 99 - Preimage::unnote_preimage(RuntimeOrigin::signed(3), hashed([1])), [INFO] [stdout] 99 + crate::HoldReason::unnote_preimage(RuntimeOrigin::signed(3), hashed([1])), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | Preimage::unnote_preimage(RuntimeOrigin::signed(3), hashed([1])), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([2])), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 103 - Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([2])), [INFO] [stdout] 103 + crate::HoldReason::unnote_preimage(RuntimeOrigin::signed(2), hashed([2])), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([2])), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 107 - assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] 107 + assert_ok!(crate::HoldReason::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1])), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 109 - Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1])), [INFO] [stdout] 109 + crate::HoldReason::unnote_preimage(RuntimeOrigin::signed(2), hashed([1])), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1])), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | assert!(!Preimage::have_preimage(&h)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 114 - assert!(!Preimage::have_preimage(&h)); [INFO] [stdout] 114 + assert!(!crate::HoldReason::have_preimage(&h)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(Preimage::get_preimage(&h), None); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 115 - assert_eq!(Preimage::get_preimage(&h), None); [INFO] [stdout] 115 + assert_eq!(crate::HoldReason::get_preimage(&h), None); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 122 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] 122 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 123 - assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 123 + assert_ok!(crate::HoldReason::unnote_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:123:40 [INFO] [stdout] | [INFO] [stdout] 123 | assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | Preimage::unnote_preimage(RuntimeOrigin::signed(1), hashed([1])), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 125 - Preimage::unnote_preimage(RuntimeOrigin::signed(1), hashed([1])), [INFO] [stdout] 125 + crate::HoldReason::unnote_preimage(RuntimeOrigin::signed(1), hashed([1])), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | Preimage::unnote_preimage(RuntimeOrigin::signed(1), hashed([1])), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | assert!(!Preimage::have_preimage(&h)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 130 - assert!(!Preimage::have_preimage(&h)); [INFO] [stdout] 130 + assert!(!crate::HoldReason::have_preimage(&h)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(Preimage::get_preimage(&h), None); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 131 - assert_eq!(Preimage::get_preimage(&h), None); [INFO] [stdout] 131 + assert_eq!(crate::HoldReason::get_preimage(&h), None); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 138 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] 138 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:138:38 [INFO] [stdout] | [INFO] [stdout] 138 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | Preimage::unnote_preimage(RuntimeOrigin::signed(3), hashed([1])), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 140 - Preimage::unnote_preimage(RuntimeOrigin::signed(3), hashed([1])), [INFO] [stdout] 140 + crate::HoldReason::unnote_preimage(RuntimeOrigin::signed(3), hashed([1])), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | Preimage::unnote_preimage(RuntimeOrigin::signed(3), hashed([1])), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([2])), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 144 - Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([2])), [INFO] [stdout] 144 + crate::HoldReason::unnote_preimage(RuntimeOrigin::signed(2), hashed([2])), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([2])), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 148 - assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 148 + assert_ok!(crate::HoldReason::unnote_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:148:40 [INFO] [stdout] | [INFO] [stdout] 148 | assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | assert!(!Preimage::have_preimage(&h)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 151 - assert!(!Preimage::have_preimage(&h)); [INFO] [stdout] 151 + assert!(!crate::HoldReason::have_preimage(&h)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(Preimage::get_preimage(&h), None); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 152 - assert_eq!(Preimage::get_preimage(&h), None); [INFO] [stdout] 152 + assert_eq!(crate::HoldReason::get_preimage(&h), None); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 159 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] 159 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:159:38 [INFO] [stdout] | [INFO] [stdout] 159 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![1])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 160 - assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 160 + assert_ok!(crate::HoldReason::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:160:41 [INFO] [stdout] | [INFO] [stdout] 160 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 161 - assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 161 + assert_ok!(crate::HoldReason::unnote_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | assert!(Preimage::have_preimage(&h)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 165 - assert!(Preimage::have_preimage(&h)); [INFO] [stdout] 165 + assert!(crate::HoldReason::have_preimage(&h)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | assert_eq!(Preimage::get_preimage(&h), Some(vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 166 - assert_eq!(Preimage::get_preimage(&h), Some(vec![1])); [INFO] [stdout] 166 + assert_eq!(crate::HoldReason::get_preimage(&h), Some(vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | assert_ok!(Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 169 - assert_ok!(Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 169 + assert_ok!(crate::HoldReason::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:169:43 [INFO] [stdout] | [INFO] [stdout] 169 | assert_ok!(Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | assert!(!Preimage::have_preimage(&hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 170 - assert!(!Preimage::have_preimage(&hashed([1]))); [INFO] [stdout] 170 + assert!(!crate::HoldReason::have_preimage(&hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 177 - assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 177 + assert_ok!(crate::HoldReason::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:177:41 [INFO] [stdout] | [INFO] [stdout] 177 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 178 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] 178 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:178:38 [INFO] [stdout] | [INFO] [stdout] 178 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 185 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] 185 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:185:38 [INFO] [stdout] | [INFO] [stdout] 185 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 186 - assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 186 + assert_ok!(crate::HoldReason::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:186:41 [INFO] [stdout] | [INFO] [stdout] 186 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 187 - assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] 187 + assert_ok!(crate::HoldReason::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:187:40 [INFO] [stdout] | [INFO] [stdout] 187 | assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 199 - assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 199 + assert_ok!(crate::HoldReason::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:199:41 [INFO] [stdout] | [INFO] [stdout] 199 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 200 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] 200 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 200 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [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:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | assert_eq!(Balances::reserved_balance(2), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:202:14 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(Balances::free_balance(2), 100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:205:11 [INFO] [stdout] | [INFO] [stdout] 205 | assert!(Preimage::have_preimage(&h)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 205 - assert!(Preimage::have_preimage(&h)); [INFO] [stdout] 205 + assert!(crate::HoldReason::have_preimage(&h)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:206:14 [INFO] [stdout] | [INFO] [stdout] 206 | assert_eq!(Preimage::get_preimage(&h), Some(vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 206 - assert_eq!(Preimage::get_preimage(&h), Some(vec![1])); [INFO] [stdout] 206 + assert_eq!(crate::HoldReason::get_preimage(&h), Some(vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 213 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 213 - assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 213 + assert_ok!(crate::HoldReason::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:213:41 [INFO] [stdout] | [INFO] [stdout] 213 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 214 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] 214 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:214:38 [INFO] [stdout] | [INFO] [stdout] 214 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 221 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] 221 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:221:38 [INFO] [stdout] | [INFO] [stdout] 221 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:222:14 [INFO] [stdout] | [INFO] [stdout] 222 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 222 - assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 222 + assert_ok!(crate::HoldReason::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:222:41 [INFO] [stdout] | [INFO] [stdout] 222 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 223 - assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] 223 + assert_ok!(crate::HoldReason::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:223:40 [INFO] [stdout] | [INFO] [stdout] 223 | assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 235 - assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 235 + assert_ok!(crate::HoldReason::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:235:41 [INFO] [stdout] | [INFO] [stdout] 235 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 236 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 236 - assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 236 + assert_ok!(crate::HoldReason::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:236:41 [INFO] [stdout] | [INFO] [stdout] 236 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:237:14 [INFO] [stdout] | [INFO] [stdout] 237 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 237 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] 237 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:237:38 [INFO] [stdout] | [INFO] [stdout] 237 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([2])), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 239 - Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([2])), [INFO] [stdout] 239 + crate::HoldReason::unrequest_preimage(RuntimeOrigin::signed(1), hashed([2])), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:239:33 [INFO] [stdout] | [INFO] [stdout] 239 | Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([2])), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:243:14 [INFO] [stdout] | [INFO] [stdout] 243 | assert_ok!(Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 243 - assert_ok!(Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 243 + assert_ok!(crate::HoldReason::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:243:43 [INFO] [stdout] | [INFO] [stdout] 243 | assert_ok!(Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:244:11 [INFO] [stdout] | [INFO] [stdout] 244 | assert!(Preimage::have_preimage(&hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 244 - assert!(Preimage::have_preimage(&hashed([1]))); [INFO] [stdout] 244 + assert!(crate::HoldReason::have_preimage(&hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | assert_ok!(Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 246 - assert_ok!(Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 246 + assert_ok!(crate::HoldReason::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:246:43 [INFO] [stdout] | [INFO] [stdout] 246 | assert_ok!(Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1])), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 248 - Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1])), [INFO] [stdout] 248 + crate::HoldReason::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1])), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:248:33 [INFO] [stdout] | [INFO] [stdout] 248 | Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1])), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1; 3])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 257 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1; 3])); [INFO] [stdout] 257 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(2), vec![1; 3])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:257:38 [INFO] [stdout] | [INFO] [stdout] 257 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1; 3])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(Balances::balance_on_hold(&PreimageHoldReason::get(), &2), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 259 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 259 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] 259 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:259:38 [INFO] [stdout] | [INFO] [stdout] 259 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(2), vec![1])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(Balances::balance_on_hold(&PreimageHoldReason::get(), &2), 8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 261 - assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 261 + assert_ok!(crate::HoldReason::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:261:41 [INFO] [stdout] | [INFO] [stdout] 261 | assert_ok!(Preimage::request_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | assert_ok!(Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 262 - assert_ok!(Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] 262 + assert_ok!(crate::HoldReason::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:262:43 [INFO] [stdout] | [INFO] [stdout] 262 | assert_ok!(Preimage::unrequest_preimage(RuntimeOrigin::signed(1), hashed([1]))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 263 - assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] 263 + assert_ok!(crate::HoldReason::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:263:40 [INFO] [stdout] | [INFO] [stdout] 263 | assert_ok!(Preimage::unnote_preimage(RuntimeOrigin::signed(2), hashed([1]))); [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:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | assert_eq!(Balances::balance_on_hold(&PreimageHoldReason::get(), &2), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:274:15 [INFO] [stdout] | [INFO] [stdout] 274 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![0; 128 << (i * 2)])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 274 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![0; 128 << (i * 2)])); [INFO] [stdout] 274 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(1), vec![0; 128 << (i * 2)])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:274:39 [INFO] [stdout] | [INFO] [stdout] 274 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![0; 128 << (i * 2)])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:276:14 [INFO] [stdout] | [INFO] [stdout] 276 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![0; MAX_SIZE as usize])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 276 - assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![0; MAX_SIZE as usize])); [INFO] [stdout] 276 + assert_ok!(crate::HoldReason::note_preimage(RuntimeOrigin::signed(1), vec![0; MAX_SIZE as usize])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:276:38 [INFO] [stdout] | [INFO] [stdout] 276 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(1), vec![0; MAX_SIZE as usize])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | assert_ok!(Preimage::unnote_preimage( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 284 - assert_ok!(Preimage::unnote_preimage( [INFO] [stdout] 284 + assert_ok!(crate::HoldReason::unnote_preimage( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 290 | assert_ok!(Preimage::unnote_preimage( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 290 - assert_ok!(Preimage::unnote_preimage( [INFO] [stdout] 290 + assert_ok!(crate::HoldReason::unnote_preimage( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 310 | let bound = Preimage::bound(data.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 310 - let bound = Preimage::bound(data.clone()).unwrap(); [INFO] [stdout] 310 + let bound = crate::HoldReason::bound(data.clone()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:319:11 [INFO] [stdout] | [INFO] [stdout] 319 | assert!(Preimage::is_requested(&hash)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 319 - assert!(Preimage::is_requested(&hash)); [INFO] [stdout] 319 + assert!(crate::HoldReason::is_requested(&hash)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:321:14 [INFO] [stdout] | [INFO] [stdout] 321 | assert_eq!(Preimage::len(&hash), Some(len)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 321 - assert_eq!(Preimage::len(&hash), Some(len)); [INFO] [stdout] 321 + assert_eq!(crate::HoldReason::len(&hash), Some(len)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:324:14 [INFO] [stdout] | [INFO] [stdout] 324 | assert_eq!(Preimage::fetch(&hash, Some(len)).unwrap(), encoded); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 324 - assert_eq!(Preimage::fetch(&hash, Some(len)).unwrap(), encoded); [INFO] [stdout] 324 + assert_eq!(crate::HoldReason::fetch(&hash, Some(len)).unwrap(), encoded); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | assert_eq!(Preimage::fetch(&hash, None).unwrap(), encoded); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 326 - assert_eq!(Preimage::fetch(&hash, None).unwrap(), encoded); [INFO] [stdout] 326 + assert_eq!(crate::HoldReason::fetch(&hash, None).unwrap(), encoded); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:328:15 [INFO] [stdout] | [INFO] [stdout] 328 | assert_err!(Preimage::fetch(&hash, Some(0)), DispatchError::Unavailable); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 328 - assert_err!(Preimage::fetch(&hash, Some(0)), DispatchError::Unavailable); [INFO] [stdout] 328 + assert_err!(crate::HoldReason::fetch(&hash, Some(0)), DispatchError::Unavailable); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | assert_eq!(Preimage::peek::>(&bound).unwrap(), (data.clone(), Some(len))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 331 - assert_eq!(Preimage::peek::>(&bound).unwrap(), (data.clone(), Some(len))); [INFO] [stdout] 331 + assert_eq!(crate::HoldReason::peek::>(&bound).unwrap(), (data.clone(), Some(len))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:333:14 [INFO] [stdout] | [INFO] [stdout] 333 | assert_eq!(Preimage::pick::>(hash, len), bound); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 333 - assert_eq!(Preimage::pick::>(hash, len), bound); [INFO] [stdout] 333 + assert_eq!(crate::HoldReason::pick::>(hash, len), bound); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:334:3 [INFO] [stdout] | [INFO] [stdout] 334 | Preimage::request(&hash); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 334 - Preimage::request(&hash); [INFO] [stdout] 334 + crate::HoldReason::request(&hash); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:342:14 [INFO] [stdout] | [INFO] [stdout] 342 | assert_eq!(Preimage::realize::>(&bound).unwrap(), (data.clone(), Some(len))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 342 - assert_eq!(Preimage::realize::>(&bound).unwrap(), (data.clone(), Some(len))); [INFO] [stdout] 342 + assert_eq!(crate::HoldReason::realize::>(&bound).unwrap(), (data.clone(), Some(len))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:348:3 [INFO] [stdout] | [INFO] [stdout] 348 | Preimage::drop(&bound); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 348 - Preimage::drop(&bound); [INFO] [stdout] 348 + crate::HoldReason::drop(&bound); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:357:3 [INFO] [stdout] | [INFO] [stdout] 357 | Preimage::unnote(&hash); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 357 - Preimage::unnote(&hash); [INFO] [stdout] 357 + crate::HoldReason::unnote(&hash); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:360:15 [INFO] [stdout] | [INFO] [stdout] 360 | assert_err!(Preimage::fetch(&hash, Some(len)), DispatchError::Unavailable); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 360 - assert_err!(Preimage::fetch(&hash, Some(len)), DispatchError::Unavailable); [INFO] [stdout] 360 + assert_err!(crate::HoldReason::fetch(&hash, Some(len)), DispatchError::Unavailable); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | assert!(!Preimage::is_requested(&hash)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 362 - assert!(!Preimage::is_requested(&hash)); [INFO] [stdout] 362 + assert!(!crate::HoldReason::is_requested(&hash)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:513:14 [INFO] [stdout] | [INFO] [stdout] 513 | let res = Preimage::ensure_updated(RuntimeOrigin::signed(alice), hashes).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Preimage`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 513 - let res = Preimage::ensure_updated(RuntimeOrigin::signed(alice), hashes).unwrap(); [INFO] [stdout] 513 + let res = crate::HoldReason::ensure_updated(RuntimeOrigin::signed(alice), hashes).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:513:39 [INFO] [stdout] | [INFO] [stdout] 513 | let res = Preimage::ensure_updated(RuntimeOrigin::signed(alice), hashes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let balances = pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-preimage` (lib test) due to 242 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "99084057c5149f4ea646ce44a091fafc4d150aad1ad516bf6671f1e4f2799455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99084057c5149f4ea646ce44a091fafc4d150aad1ad516bf6671f1e4f2799455", kill_on_drop: false }` [INFO] [stdout] 99084057c5149f4ea646ce44a091fafc4d150aad1ad516bf6671f1e4f2799455