[INFO] crate pallet-sudo 2.0.0-alpha.6 is already in cache [INFO] checking pallet-sudo-2.0.0-alpha.6 against master#08dfbfb61871a83f720c6e97a3b737076e89fe3e for pr-71796 [INFO] extracting crate pallet-sudo 2.0.0-alpha.6 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate pallet-sudo 2.0.0-alpha.6 on toolchain 08dfbfb61871a83f720c6e97a3b737076e89fe3e [INFO] running `"/workspace/cargo-home/bin/cargo" "+08dfbfb61871a83f720c6e97a3b737076e89fe3e" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pallet-sudo 2.0.0-alpha.6 [INFO] finished tweaking crates.io crate pallet-sudo 2.0.0-alpha.6 [INFO] tweaked toml for crates.io crate pallet-sudo 2.0.0-alpha.6 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+08dfbfb61871a83f720c6e97a3b737076e89fe3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+08dfbfb61871a83f720c6e97a3b737076e89fe3e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+08dfbfb61871a83f720c6e97a3b737076e89fe3e" "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] f8023a6569ce6401965ec6d9aa327270d3b8aaddb0b48684087cd969dc7b8f7d [INFO] running `"docker" "start" "-a" "f8023a6569ce6401965ec6d9aa327270d3b8aaddb0b48684087cd969dc7b8f7d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking tracing v0.1.14 [INFO] [stderr] Checking paste v0.1.12 [INFO] [stderr] Checking ref-cast v1.0.1 [INFO] [stderr] Checking pin-project v0.4.16 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking sp-tracing v2.0.0-alpha.8 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking merlin v2.0.0 [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 num-integer v0.1.42 [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking wasmi v0.6.2 [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] Checking sp-storage v2.0.0-alpha.8 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling frame-support-procedural-tools v2.0.0-alpha.8 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-alpha.8 [INFO] [stderr] Compiling frame-support-procedural v2.0.0-alpha.8 [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.8 [INFO] [stderr] Checking sp-externalities v0.8.0-alpha.8 [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.8 [INFO] [stderr] Checking sp-arithmetic v2.0.0-alpha.8 [INFO] [stderr] Checking memory-db v0.20.1 [INFO] [stderr] Checking sp-core v2.0.0-alpha.8 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.8 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.8 [INFO] [stderr] Checking frame-metadata v11.0.0-alpha.8 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.8 [INFO] [stderr] Checking sp-io v2.0.0-alpha.8 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.8 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.8 [INFO] [stderr] Checking sp-version v2.0.0-alpha.8 [INFO] [stderr] Checking frame-support v2.0.0-alpha.8 [INFO] [stderr] Checking frame-system v2.0.0-alpha.8 [INFO] [stderr] Checking pallet-sudo v2.0.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:153:38 [INFO] [stderr] | [INFO] [stderr] 153 | #[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:153:38 [INFO] [stderr] | [INFO] [stderr] 153 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<((&std::boxed::Box<::Call>,),)>` closure, found `bool` [INFO] [stderr] --> src/lib.rs:106:1 [INFO] [stderr] | [INFO] [stderr] 106 | / decl_module! { [INFO] [stderr] 107 | | // Simple declaration of the `Module` type. Lets the macro know what it's working on. [INFO] [stderr] 108 | | pub struct Module for enum Call where origin: T::Origin { [INFO] [stderr] 109 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 201 | | } [INFO] [stderr] 202 | | } [INFO] [stderr] | |_^ expected an `Fn<((&std::boxed::Box<::Call>,),)>` closure, found `bool` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Fn<((&std::boxed::Box<::Call>,),)>` is not implemented for `bool` [INFO] [stderr] = note: required because of the requirements on the impl of `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&std::boxed::Box<::Call>,)>` for `sp_api_hidden_includes_decl_storage::hidden_include::weights::FunctionOf<[closure@src/lib.rs:124:4: 124:82], [closure@src/lib.rs:125:4: 125:72], bool>` [INFO] [stderr] = note: required for the cast to the object type `dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&std::boxed::Box<::Call>,)>` [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[E0277]: expected a `std::ops::Fn<((&std::boxed::Box<::Call>,),)>` closure, found `bool` [INFO] [stderr] --> src/lib.rs:106:1 [INFO] [stderr] | [INFO] [stderr] 106 | / decl_module! { [INFO] [stderr] 107 | | // Simple declaration of the `Module` type. Lets the macro know what it's working on. [INFO] [stderr] 108 | | pub struct Module for enum Call where origin: T::Origin { [INFO] [stderr] 109 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 201 | | } [INFO] [stderr] 202 | | } [INFO] [stderr] | |_^ expected an `Fn<((&std::boxed::Box<::Call>,),)>` closure, found `bool` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Fn<((&std::boxed::Box<::Call>,),)>` is not implemented for `bool` [INFO] [stderr] = note: required because of the requirements on the impl of `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&std::boxed::Box<::Call>,)>` for `sp_api_hidden_includes_decl_storage::hidden_include::weights::FunctionOf<[closure@src/lib.rs:124:4: 124:82], [closure@src/lib.rs:125:4: 125:72], bool>` [INFO] [stderr] = note: required for the cast to the object type `dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&std::boxed::Box<::Call>,)>` [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:106:1 [INFO] [stderr] | [INFO] [stderr] 106 | / decl_module! { [INFO] [stderr] 107 | | // Simple declaration of the `Module` type. Lets the macro know what it's working on. [INFO] [stderr] 108 | | pub struct Module for enum Call where origin: T::Origin { [INFO] [stderr] 109 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 201 | | } [INFO] [stderr] 202 | | } [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<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source,)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source,)>` [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:106:1 [INFO] [stderr] | [INFO] [stderr] 106 | / decl_module! { [INFO] [stderr] 107 | | // Simple declaration of the `Module` type. Lets the macro know what it's working on. [INFO] [stderr] 108 | | pub struct Module for enum Call where origin: T::Origin { [INFO] [stderr] 109 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 201 | | } [INFO] [stderr] 202 | | } [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<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source,)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source,)>` [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:106:1 [INFO] [stderr] | [INFO] [stderr] 106 | / decl_module! { [INFO] [stderr] 107 | | // Simple declaration of the `Module` type. Lets the macro know what it's working on. [INFO] [stderr] 108 | | pub struct Module for enum Call where origin: T::Origin { [INFO] [stderr] 109 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 201 | | } [INFO] [stderr] 202 | | } [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<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source,)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source,)>` [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:106:1 [INFO] [stderr] | [INFO] [stderr] 106 | / decl_module! { [INFO] [stderr] 107 | | // Simple declaration of the `Module` type. Lets the macro know what it's working on. [INFO] [stderr] 108 | | pub struct Module for enum Call where origin: T::Origin { [INFO] [stderr] 109 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 201 | | } [INFO] [stderr] 202 | | } [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<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source,)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source,)>` [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[E0277]: expected a `std::ops::Fn<((&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source, &std::boxed::Box<::Call>),)>` closure, found `bool` [INFO] [stderr] --> src/lib.rs:106:1 [INFO] [stderr] | [INFO] [stderr] 106 | / decl_module! { [INFO] [stderr] 107 | | // Simple declaration of the `Module` type. Lets the macro know what it's working on. [INFO] [stderr] 108 | | pub struct Module for enum Call where origin: T::Origin { [INFO] [stderr] 109 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 201 | | } [INFO] [stderr] 202 | | } [INFO] [stderr] | |_^ expected an `Fn<((&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source, &std::boxed::Box<::Call>),)>` closure, found `bool` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Fn<((&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source, &std::boxed::Box<::Call>),)>` is not implemented for `bool` [INFO] [stderr] = note: required because of the requirements on the impl of `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source, &std::boxed::Box<::Call>)>` for `sp_api_hidden_includes_decl_storage::hidden_include::weights::FunctionOf<[closure@src/lib.rs:176:4: 178:5], [closure@src/lib.rs:179:4: 181:5], bool>` [INFO] [stderr] = note: required for the cast to the object type `dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source, &std::boxed::Box<::Call>)>` [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[E0277]: expected a `std::ops::Fn<((&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source, &std::boxed::Box<::Call>),)>` closure, found `bool` [INFO] [stderr] --> src/lib.rs:106:1 [INFO] [stderr] | [INFO] [stderr] 106 | / decl_module! { [INFO] [stderr] 107 | | // Simple declaration of the `Module` type. Lets the macro know what it's working on. [INFO] [stderr] 108 | | pub struct Module for enum Call where origin: T::Origin { [INFO] [stderr] 109 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 201 | | } [INFO] [stderr] 202 | | } [INFO] [stderr] | |_^ expected an `Fn<((&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source, &std::boxed::Box<::Call>),)>` closure, found `bool` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Fn<((&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source, &std::boxed::Box<::Call>),)>` is not implemented for `bool` [INFO] [stderr] = note: required because of the requirements on the impl of `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source, &std::boxed::Box<::Call>)>` for `sp_api_hidden_includes_decl_storage::hidden_include::weights::FunctionOf<[closure@src/lib.rs:176:4: 178:5], [closure@src/lib.rs:179:4: 181:5], bool>` [INFO] [stderr] = note: required for the cast to the object type `dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source, &std::boxed::Box<::Call>)>` [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: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `pallet-sudo`. [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: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `pallet-sudo`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f8023a6569ce6401965ec6d9aa327270d3b8aaddb0b48684087cd969dc7b8f7d"` [INFO] running `"docker" "rm" "-f" "f8023a6569ce6401965ec6d9aa327270d3b8aaddb0b48684087cd969dc7b8f7d"` [INFO] [stdout] f8023a6569ce6401965ec6d9aa327270d3b8aaddb0b48684087cd969dc7b8f7d