makeArchiveCompartmentMap = (compartmentMap, sources) => {
  const {
    compartmentMap: archiveCompartmentMap,
    sources: archiveSources,
    oldToNewCompartmentNames,
    newToOldCompartmentNames,
    compartmentRenames,
  } = digestCompartmentMap(compartmentMap, sources);
  return {
    archiveCompartmentMap,
    archiveSources,
    oldToNewCompartmentNames,
    newToOldCompartmentNames,
    compartmentRenames,
  };
}
@param {CompartmentMapDescriptor} compartmentMap
@param {Sources} sources
@returns {ArchiveResult}