fn build_pkg( pkg: &Package, ws: &Workspace<'_>, ret: &mut HashMap<String, SourceId>, visited: &mut HashSet<SourceId> )