[Swift CI] Build Failure: OSS - Swift Package - Ubuntu 16.04 (master) #2398


[FAILURE] oss-swift-package-linux-ubuntu-16_04 [#2398]

Build URL:
Date of build:
Wed, 24 Oct 2018 21:13:23 -0500
Build duration:
1 hr 9 min

Identified problems:

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


  • Commit b61df445aebfece0725bdd92e045dbdd7a482d62 by vinivendra:
    Cleans up calls to print/dump for the AST Dumper

    • edit: lib/AST/ASTVerifier.cpp
    • edit: lib/SILGen/SILGenLValue.cpp
    • edit: lib/SILGen/SILGenPattern.cpp
    • edit: lib/Sema/CSSolver.cpp
    • edit: lib/AST/SyntaxASTMap.cpp
    • edit: lib/Sema/TypeCheckConstraints.cpp
    • edit: include/swift/AST/Stmt.h
    • edit: include/swift/AST/Expr.h
    • edit: lib/AST/ASTDumper.cpp
    • edit: lib/SILGen/ArgumentSource.cpp
    • edit: lib/SILGen/SILGen.cpp
  • Commit 891cca14b4e6f07edf7033f7cdfec5a258c34934 by rishizaki:
    [incrParse] Skip missing node in getNextNode()

    • edit: lib/Parse/SyntaxParsingCache.cpp
    • add: test/incrParse/add-space-at-missing-brace.swift
    • edit: lib/Syntax/SyntaxData.cpp
    • edit: include/swift/Syntax/SyntaxData.h
    • add: test/incrParse/add-else-to-ifconfig.swift
  • Commit e9075344e3df7abf2304f96d86e39362fe6a004f by vinivendra:
    Cleans up a few details.

    • edit: lib/AST/ASTDumper.cpp
    • edit: lib/SILGen/SILGen.cpp
  • Commit 489910e483f351e20a607d8ffefd85e37b3fd74b by mgottesman:
    [silgen] Only borrow args for coroutines rather than general applies and

    • edit: test/SILGen/dynamic_self.swift
    • edit: test/SILGen/expressions.swift
    • edit: test/SILGen/partial_apply_super.swift
    • edit: test/SILGen/collection_subtype_downcast.swift
    • edit: test/SILGen/function_conversion.swift
    • edit: test/SILGen/source_location.swift
    • edit: test/SILGen/scalar_to_tuple_args.swift
    • edit: test/SILGen/protocol_class_refinement.swift
    • edit: test/SILGen/objc_bridging_any.swift
    • edit: test/SILGen/default_arguments.swift
    • edit: test/SILGen/generic_property_base_lifetime.swift
    • edit: test/SILGen/guaranteed_normal_args_curry_thunks.swift
    • edit: test/SILGen/pointer_conversion.swift
    • edit: test/SILGen/errors.swift
    • edit: test/SILGen/opaque_ownership.swift
    • edit: test/SILGen/assignment.swift
    • edit: test/SILGen/functions.swift
    • edit: test/SILGen/without_actually_escaping_block.swift
    • edit: lib/SILGen/SILGenApply.cpp
    • edit: test/SILGen/borrow.swift
    • edit: test/SILGen/unowned.swift
    • edit: test/SILGen/collection_subtype_upcast.swift
    • edit: test/SILGen/guaranteed_self.swift
    • edit: test/SILGen/class_bound_protocols.swift
    • edit: test/SILGen/protocol_with_superclass.swift
    • edit: test/SILGen/protocol_with_superclass_where_clause.swift
    • edit: test/SILGen/switch_var.swift
    • edit: test/SILGen/keypath_application.swift
    • edit: test/SILGen/objc_bridging_peephole.swift
    • edit: test/SILGen/closures.swift
  • Commit feb1b55de249ead3bba3c57d7adc5ca2fe4888e5 by dgregor:
    [Name lookup] Look through parentheses when finding type references.

    • edit: lib/AST/NameLookup.cpp
    • add: test/decl/protocol/inherited.swift
  • Commit 1c0778bb5b17321a2089849ccb167101cbff82c4 by milseman:
    [benchmark] Add insert(_:Character) benchmark with ASCII and non-ASCII

    • edit: benchmark/utils/main.swift
    • add: benchmark/single-source/InsertCharacter.swift
    • edit: benchmark/CMakeLists.txt
  • Commit 14d4235b571d7a4e2ae51854f0d665f96959d182 by github:
    [Serialization] Fast lookup of nested types in modules with overlays

    • add: test/Serialization/Inputs/nested-type-with-overlay/verify.swift
    • edit: test/Serialization/multi-file-nested-type-extension.swift
    • add: test/Serialization/nested-type-with-overlay.swift
    • add: test/Serialization/Inputs/nested-type-with-overlay/HasOverlay.h
    • add: test/Serialization/Inputs/nested-type-with-overlay/overlay.swift
    • edit: test/Serialization/multi-file-nested-type-circularity.swift
    • add: test/Serialization/Inputs/nested-type-with-overlay/module.modulemap
    • edit: lib/Serialization/ModuleFile.cpp
    • edit: test/Serialization/multi-file-nested-type-simple.swift
    • edit: lib/Serialization/Deserialization.cpp
  • Commit f3ba9106f36a0f8114d3aee96208aa6c78799df8 by ankit_aggarwal:
    Fix issue where pkgconfig flags were all deleted if any was not

    • edit: Tests/PackageLoadingTests/WhitelistTests.swift
    • edit: Tests/PackageLoadingTests/PkgConfigTests.swift
    • edit: Sources/PackageLoading/Target+PkgConfig.swift

There are two new errors in the log. Can anyone take responsibility for these?

clang: error: no such file or directory: 'unittests/SourceKit/SwiftLang/CMakeFiles/SourceKitSwiftLangTests.dir/CursorInfoTest.cpp.o'

2:22:29 WARNING: Your password has expired. 22:22:29 Password change required but no TTY available.

I suspect this will clear up on the next build, as this similar failure did:


Fixed the password issue, and the clang error is not causing the build failure it was the password expired.


Mishal Shah

Fixed the password issue, and the clang error is not causing the build failure it was the password expired.

That is a confusing message though. Has anyone looked into where it is coming from? If it isn't real, it shouldn't be emitted.

Yes, we have looked into it we have a root cause of why we are seeing this error but not exiting with non-zero.

Ross is working on fixing the build script, here is the PR [Build System] Remove the use of sub-shells when running test targets by Rostepher · Pull Request #20025 · apple/swift · GitHub.

Ah right. I forgot.