do assert if build error occurs