// Takes care to transactionally replace the saved cache only after a successful compile.
MinimalRebuildCache mutableMinimalRebuildCache = new MinimalRebuildCache();
mutableMinimalRebuildCache.copyFrom(knownGoodMinimalRebuildCache);
boolean success =
new Compiler(runOptions, mutableMinimalRebuildCache).run(compileLogger, module);
if (success) {
publishedCompileDir = compileDir;
lastBuildInput = input;
saveKnownGoodMinimalRebuildCache(bindingProperties, mutableMinimalRebuildCache);
String moduleName = outputModuleName.get();