collect info if build fails.