[INFO] updating cached repository https://github.com/ETeissonniere/pallet-mandate [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b10162ee4d6474d573833d6ef36ace8cd783a382 [INFO] checking ETeissonniere/pallet-mandate against try#1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0 for pr-69530 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FETeissonniere%2Fpallet-mandate" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ETeissonniere/pallet-mandate on toolchain 1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ETeissonniere/pallet-mandate [INFO] finished tweaking git repo https://github.com/ETeissonniere/pallet-mandate [INFO] tweaked toml for git repo https://github.com/ETeissonniere/pallet-mandate written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/ETeissonniere/pallet-mandate already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-debug-derive v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-runtime-interface v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-core v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-state-machine v0.8.0-alpha.7 [INFO] [stderr] Downloaded frame-metadata v11.0.0-alpha.7 [INFO] [stderr] Downloaded sp-std v2.0.0-alpha.7 [INFO] [stderr] Downloaded frame-support-procedural-tools-derive v2.0.0-alpha.7 [INFO] [stderr] Downloaded frame-support-procedural-tools v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-version v2.0.0-alpha.7 [INFO] [stderr] Downloaded frame-support-procedural v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-inherents v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-trie v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-application-crypto v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-runtime v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-storage v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-tracing v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-externalities v0.8.0-alpha.7 [INFO] [stderr] Downloaded sp-runtime-interface-proc-macro v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-io v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-arithmetic v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-wasm-interface v2.0.0-alpha.7 [INFO] [stderr] Downloaded sp-panic-handler v2.0.0-alpha.7 [INFO] [stderr] Downloaded frame-support v2.0.0-alpha.7 [INFO] [stderr] Downloaded frame-system v2.0.0-alpha.7 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "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] 727e543c318dae117b9937b846de33422fae9b653de0f69c4da533fad084874e [INFO] running `"docker" "start" "-a" "727e543c318dae117b9937b846de33422fae9b653de0f69c4da533fad084874e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking sp-std v2.0.0-alpha.7 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Checking environmental v1.1.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking base58 v0.1.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking integer-sqrt v0.1.3 [INFO] [stderr] Checking bitmask v0.5.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking tracing-core v0.1.10 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Checking trie-root v0.16.0 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking sp-panic-handler v2.0.0-alpha.7 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking uint v0.8.3 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking ahash v0.2.18 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking wasmi-validation v0.3.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking trie-db v0.20.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.1 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-alpha.7 [INFO] [stderr] Compiling tracing-attributes v0.1.7 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling paste-impl v0.1.12 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v2.0.0-alpha.7 [INFO] [stderr] Checking ref-cast v1.0.1 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking paste v0.1.12 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking futures-util v0.3.4 [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 futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [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 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 frame-system v2.0.0-alpha.7 [INFO] [stderr] Checking pallet-mandate v2.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<((&std::boxed::Box<::Call>,),)>` closure, found `bool` [INFO] [stderr] --> src/lib.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / decl_module! { [INFO] [stderr] 35 | | /// The module declaration. [INFO] [stderr] 36 | | pub struct Module for enum Call where origin: T::Origin { [INFO] [stderr] 37 | | fn deposit_event() = default; [INFO] [stderr] ... | [INFO] [stderr] 59 | | } [INFO] [stderr] 60 | | } [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 `frame_support::weights::PaysFee<(&std::boxed::Box<::Call>,)>` for `frame_support::weights::FunctionOf<[closure@src/lib.rs:40:13: 40:91], [closure@src/lib.rs:41:13: 41:81], bool>` [INFO] [stderr] = note: required for the cast to the object type `dyn frame_support::weights::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:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / decl_module! { [INFO] [stderr] 35 | | /// The module declaration. [INFO] [stderr] 36 | | pub struct Module for enum Call where origin: T::Origin { [INFO] [stderr] 37 | | fn deposit_event() = default; [INFO] [stderr] ... | [INFO] [stderr] 59 | | } [INFO] [stderr] 60 | | } [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 `frame_support::weights::PaysFee<(&std::boxed::Box<::Call>,)>` for `frame_support::weights::FunctionOf<[closure@src/lib.rs:40:13: 40:91], [closure@src/lib.rs:41:13: 41:81], bool>` [INFO] [stderr] = note: required for the cast to the object type `dyn frame_support::weights::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: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `pallet-mandate`. [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 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `pallet-mandate`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "727e543c318dae117b9937b846de33422fae9b653de0f69c4da533fad084874e"` [INFO] running `"docker" "rm" "-f" "727e543c318dae117b9937b846de33422fae9b653de0f69c4da533fad084874e"` [INFO] [stdout] 727e543c318dae117b9937b846de33422fae9b653de0f69c4da533fad084874e