The buildInfo should have been updated by the soon-to-be-renamed postProcessLoadedCatalog() before calling compileInternal(). I'll add a comment to that effect.