[INFO] crate pallet-mandate 2.0.1 is already in cache [INFO] checking pallet-mandate-2.0.1 against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] extracting crate pallet-mandate 2.0.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate pallet-mandate 2.0.1 on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pallet-mandate 2.0.1 [INFO] finished tweaking crates.io crate pallet-mandate 2.0.1 [INFO] tweaked toml for crates.io crate pallet-mandate 2.0.1 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] a88522590c7d54af6dc2b1206a5cc42e99c551946b1d0d67feaeaa6decfe37c2 [INFO] running `"docker" "start" "-a" "a88522590c7d54af6dc2b1206a5cc42e99c551946b1d0d67feaeaa6decfe37c2"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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: 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[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] running `"docker" "inspect" "a88522590c7d54af6dc2b1206a5cc42e99c551946b1d0d67feaeaa6decfe37c2"` [INFO] running `"docker" "rm" "-f" "a88522590c7d54af6dc2b1206a5cc42e99c551946b1d0d67feaeaa6decfe37c2"` [INFO] [stdout] a88522590c7d54af6dc2b1206a5cc42e99c551946b1d0d67feaeaa6decfe37c2