pub fn execute(worker: &dyn Worker, dir: &Path) -> Result<()>Expand description
Executes the job in the attempt directory dir: validates resolved.json,
solves the tasks on up to outer_workers threads, appends each result to
results.jsonl and writes run.json. A cancel.request file or the wall
time stops the remaining tasks. An attempt that already has a journal or
a manifest is refused: a job is never resumed.