fn sha256( path: &Path, spec: &ModelSpec, on_progress: &mut (dyn FnMut(Progress) -> ControlFlow<()> + '_), ) -> Result<String, Error>