[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.04 (master) #3337


[FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_04 [#3337]

Build URL:
Date of build:
Sat, 24 Mar 2018 15:27:18 -0500
Build duration:
34 min

Identified problems:

  • Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:


Name: Swift(linux-x86_64)
Failed: 0 test(s), Passed: 10354 test(s), Total: 10354 test(s)
Name: Swift-Unit
Failed: 0 test(s), Passed: 514 test(s), Total: 514 test(s)


  • Commit a99b65c073900c32f321695add3b49c5bc5fd703 by mgottesman:
    [globalopt] Eliminate indentation by inverting a condition into an early

    • edit: lib/SILOptimizer/IPO/GlobalOpt.cpp

This could not have been from my commit. My commit is just a simple condition invert + early exit to eliminate indentation. I.e.:

void foo(x) {
if (x) {
… significant amount of code …
return nullptr


void foo(x) {
if (!x)
return nullptr;
… significant amount of code…

(but just in case, I am watching the next build).

Error was ephemeral. Next build passed: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_04/3338/.