Exit early in worker on failures
Exit early in worker on failures

Previously we would copy back incremental outputs even if compilations
failed. This meant if swift ever produced a partial set of outputs, or
partial output, the next compilation might fail because of these
invalid inputs.

bazelbuild/rules_swift,bazelbuild/rules_swift