fix: resolve all clippy warnings in benchmarks crate

Remove unused fields, methods, and error variants. Allow dead_code on
public API types intended for future use. Drop needless Default spread.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
Illia Polosukhin
2026-02-18 01:05:07 -08:00
co-authored by Claude Opus 4.6
parent 05cb01816b
commit d46ab3a1d7
7 changed files with 4 additions and 28 deletions
-9
View File
@@ -14,9 +14,6 @@ pub enum BenchError {
#[error("Task {task_id} failed: {reason}")]
TaskFailed { task_id: String, reason: String },
#[error("Timeout after {seconds}s for task {task_id}")]
Timeout { task_id: String, seconds: u64 },
#[error("Scoring error for task {task_id}: {reason}")]
Scoring { task_id: String, reason: String },
@@ -31,10 +28,4 @@ pub enum BenchError {
#[error("Agent error: {0}")]
Agent(#[from] ironclaw::Error),
#[error("Results directory error: {0}")]
ResultsDir(String),
#[error("Resume failed: no completed tasks found in {path}")]
ResumeEmpty { path: PathBuf },
}