fn first_package<'p>( pkg_id: PackageId, pkgs: &'p Vec<Package>, warned_duplicate: &mut HashSet<PackageId>, gctx: &GlobalContext, ) -> &'p Package