style: Migrate to stable-only rustfmt configuration
- Remove nightly-only features from .rustfmt.toml and vendor/ss58-registry/rustfmt.toml - Removed features: imports_granularity, wrap_comments, comment_width, reorder_impl_items, spaces_around_ranges, binop_separator, match_arm_blocks, trailing_semicolon, trailing_comma - Format all 898 affected files with stable rustfmt - Ensures long-term reliability without nightly toolchain dependency
This commit is contained in:
@@ -524,14 +524,16 @@ async fn handle_job_finish(
|
||||
)
|
||||
},
|
||||
|
||||
Err(WorkerInterfaceError::InternalError(err)) |
|
||||
Err(WorkerInterfaceError::WorkerError(WorkerError::InternalError(err))) =>
|
||||
(None, Err(ValidationError::Internal(err)), None, None, None),
|
||||
Err(WorkerInterfaceError::InternalError(err))
|
||||
| Err(WorkerInterfaceError::WorkerError(WorkerError::InternalError(err))) => {
|
||||
(None, Err(ValidationError::Internal(err)), None, None, None)
|
||||
},
|
||||
// Either the worker or the job timed out. Kill the worker in either case. Treated as
|
||||
// definitely-invalid, because if we timed out, there's no time left for a retry.
|
||||
Err(WorkerInterfaceError::HardTimeout) |
|
||||
Err(WorkerInterfaceError::WorkerError(WorkerError::JobTimedOut)) =>
|
||||
(None, Err(ValidationError::Invalid(InvalidCandidate::HardTimeout)), None, None, None),
|
||||
Err(WorkerInterfaceError::HardTimeout)
|
||||
| Err(WorkerInterfaceError::WorkerError(WorkerError::JobTimedOut)) => {
|
||||
(None, Err(ValidationError::Invalid(InvalidCandidate::HardTimeout)), None, None, None)
|
||||
},
|
||||
// "Maybe invalid" errors (will retry).
|
||||
Err(WorkerInterfaceError::CommunicationErr(_err)) => (
|
||||
None,
|
||||
|
||||
Reference in New Issue
Block a user