Skip to content

Inherents and empty block production overhaul #267

Inherents and empty block production overhaul

Inherents and empty block production overhaul #267

Triggered via pull request May 17, 2024 05:53
Status Failure
Total duration 38m 19s
Artifacts

rust-checks.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
bound is defined in more than one place: core/src/common/empty_block/production.rs#L25
error: bound is defined in more than one place --> core/src/common/empty_block/production.rs:25:25 | 25 | pub async fn mine_block<Block: BlockT, HostFns: HostFunctions>( | ^^^^^ ... 34 | Block: BlockT<Hash = H256> + DeserializeOwned, | ^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations = note: `-D clippy::multiple-bound-locations` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::multiple_bound_locations)]`
bound is defined in more than one place: core/src/common/empty_block/production.rs#L89
error: bound is defined in more than one place --> core/src/common/empty_block/production.rs:89:33 | 89 | pub async fn produce_next_block<Block: BlockT, HostFns: HostFunctions>( | ^^^^^ ... 97 | Block: BlockT<Hash = H256> + DeserializeOwned, | ^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
this `MutexGuard` is held across an `await` point: core/src/common/empty_block/production.rs#L76
error: this `MutexGuard` is held across an `await` point --> core/src/common/empty_block/production.rs:76:9 | 76 | ext.lock().unwrap().deref_mut(), | ^^^^^^^^^^^^^^^^^^^ | = help: consider using an async-aware `Mutex` type or ensuring the `MutexGuard` is dropped before calling await note: these are all the `await` points this lock is held through --> core/src/common/empty_block/production.rs:81:6 | 81 | .await?; | ^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock = note: `-D clippy::await-holding-lock` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::await_holding_lock)]`
this `MutexGuard` is held across an `await` point: core/src/common/empty_block/production.rs#L127
error: this `MutexGuard` is held across an `await` point --> core/src/common/empty_block/production.rs:127:9 | 127 | externalities.lock().unwrap().deref_mut(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: consider using an async-aware `Mutex` type or ensuring the `MutexGuard` is dropped before calling await note: these are all the `await` points this lock is held through --> core/src/common/empty_block/production.rs:132:6 | 132 | .await?; | ^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock
this `MutexGuard` is held across an `await` point: core/src/common/empty_block/production.rs#L143
error: this `MutexGuard` is held across an `await` point --> core/src/common/empty_block/production.rs:143:13 | 143 | externalities.lock().unwrap().deref_mut(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: consider using an async-aware `Mutex` type or ensuring the `MutexGuard` is dropped before calling await note: these are all the `await` points this lock is held through --> core/src/common/empty_block/production.rs:148:10 | 148 | .await?; | ^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock
this `MutexGuard` is held across an `await` point: core/src/common/empty_block/production.rs#L159
error: this `MutexGuard` is held across an `await` point --> core/src/common/empty_block/production.rs:159:9 | 159 | externalities.lock().unwrap().deref_mut(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: consider using an async-aware `Mutex` type or ensuring the `MutexGuard` is dropped before calling await note: these are all the `await` points this lock is held through --> core/src/common/empty_block/production.rs:164:6 | 164 | .await?; | ^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock
clippy
Clippy had exited with the 101 exit code
test (ubuntu-latest, stable)
Process completed with exit code 101.
doc
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: arduino/setup-protoc@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (ubuntu-latest, stable)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: arduino/setup-protoc@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (ubuntu-latest, stable)
You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 90 MB