code: func (builder *Dockerfile) setFailureReason(reason api.StepFailureReason, message api.StepFailureMessage) {
  	builder.result.BuildInfo.FailureReason = utilstatus.NewFailureReason(reason, message)
  }
docs: // setFailureReason sets the builder's failure reason with the given reason and message.