[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.04 - Long Test (main) #7008

# [FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_04-long-test [#7008]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_04-long-test/7008/
Project: oss-swift-incremental-RA-linux-ubuntu-16_04-long-test
Date of build: Tue, 20 Oct 2020 20:27:54 -0500
Build duration: 1 hr 39 min

Identified problems:- Swift Compile Error: Swift compiler error

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

Changes- Commit a5e953b69009b59541420d06496206a26961a976 by z.zoelec2:

Add support for calling C++ constructors.

  • add: test/CXXInterop/cxx-constructors-module-interface.swift

  • add: test/CXXInterop/cxx-constructors-executable.swift

  • add: test/CXXInterop/Inputs/cxx_constructors.h

  • edit: lib/ClangImporter/ImportName.cpp

  • add: lib/SIL/SILFunctionType.cpp

  • add: test/CXXInterop/cxx-constructors-ir.swift

  • edit: lib/SIL/IR/SILFunctionType.cpp

  • add: test/CXXInterop/cxx-constructors-sil.swift

  • add: test/CXXInterop/cxx-constructors-typecheck.swift

  • add: test/CXXInterop/Inputs/module.modulemap

  • edit: lib/ClangImporter/ClangImporter.cpp

  • edit: lib/ClangImporter/ImportDecl.cpp

  • edit: lib/IRGen/GenClangType.cpp

  • edit: lib/IRGen/GenCall.cpp

  • Commit 7ad2eef26508ad92d8d92f2d5546913c0ced3bbd by z.zoelec2:

    Only import constructors marked noexcept.

    • edit: test/CXXInterop/cxx-constructors-typecheck.swift
    • edit: test/CXXInterop/Inputs/cxx_constructors.h
    • edit: lib/ClangImporter/ImportDecl.cpp
  • Commit 384854810a60a69c8df8a8c0248e209adc28c295 by z.zoelec2:

    Revert "Only import constructors marked noexcept."

    • edit: lib/ClangImporter/ImportDecl.cpp
    • edit: test/CXXInterop/cxx-constructors-typecheck.swift
    • edit: test/CXXInterop/Inputs/cxx_constructors.h
  • Commit fd00bc1f01357ecd264b8216373c23014771c124 by z.zoelec2:

    Move tests from CXXInterop to Interop/Cxx.

    • add: test/Interop/Cxx/class/cxx-constructors-ir.swift
    • add: test/Interop/Cxx/class/cxx-constructors-module-interface.swift
    • delete: test/CXXInterop/cxx-constructors-module-interface.swift
    • delete: test/CXXInterop/Inputs/module.modulemap
    • delete: test/CXXInterop/cxx-constructors-ir.swift
    • edit: test/Interop/Cxx/class/Inputs/module.modulemap
    • delete: test/CXXInterop/cxx-constructors-executable.swift
    • delete: test/CXXInterop/cxx-constructors-sil.swift
    • delete: test/CXXInterop/Inputs/cxx_constructors.h
    • add: test/Interop/Cxx/class/Inputs/cxx-constructors.h
    • delete: test/CXXInterop/cxx-constructors-typecheck.swift
    • add: test/Interop/Cxx/class/cxx-constructors-sil.swift
    • add: test/Interop/Cxx/class/cxx-constructors-typecheck.swift
    • add: test/Interop/Cxx/class/cxx-constructors-executable.swift
  • Commit e6067275a6659cfab8640e68e93a5bba36ddca20 by z.zoelec2:

    Duplicate changes to GenClangType in ClangTypeConverter.

    • edit: lib/AST/ClangTypeConverter.cpp
  • Commit b2c5a3eeed4e0d80c819f98c816481fbedc49526 by z.zoelec2:

    Add a constructor thunk if required to add additional constructor

    • edit: lib/IRGen/GenCall.cpp
    • edit: test/Interop/Cxx/class/Inputs/cxx-constructors.h
    • edit: lib/IRGen/GenDecl.cpp
    • edit: test/Interop/Cxx/class/cxx-constructors-ir.swift
    • edit: test/Interop/Cxx/class/cxx-constructors-module-interface.swift
    • edit: lib/ClangImporter/ImportDecl.cpp
    • edit: test/Interop/Cxx/class/cxx-constructors-executable.swift
  • Commit 3066e16c37e26a5fea370877409b4d0bd1c0fea6 by z.zoelec2:

    Remove redundant "cxx" from test names.

    • delete: test/Interop/Cxx/class/cxx-constructors-typecheck.swift
    • add: test/Interop/Cxx/class/constructors-module-interface.swift
    • delete: test/Interop/Cxx/class/Inputs/cxx-constructors.h
    • add: test/Interop/Cxx/class/constructors-sil.swift
    • delete: test/Interop/Cxx/class/cxx-constructors-ir.swift
    • add: test/Interop/Cxx/class/constructors-executable.swift
    • delete: test/Interop/Cxx/class/cxx-constructors-executable.swift
    • add: test/Interop/Cxx/class/constructors-ir.swift
    • add: test/Interop/Cxx/class/constructors-typechecker.swift
    • delete: test/Interop/Cxx/class/cxx-constructors-sil.swift
    • delete: test/Interop/Cxx/class/cxx-constructors-module-interface.swift
    • edit: test/Interop/Cxx/class/Inputs/module.modulemap
    • add: test/Interop/Cxx/class/Inputs/constructors.h
  • Commit 5644137ea0696164c5b5835179b1ec450d508c88 by z.zoelec2:

    Eliminate duplication of code for adding empty argument names.

    • edit: lib/ClangImporter/ImportName.cpp
  • Commit bed26039446c189a82c453126e0a622e43c6256d by z.zoelec2:

    Various changes after merging master:

    • edit: test/Interop/Cxx/class/Inputs/constructors.h
    • edit: test/Interop/Cxx/class/constructors-module-interface.swift
    • edit: lib/ClangImporter/ImportDecl.cpp
    • edit: test/Interop/Cxx/class/constructors-ir.swift
  • Commit beaaa742c3e774b6739de26bb1a3f0c8761512a5 by z.zoelec2:

    Don't put an sret attribute on the this argument.

    • edit: lib/IRGen/GenCall.cpp
    • edit: test/Interop/Cxx/class/constructors-ir.swift
  • Commit 8416ccfa06d05da67af70a8ed57a2f120ea251b2 by z.zoelec2:

    Rename constructors-ir.swift to constructors-irgen.swift.

    • delete: test/Interop/Cxx/class/constructors-ir.swift
    • add: test/Interop/Cxx/class/constructors-irgen.swift
  • Commit 8f6042aa0870a527505262c7dbe89ec7ffe20e12 by z.zoelec2:

    Add additional IR tests for a class without a virtual base class.

    • edit: test/Interop/Cxx/class/constructors-irgen.swift
  • Commit c9405fb7fc338f59db4386488245a3ce82227e00 by z.zoelec2:

    Add Windows-name-mangled version of symbol to SIL test.

    • edit: test/Interop/Cxx/class/constructors-sil.swift
  • Commit cb4ddda6e2292c584cb83905f3f9df17a4e017f1 by z.zoelec2:

    Avoid crashing if lldb imports C++ structs without enabling C++ interop.

    • edit: lib/ClangImporter/ImportDecl.cpp
  • Commit 33e8c717f2682b913eb04e1c7746c84315be90ef by z.zoelec2:

    Update comment in VisitCXXRecordDecl().

    • edit: lib/ClangImporter/ImportDecl.cpp
  • Commit 7e8ea120701b33958a1adca9e885a99f5d583607 by z.zoelec2:

    Respond to review comments.

    • edit: test/Interop/Cxx/class/constructors-sil.swift
  • Commit 1ce3753d08522cefe255f4acf498dba5085aa60a by z.zoelec2:

    Another response to review comments.

    • edit: lib/IRGen/GenCall.cpp
  • Commit faca489c6f524096019fd124cba847949972e0db by z.zoelec2:

    Add a test that Objective-C types passed to a C++ constructor are

    • add: test/Interop/Cxx/class/Inputs/constructors-objc.h
    • edit: test/Interop/Cxx/class/Inputs/module.modulemap
    • add: test/Interop/Cxx/class/constructors-objc-module-interface.swift
  • Commit 83b51b95b534108494de1032bb4e098274fe606b by z.zoelec2:

    Add SILGen and IRGen tests for passing Objective-C types to C++

    • add: test/Interop/Cxx/class/constructors-objc-irgen.swift
    • add: test/Interop/Cxx/class/constructors-objc-silgen.swift
  • Commit cc7564ecd1902901dc93844790a9ea11b3225df5 by z.zoelec2:

    Rename constructors-sil.swift to constructors-silgen.swift.

    • delete: test/Interop/Cxx/class/constructors-sil.swift
    • add: test/Interop/Cxx/class/constructors-silgen.swift
  • Commit 2713edb19ecd23a27ccadb524008b641f805d9fe by z.zoelec2:

    [cxx-interop] Fix missing APIs and tests after rebase.

    • delete: lib/SIL/SILFunctionType.cpp
    • edit: test/Interop/Cxx/class/Inputs/type-classification.h
    • edit: test/Interop/Cxx/class/type-classification-non-trivial.swift
    • edit: test/Interop/Cxx/templates/not-pre-defined-class-template-module-interface.swift
    • edit: lib/ClangImporter/ImportDecl.cpp
    • edit: test/Interop/Cxx/class/type-classification-non-trivial-irgen.swift
    • edit: test/Interop/Cxx/templates/canonical-types-module-interface.swift
    • edit: test/Interop/Cxx/class/type-classification-non-trivial-silgen.swift
    • edit: test/Interop/Cxx/class/synthesized-initializers-silgen.swift
    • edit: test/Interop/Cxx/templates/using-directive-module-interface.swift
    • edit: test/Interop/Cxx/class/constructors-irgen.swift
    • edit: lib/ClangImporter/ClangImporter.cpp
  • Commit 7399c20fbf7809a274d9b6819bfd6fe708d73582 by z.zoelec2:

    [cxx-interop] Revert changes to ClangTypeConverter::visitMetatypeType.

    • edit: lib/AST/ClangTypeConverter.cpp
  • Commit 9e2d03e0a8a32f55c0c956e56ce63ae5d4a2bfba by z.zoelec2:

    [cxx-interop] Skip void types in emitCXXConstructorThunkIfNeeded.

    • edit: lib/IRGen/GenDecl.cpp
  • Commit 7635443915bbedec5adc55dd3325e5a223cc31a4 by z.zoelec2:

    [cxx-interop] Update ABIArgInfo::Indirect case in expandExternalSignatureTypes to handle thin metatype parameters.

    • edit: lib/IRGen/GenCall.cpp
  • Commit f04de9f12867bc388411cd8a4abf4028bf77db01 by z.zoelec2:

    [cxx-interop] Skip metatypes when lowering C++ constructor SIL function type.

    • edit: lib/SILGen/SILGenApply.cpp
    • edit: lib/IRGen/GenClangType.cpp
    • edit: lib/SIL/IR/SILFunctionType.cpp
    • edit: test/Interop/Cxx/class/constructors-silgen.swift
    • edit: test/Interop/Cxx/class/type-classification-non-trivial-silgen.swift
    • edit: lib/IRGen/GenCall.cpp
    • edit: test/Interop/Cxx/class/constructors-objc-silgen.swift
    • edit: lib/IRGen/GenDecl.cpp
    • edit: test/Interop/Cxx/class/synthesized-initializers-silgen.swift
  • Commit 4364af39ee107bca52aefb07ef461d6d2d7e246d by z.zoelec2:

    [cxx-interop] Small fixes and cleanup based on review.

    • edit: lib/ClangImporter/ImportName.cpp
    • edit: lib/ClangImporter/ImportDecl.cpp
    • edit: test/Interop/Cxx/class/synthesized-initializers-silgen.swift
    • edit: test/Interop/Cxx/class/constructors-module-interface.swift
    • edit: test/Interop/Cxx/class/constructors-typechecker.swift
  • Commit 5774610eafd460023da4f0fac66442a4deceb023 by z.zoelec2:

    [cxx-interop] Fix patch formatting with clang-format.

    • edit: lib/IRGen/GenCall.cpp
    • edit: lib/SILGen/SILGenApply.cpp
    • edit: lib/ClangImporter/ClangImporter.cpp
    • edit: lib/ClangImporter/ImportDecl.cpp
    • edit: lib/SIL/IR/SILFunctionType.cpp
  • Commit 4cb337a41fbe5bda820a2fa6cdb1170b1a848529 by z.zoelec2:

    [cxx-interop] Generate memberwise initializers for non-C++ types.

    • edit: lib/ClangImporter/ImportDecl.cpp
  • Commit 20222bb2ad2cb09778ee110cc80b3a2b945e9fdd by z.zoelec2:

    [cxx-interop] Bail if trying to convert call result to void.

    • edit: lib/IRGen/GenCall.cpp
  • Commit b2bb47dee5330234c8eb2fb2d0a41d67949831ec by z.zoelec2:

    [cxx-interop] Fix Windows tests for non-trivial C++ types.

    • edit: test/Interop/Cxx/class/type-classification-non-trivial-silgen.swift
    • edit: test/Interop/Cxx/class/type-classification-non-trivial-irgen.swift
  • Commit 1d3b051151adee97b51408159f8205e9f28fcb9d by z.zoelec2:

    [cxx-interop] Remove logic around applying attributes.

    • edit: lib/IRGen/GenCall.cpp
    • edit: lib/ClangImporter/ImportDecl.cpp
    • edit: test/Interop/Cxx/class/constructors-objc-irgen.swift
    • edit: test/Interop/Cxx/class/constructors-irgen.swift
  • Commit d9acaf353e5a25a4b5c01c46702407925ab5e2c7 by z.zoelec2:

    [cxx-interop] Merge synthesized initializer tests into "constructors-silgen".

    • edit: test/Interop/Cxx/class/constructors-silgen.swift
    • delete: test/Interop/Cxx/class/synthesized-initializers-silgen.swift
    • edit: test/Interop/Cxx/class/Inputs/constructors.h
    • delete: test/Interop/Cxx/class/Inputs/synthesized-initializers.h
  • Commit 545b44e9c14f7423ec1c881c1450b8b3a568bf75 by z.zoelec2:

    [cxx-interop] Look through template decl to find constructor when importing the function name.

    • edit: lib/ClangImporter/ImportName.cpp
  • Commit 0c51dda34b3b24635c921459bec40175b4205040 by spestov:

    Sema: Pull @_implementationOnly override checking out of ExportabilityChecker

    • edit: lib/Sema/TypeCheckAccess.cpp
    • edit: lib/Sema/TypeCheckDeclPrimary.cpp
    • edit: lib/Sema/TypeCheckDecl.h
    • edit: lib/Sema/TypeCheckDeclOverride.cpp
  • Commit 0ea136738473696004aa7b9b14a449f4ba3bea26 by spestov:

    Sema: Refactoring in preparation for conformance availability checking

    • edit: lib/Sema/TypeChecker.h
    • edit: lib/Sema/TypeCheckAccess.h
    • edit: lib/Sema/TypeCheckAvailability.h
    • edit: lib/Sema/TypeCheckAvailability.cpp
    • edit: lib/Sema/TypeCheckAccess.cpp
    • edit: lib/Sema/ResilienceDiagnostics.cpp
  • Commit 50c44c202634136a82a3534aad7651f974709d28 by spestov:

    Sema: Don't desugar the type when diagnosing unexportable Clang function types

    • edit: lib/Sema/TypeCheckAvailability.cpp
  • Commit f48aa518842d9fc27b352a227868e98fa5f369a4 by spestov:

    Sema: Remove ExportabilityChecker

    • edit: test/SPI/local_spi_decls.swift
    • edit: lib/Sema/TypeCheckAccess.cpp
    • edit: test/Sema/spi-in-decls.swift
    • edit: lib/Sema/TypeCheckAvailability.h
    • edit: lib/Sema/TypeCheckAvailability.cpp
  • Commit e10df96983f337dda96be6797b1e0be7fb676391 by spestov:

    Sema: Fold TypeChecker::isDeclAvailable() into its callers

    • edit: lib/Sema/TypeCheckProtocol.cpp
    • edit: lib/Sema/TypeCheckAvailability.cpp
    • edit: lib/Sema/TypeChecker.h
  • Commit c2ed3476658ec9adad8895694a36f2abf85f7a9e by spestov:

    Sema: Pass ValueDecl instead of ConcreteDeclRef in a few places in availability checking

    • edit: lib/Sema/ResilienceDiagnostics.cpp
    • edit: lib/Sema/TypeChecker.h
    • edit: lib/Sema/TypeCheckAvailability.cpp
  • Commit 9f08ab3918a6f83d34671e8c72c4c002e595f801 by spestov:

    Sema: Remove an unnecessary overload of TypeChecker::diagnosePotentialUnavailability()

    • edit: lib/Sema/TypeChecker.h
    • edit: lib/Sema/TypeCheckAvailability.cpp
  • Commit 3044c057e8b2a11f14b38d6445c430c54ca11802 by spestov:

    Sema: Wrap up some availability-related state in a new ExportContext type

    • edit: lib/Sema/ResilienceDiagnostics.cpp
    • edit: lib/Sema/TypeCheckAccess.cpp
    • edit: lib/Sema/TypeCheckAvailability.cpp
    • edit: lib/Sema/TypeChecker.h
    • edit: lib/Sema/TypeCheckStmt.cpp
    • edit: lib/Sema/TypeCheckAvailability.h
  • Commit a824e5a33b63a9b2ef7ed49e78993cd79baec968 by spestov:

    Sema: Refactor getDisallowedOriginKind() to take an ExportContext

    • edit: lib/Sema/TypeCheckAccess.cpp
    • add: test/SPI/spi_members.swift
    • edit: lib/Sema/TypeCheckProtocol.cpp
    • edit: lib/Sema/ResilienceDiagnostics.cpp
    • edit: lib/Sema/TypeCheckAvailability.cpp
    • edit: lib/Sema/TypeCheckAccess.h
  • Commit f6b1a6a54bcd70baad35e594fc40fc5b24201359 by aprantl:

    Add support for more OS types to AddClangModuleCompilationOptionsForSDKType()

    • edit: lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
  • Commit caa575bb1aef5b4bbdd7a54c8969032df24bf538 by jonas:

    Use LLVM_TOOLCHAIN_UTILITIES to allow utils to be installed in the toolchain

    • edit: llvm/cmake/modules/AddLLVM.cmake
  • Commit acf0294d1892dd26801d942d50ea81457cd59de5 by jonas:

    [Apple-stage2] Install FileCheck and yaml2obj in the toolchain

    • edit: clang/cmake/caches/Apple-stage2.cmake
  • Commit 9a8083d9629d9b4e287cf0d218b9a65af235d3ac by aprantl:

    Remove validation from GetTypeBitAlign.

    • edit: lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp
  • Commit 5c10c169a0d44587361f29e64326bcffc91c19e0 by aprantl:

    Remove obsolete early exit.

    • edit: lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp
  • Commit 9e8e885bb80d569d7de661a7d6a198f1f3c67f5f by aprantl:

    delete commented-out code

    • edit: lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp
  • Commit 66359bb34b4bf3917650cc425b2473f1ad3607e9 by aprantl:

    unxfail passing tests

    • edit: lldb/test/API/lang/swift/optionset/TestSwiftOptionSetType.py
    • edit: lldb/test/API/lang/swift/dwarfimporter/C/TestSwiftDWARFImporterC.py
  • Commit 829625f3b7126273558e05b2375b3a1f63dc231e by k:

    Improve sanitizer usage

    • edit: Sources/Commands/Options.swift
    • edit: Sources/SPMBuildCore/Sanitizers.swift
    • edit: Tests/BuildTests/BuildPlanTests.swift
  • Commit 7995bc9b755ebf05d8fe33f7b32a6979c7e569c3 by k:

    Move to extension

    • edit: Sources/Commands/Options.swift
    • edit: Sources/SPMBuildCore/Sanitizers.swift