Companion for substrate/pull/9442 (#3594)

* Fix compact build

* Fix again

* fix staking miner

* fmt

* update Substrate

Co-authored-by: parity-processbot <>
14 jobs for master in 48 minutes and 39 seconds (queued for 6 seconds)