[INFO] crate pallet-mandate 2.0.1 is already in cache [INFO] checking pallet-mandate-2.0.1 against try#96b3c169cd2d8959926fa240f10342f1659f8ae3 for pr-71896 [INFO] extracting crate pallet-mandate 2.0.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate pallet-mandate 2.0.1 on toolchain 96b3c169cd2d8959926fa240f10342f1659f8ae3 [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "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-1/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "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] f415e2ee864290f13412f89c5dfd4f66cfcd2d48292c99ffe0e7d3b83a9b5f26 [INFO] running `"docker" "start" "-a" "f415e2ee864290f13412f89c5dfd4f66cfcd2d48292c99ffe0e7d3b83a9b5f26"` [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[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" "f415e2ee864290f13412f89c5dfd4f66cfcd2d48292c99ffe0e7d3b83a9b5f26"` [INFO] running `"docker" "rm" "-f" "f415e2ee864290f13412f89c5dfd4f66cfcd2d48292c99ffe0e7d3b83a9b5f26"` [INFO] [stdout] f415e2ee864290f13412f89c5dfd4f66cfcd2d48292c99ffe0e7d3b83a9b5f26