Checking sum-storage-rpc v2.0.0 (/__w/recipes/recipes/pallets/sum-storage/rpc)
error: unnecessary closure used to substitute value for `Option::None`
##[error] --> pallets/sum-storage/rpc/src/lib.rs:62:26
|
62 | let at = BlockId::hash(at.unwrap_or_else(||
| ________________________________^
63 | | // If the block hash is not supplied assume the best block.
64 | | self.client.info().best_hash));
| |_________________________________________^ help: Use `unwrap_or` instead: `at.unwrap_or(self.client.info().best_hash)`
|
= note: `-D clippy::unnecessary-lazy-evaluations` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
error: aborting due to previous error
##[error]aborting due to previous error
error: could not compile `sum-storage-rpc`
##[error]could not compile `sum-storage-rpc`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
##[warning]error: build failed
##[error]The process '/usr/local/cargo/bin/cargo' failed with exit code 101
I ran the CI test against a newer CI image with
And the error is