[INFO] fetching crate pallet-asset-rate 21.0.0... [INFO] testing pallet-asset-rate-21.0.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate pallet-asset-rate 21.0.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate pallet-asset-rate 21.0.0 [INFO] finished tweaking crates.io crate pallet-asset-rate 21.0.0 [INFO] tweaked toml for crates.io crate pallet-asset-rate 21.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-asset-rate 21.0.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-asset-rate 21.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 983bd4509ceedf20b4bdbf2f64e869996cb90e5964d148a9689d89d06c14f68b [INFO] running `Command { std: "docker" "start" "-a" "983bd4509ceedf20b4bdbf2f64e869996cb90e5964d148a9689d89d06c14f68b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "983bd4509ceedf20b4bdbf2f64e869996cb90e5964d148a9689d89d06c14f68b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "983bd4509ceedf20b4bdbf2f64e869996cb90e5964d148a9689d89d06c14f68b", kill_on_drop: false }` [INFO] [stdout] 983bd4509ceedf20b4bdbf2f64e869996cb90e5964d148a9689d89d06c14f68b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b05e13fe2acc5aef7979f375ccefa9d288044b5d19a921ff7ca8e70e0286037 [INFO] running `Command { std: "docker" "start" "-a" "4b05e13fe2acc5aef7979f375ccefa9d288044b5d19a921ff7ca8e70e0286037", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling array-bytes v6.2.2 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling memory-db v0.34.0 [INFO] [stderr] Compiling trie-root v0.18.0 [INFO] [stderr] Compiling trie-db v0.30.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling simple-mermaid v0.1.1 [INFO] [stderr] Compiling tuplex v0.1.2 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [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 serde_json v1.0.132 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling schnellru v0.2.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-bigint v0.5.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling ed25519 v2.2.2 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling spki v0.7.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pkcs8 v0.10.2 [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 http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling ecdsa v0.16.8 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling jam-codec-derive v0.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v24.0.0 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v35.0.0 [INFO] [stderr] Compiling jam-codec v0.1.0 [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 v18.0.0 [INFO] [stderr] Compiling sp-wasm-interface v23.0.0 [INFO] [stderr] Compiling binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling bounded-collections v0.3.2 [INFO] [stderr] Compiling sp-arithmetic v28.0.0 [INFO] [stderr] Compiling frame-metadata v23.0.0 [INFO] [stderr] Compiling sp-weights v33.0.0 [INFO] [stderr] Compiling sp-runtime-interface v31.0.0 [INFO] [stderr] Compiling sp-metadata-ir v0.12.0 [INFO] [stderr] Compiling sp-core v38.0.0 [INFO] [stderr] Compiling sp-trie v41.0.0 [INFO] [stderr] Compiling sp-keystore v0.44.0 [INFO] [stderr] Compiling sp-state-machine v0.47.0 [INFO] [stderr] Compiling sp-application-crypto v42.0.0 [INFO] [stderr] Compiling sp-runtime v43.0.0 [INFO] [stderr] Compiling sp-version v41.0.0 [INFO] [stderr] Compiling sp-staking v40.0.0 [INFO] [stderr] Compiling sp-inherents v38.0.0 [INFO] [stderr] Compiling sp-api v38.0.0 [INFO] [stderr] Compiling sp-genesis-builder v0.19.0 [INFO] [stderr] Compiling frame-support v42.0.0 [INFO] [stderr] Compiling frame-system v42.0.0 [INFO] [stderr] Compiling pallet-asset-rate v21.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s [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" "4b05e13fe2acc5aef7979f375ccefa9d288044b5d19a921ff7ca8e70e0286037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b05e13fe2acc5aef7979f375ccefa9d288044b5d19a921ff7ca8e70e0286037", kill_on_drop: false }` [INFO] [stdout] 4b05e13fe2acc5aef7979f375ccefa9d288044b5d19a921ff7ca8e70e0286037 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5987403748b9b28ae7ec317ae7c795e56b0a8d75a329cf1a29cfd70d6f79713 [INFO] running `Command { std: "docker" "start" "-a" "a5987403748b9b28ae7ec317ae7c795e56b0a8d75a329cf1a29cfd70d6f79713", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-asset-rate v21.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `mock::AssetRate`, `mock::RuntimeOrigin`, `mock::Test` [INFO] [stdout] --> src/tests.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | use mock::{new_test_ext, AssetRate, RuntimeOrigin, Test}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ no `Test` in `mock` [INFO] [stdout] | | | [INFO] [stdout] | | no `RuntimeOrigin` in `mock` [INFO] [stdout] | no `AssetRate` in `mock` [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:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | 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:24:47 [INFO] [stdout] | [INFO] [stdout] 24 | 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] 24 | 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:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | 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:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 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:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | impl pallet_asset_rate::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:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 48 | 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:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> src/mock.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_io`, use `cargo add sp_io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | frame_system::GenesisConfig::::default().build_storage().unwrap().into() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | 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] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-asset-rate` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "a5987403748b9b28ae7ec317ae7c795e56b0a8d75a329cf1a29cfd70d6f79713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5987403748b9b28ae7ec317ae7c795e56b0a8d75a329cf1a29cfd70d6f79713", kill_on_drop: false }` [INFO] [stdout] a5987403748b9b28ae7ec317ae7c795e56b0a8d75a329cf1a29cfd70d6f79713