Inherents and empty block production overhaul #266
Annotations
8 errors and 2 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)
System.IO.IOException: No space left on device : '/home/runner/runners/2.316.1/_diag/Worker_20240516-065235-utc.log'
at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite()
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.Diagnostics.TextWriterTraceListener.Flush()
at GitHub.Runner.Common.HostTraceListener.WriteHeader(String source, TraceEventType eventType, Int32 id)
at GitHub.Runner.Common.HostTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
at GitHub.Runner.Worker.Worker.RunAsync(String pipeIn, String pipeOut)
at GitHub.Runner.Worker.Program.MainAsync(IHostContext context, String[] args)
System.IO.IOException: No space left on device : '/home/runner/runners/2.316.1/_diag/Worker_20240516-065235-utc.log'
at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite()
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.Diagnostics.TextWriterTraceListener.Flush()
at GitHub.Runner.Common.HostTraceListener.WriteHeader(String source, TraceEventType eventType, Int32 id)
at GitHub.Runner.Common.HostTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
at GitHub.Runner.Common.Tracing.Error(Exception exception)
at GitHub.Runner.Worker.Program.MainAsync(IHostContext context, String[] args)
Unhandled exception. System.IO.IOException: No space left on device : '/home/runner/runners/2.316.1/_diag/Worker_20240516-065235-utc.log'
at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite()
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.Diagnostics.TextWriterTraceListener.Flush()
at System.Diagnostics.TraceSource.Flush()
at GitHub.Runner.Common.TraceManager.Dispose(Boolean disposing)
at GitHub.Runner.Common.TraceManager.Dispose()
at GitHub.Runner.Common.HostContext.Dispose(Boolean disposing)
at GitHub.Runner.Common.HostContext.Dispose()
at GitHub.Runner.Worker.Program.Main(String[] args)
|
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)
You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 80 MB
|