fn measure_once( spec: &Spec, sched_bin: &Path, workdir: &Path, run_idx: u64, sudo: &Sudo, errors: &mut Vec<String>, progress: Option<Style>, trace_enabled: bool, interrupted: &AtomicBool, ) -> Result<Measurement>