fn snapshot_workspace( root_manifest: &Path, root: &Path, ) -> Result<WorkspaceSources, WorkspaceError>