[INFO] crate pallet-indices 2.0.0-alpha.6 is already in cache [INFO] checking pallet-indices-2.0.0-alpha.6 against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] extracting crate pallet-indices 2.0.0-alpha.6 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate pallet-indices 2.0.0-alpha.6 on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pallet-indices 2.0.0-alpha.6 [INFO] finished tweaking crates.io crate pallet-indices 2.0.0-alpha.6 [INFO] tweaked toml for crates.io crate pallet-indices 2.0.0-alpha.6 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c92dd61832a117cef777b0a71f3fca860e6d540e8c0be371cf4db67840d96be3 [INFO] running `"docker" "start" "-a" "c92dd61832a117cef777b0a71f3fca860e6d540e8c0be371cf4db67840d96be3"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.109 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.14 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-alpha.7 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tracing-attributes v0.1.7 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling paste-impl v0.1.12 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v2.0.0-alpha.7 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking paste v0.1.12 [INFO] [stderr] Checking ref-cast v1.0.1 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking tracing v0.1.13 [INFO] [stderr] Checking sp-tracing v2.0.0-alpha.7 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking pin-project v0.4.14 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Compiling serde v1.0.109 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking sp-storage v2.0.0-alpha.7 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling frame-support-procedural-tools v2.0.0-alpha.7 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-alpha.7 [INFO] [stderr] Compiling frame-support-procedural v2.0.0-alpha.7 [INFO] [stderr] Checking parity-scale-codec v1.3.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-alpha.7 [INFO] [stderr] Checking sp-externalities v0.8.0-alpha.7 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking parity-util-mem v0.6.1 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-alpha.7 [INFO] [stderr] Checking sp-arithmetic v2.0.0-alpha.7 [INFO] [stderr] Checking memory-db v0.20.1 [INFO] [stderr] Checking sp-core v2.0.0-alpha.7 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.7 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.7 [INFO] [stderr] Checking frame-metadata v11.0.0-alpha.7 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.7 [INFO] [stderr] Checking sp-io v2.0.0-alpha.7 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.7 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.7 [INFO] [stderr] Checking sp-version v2.0.0-alpha.7 [INFO] [stderr] Checking frame-support v2.0.0-alpha.7 [INFO] [stderr] Checking sp-keyring v2.0.0-alpha.7 [INFO] [stderr] Checking frame-system v2.0.0-alpha.7 [INFO] [stderr] Checking pallet-indices v2.0.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `frame_support::weights::SimpleDispatchInfo` [INFO] [stderr] --> src/lib.rs:28:38 [INFO] [stderr] | [INFO] [stderr] 28 | use frame_support::weights::{Weight, SimpleDispatchInfo, WeighData}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `SimpleDispatchInfo` in `weights` [INFO] [stderr] | help: a similar name exists in the module: `DispatchInfo` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `pallet_balances` [INFO] [stderr] --> src/mock.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use pallet_balances as balances; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `pallet_balances` external crate [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `pallet_balances` [INFO] [stderr] --> src/tests.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use pallet_balances::Error as BalancesError; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/mock.rs:68:21 [INFO] [stderr] | [INFO] [stderr] 68 | type AccountData = pallet_balances::AccountData; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/mock.rs:77:6 [INFO] [stderr] | [INFO] [stderr] 77 | impl pallet_balances::Trait for Test { [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/mock.rs:98:2 [INFO] [stderr] | [INFO] [stderr] 98 | pallet_balances::GenesisConfig::{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/mock.rs:105:21 [INFO] [stderr] | [INFO] [stderr] 105 | pub type Balances = pallet_balances::Module; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `frame_support::weights::SimpleDispatchInfo` [INFO] [stderr] --> src/lib.rs:28:38 [INFO] [stderr] | [INFO] [stderr] 28 | use frame_support::weights::{Weight, SimpleDispatchInfo, WeighData}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `SimpleDispatchInfo` in `weights` [INFO] [stderr] | help: a similar name exists in the module: `DispatchInfo` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:124:38 [INFO] [stderr] | [INFO] [stderr] 124 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:152:38 [INFO] [stderr] | [INFO] [stderr] 152 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:183:38 [INFO] [stderr] | [INFO] [stderr] 183 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:212:38 [INFO] [stderr] | [INFO] [stderr] 212 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:124:38 [INFO] [stderr] | [INFO] [stderr] 124 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:152:38 [INFO] [stderr] | [INFO] [stderr] 152 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:183:38 [INFO] [stderr] | [INFO] [stderr] 183 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:212:38 [INFO] [stderr] | [INFO] [stderr] 212 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `pallet-indices`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | / decl_module! { [INFO] [stderr] 99 | | pub struct Module for enum Call where origin: T::Origin, system = frame_system { [INFO] [stderr] 100 | | fn deposit_event() = default; [INFO] [stderr] 101 | | [INFO] [stderr] ... | [INFO] [stderr] 224 | | } [INFO] [stderr] 225 | | } [INFO] [stderr] | |_^ expected trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::ClassifyDispatch`, found trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::ClassifyDispatch<(&::AccountIndex,)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&::AccountIndex,)>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | / decl_module! { [INFO] [stderr] 99 | | pub struct Module for enum Call where origin: T::Origin, system = frame_system { [INFO] [stderr] 100 | | fn deposit_event() = default; [INFO] [stderr] 101 | | [INFO] [stderr] ... | [INFO] [stderr] 224 | | } [INFO] [stderr] 225 | | } [INFO] [stderr] | |_^ expected trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee`, found trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&::AccountIndex,)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&::AccountIndex,)>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | / decl_module! { [INFO] [stderr] 99 | | pub struct Module for enum Call where origin: T::Origin, system = frame_system { [INFO] [stderr] 100 | | fn deposit_event() = default; [INFO] [stderr] 101 | | [INFO] [stderr] ... | [INFO] [stderr] 224 | | } [INFO] [stderr] 225 | | } [INFO] [stderr] | |_^ expected trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::ClassifyDispatch`, found trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::ClassifyDispatch<(&::AccountId, &::AccountIndex)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&::AccountId, &::AccountIndex)>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | / decl_module! { [INFO] [stderr] 99 | | pub struct Module for enum Call where origin: T::Origin, system = frame_system { [INFO] [stderr] 100 | | fn deposit_event() = default; [INFO] [stderr] 101 | | [INFO] [stderr] ... | [INFO] [stderr] 224 | | } [INFO] [stderr] 225 | | } [INFO] [stderr] | |_^ expected trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee`, found trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&::AccountId, &::AccountIndex)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&::AccountId, &::AccountIndex)>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `WeighData` [INFO] [stderr] --> src/lib.rs:28:58 [INFO] [stderr] | [INFO] [stderr] 28 | use frame_support::weights::{Weight, SimpleDispatchInfo, WeighData}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `pallet-indices`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c92dd61832a117cef777b0a71f3fca860e6d540e8c0be371cf4db67840d96be3"` [INFO] running `"docker" "rm" "-f" "c92dd61832a117cef777b0a71f3fca860e6d540e8c0be371cf4db67840d96be3"` [INFO] [stdout] c92dd61832a117cef777b0a71f3fca860e6d540e8c0be371cf4db67840d96be3