Check that build finished without an error