[Swift CI] Build Failure: 2. Swift Source Compatibility Suite (master) #5388

# [FAILURE] swift-master-source-compat-suite [#5388]

Build URL: https://ci.swift.org/job/swift-master-source-compat-suite/5388/
Project: swift-master-source-compat-suite
Date of build: Wed, 02 Sep 2020 22:59:58 -0500
Build duration: 8 hr 7 min

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

Changes- Commit 4be1192904a57d54f08e305c8307843b613385c1 by dave:

Keep master-next building and tested

  • edit: lib/FrontendTool/FrontendTool.cpp

  • edit: lib/Frontend/ModuleInterfaceLoader.cpp

  • edit: lib/Serialization/Serialization.cpp

  • edit: lib/Serialization/ModuleFile.cpp

  • Commit 6f03b3ec75af0efb237845692785787121433fb7 by aschwaighofer:

    Fix compile error in ScanDependencies

    • edit: lib/FrontendTool/ScanDependencies.cpp
  • Commit 003b86d67569642235b9543ae1da35fcabd6654b by aschwaighofer:

    Fix debug info test vector.swift

    • edit: test/DebugInfo/vector.swift
  • Commit b675ddb411ef81d6a91a9402909cc148dd46b861 by dave:

    Add missing header

    • edit: lib/Driver/FrontendUtil.cpp
  • Commit 83966b2feb02ae72caef83e91273698d758f58b4 by dave:

    Track upstream clang API rename

    • edit: lib/ClangImporter/ClangImporter.cpp
  • Commit d659ab0b78e480dff4bc397daf82cd1225d94434 by aprantl:

    Adapt to upstream changes in ⚙ D81732 [clang] Replace Decl::isUnconditionallyVisible() with Sema::isVisible()

    • edit: lib/ClangImporter/ClangImporter.cpp
  • Commit 79df34214633ce02770989dd066a816c22183f7f by dave:

    Do not hardcode SVE type list

    • edit: lib/ClangImporter/ImportType.cpp
    • edit: lib/ClangImporter/ClangAdapter.cpp
    • edit: lib/IRGen/GenCall.cpp
  • Commit a5ef6f28b24553bad449277b9649e7811186a59a by rwidmann:

    Adapt to ScanDeps to StringRef conversion removal

    • edit: lib/FrontendTool/ScanDependencies.cpp
  • Commit c0c976355c4c2aa05cc12eb531a1eac6de9320aa by dave:

    Adapt a swift/master change to master-next (StringRef vs std::string)

    • edit: lib/Frontend/ModuleInterfaceLoader.cpp
  • Commit b7664fa3200c4d7be6299ffb814e3210078b05e6 by dave:

    [IRGen] Adjust to upstream LLVM change

    • edit: lib/IRGen/GenDecl.cpp
  • Commit f7318dbb01c16cbb4a8b1b3443123217ae5da2c2 by jonas:

    [Docs] Fix Sphinx duplicate term description error.

    • edit: docs/Modules.rst
  • Commit 66bddd6e4cbe04e6942debbb538a33a5ebb04e15 by jonas:

    [ClangImporter] Adjust for LLVM API change

    • edit: lib/ClangImporter/ImportDecl.cpp
  • Commit 0fe540f83672351fa733ef976022d38e0a6e492e by dave:

    Track upstream llvm change to enum definition

    • edit: include/swift/AST/Builtins.h
  • Commit 4fd0cdc2efddd3eb64ad279a29af3b9779d56399 by nhawes:

    Fix up calls to clang::Type::dump() now that it requires a clang::ASTContext.

    • edit: include/swift/AST/PrettyStackTrace.h
    • edit: lib/AST/Type.cpp
    • edit: lib/Serialization/Serialization.cpp
    • edit: lib/AST/ASTDumper.cpp
    • edit: lib/AST/PrettyStackTrace.cpp
  • Commit 3957574a7b62aa7f6660a117c75eb83103224a9d by nhawes:

    Fixup code that was using the now-removed DominatorTreeBase::getRoots()

    • edit: include/swift/SILOptimizer/Analysis/DominanceAnalysis.h
    • edit: lib/SIL/Utils/Dominance.cpp
  • Commit 4861f3174f547343ba0ceaf370e35677885c34a2 by nhawes:

    Fix call for upstream llvm change of ClangDecl::isInLocalScope()

    • edit: lib/ClangImporter/ClangAdapter.cpp
  • Commit e284d7e8e5f4707abe39f5c2b7ea2f8b7eb1ab5b by jonas:

    [TBDGen] Make enumeratePublicSymbols more functional

    • edit: lib/FrontendTool/FrontendTool.cpp
    • edit: lib/FrontendTool/TBD.cpp
    • edit: lib/TBDGen/TBDGen.cpp
    • edit: include/swift/TBDGen/TBDGen.h
  • Commit 31c1cc26ea87e6e7186743c466dda077a7c55f84 by jonas:

    Have performParallelIRGeneration take an IRGenDescriptor

    • edit: lib/IRGen/IRGen.cpp
  • Commit 4daeb4fa3a2218121b66c4abeff5902cc26e50f9 by jonas:

    Sink linker directive computation into IRGen

    • edit: lib/IRGen/IRGen.cpp
    • edit: tools/sil-llvm-gen/SILLLVMGen.cpp
    • edit: include/swift/AST/IRGenRequests.h
    • edit: lib/IRGen/GenDecl.cpp
    • edit: lib/IRGen/IRGenModule.h
    • edit: lib/Immediate/Immediate.cpp
    • edit: include/swift/Subsystems.h
    • edit: lib/IRGen/CMakeLists.txt
    • edit: lib/IRGen/IRGenRequests.cpp
    • edit: lib/FrontendTool/FrontendTool.cpp
  • Commit 9b2bcd13f903cca5992f9a41cc6de31a8f81cd33 by jonas:

    [TBDGen] Return a vector of symbols instead of set

    • edit: include/swift/TBDGen/TBDGen.h
    • edit: lib/FrontendTool/TBD.cpp
    • edit: lib/TBDGen/TBDGenVisitor.h
    • edit: include/swift/AST/TBDGenRequests.h
    • edit: lib/IRGen/IRGenModule.h
    • edit: lib/TBDGen/TBDGen.cpp
    • edit: lib/FrontendTool/FrontendTool.cpp
    • edit: lib/IRGen/GenDecl.cpp
    • edit: lib/IRGen/IRGenRequests.cpp
    • edit: test/TBD/linker-directives.swift
    • edit: include/swift/AST/IRGenRequests.h
  • Commit 30de7bda6364e6416cd9c0190a416cc36ed889d8 by jonas:

    Add missing std::string conversion

    • edit: lib/TBDGen/TBDGen.cpp
  • Commit ff3e2c125d9382828c084de9717fea44b34c222a by varun_gandhi:

    [NFC] Use clang::Type->dump() to account for upstream changes.

    • edit: lib/AST/Type.cpp
  • Commit a81c5a08861b86a006a28386a036156d9a651a93 by nhawes:

    Add missing llvm::raw_pwrite_stream forward declaration in swift/Subsystems.h (Build issue)

    • edit: include/swift/Subsystems.h
  • Commit 1dd1b5a38afa3158b118f446b2d4f19aa30d179d by nhawes:

    Update new code in ModuleInterfaceLoader.cpp for StringRef -> std::string conversion change.

    • edit: lib/Frontend/ModuleInterfaceLoader.cpp
  • Commit 2b26c221d753b086935dc631495f8d6f0ddc349c by nhawes:

    [master-rebranch] Fix up another implicit -> explcit StringRef -> std::string conversion

    • edit: lib/FrontendTool/ScanDependencies.cpp
  • Commit e3a2059393c7b3b847fded8565535e447e32bf1c by nhawes:

    [master-rebranch] Fix up missing include causing build failures.

    • edit: lib/FrontendTool/FrontendTool.cpp
  • Commit 774dfbf2af6afb1fd99c197a9f344e1830b798f0 by nhawes:

    Fix an implicit StringRef -> std::string conversion issue in StringOptimization.cpp

    • edit: lib/SILOptimizer/Transforms/StringOptimization.cpp
  • Commit ac4fc647905308defc3ebd989b8db01dd053c205 by nhawes:

    Fix more StringRef -> std::string conversion build issues

    • edit: include/swift/Frontend/ModuleInterfaceLoader.h
  • Commit 3707cfab127aa538511a55ecf2eb903a9572ecde by nhawes:

    Fix build failures due to Tyoe::dump() api difference + string conversions

    • edit: lib/SILOptimizer/Transforms/StringOptimization.cpp
    • edit: include/swift/AST/ExtInfo.h
    • edit: lib/AST/ExtInfo.cpp
  • Commit a5dfae23805be2061a90dbb941c3abd37ffdf96e by nhawes:

    Update test IRGen/pic.swift for changed code generation

    • edit: test/IRGen/pic.swift
  • Commit 7e714c5839ab533db3766efc071f266afa4bada1 by augusto2112:

    Fix reading metadata from ELF sections

    • edit: include/swift/Reflection/ReflectionContext.h
  • Commit 6a8f0cfbc130056d2eea6158d3ed982443972078 by augusto2112:

    Fix reading elf section from file buffer

    • edit: include/swift/Reflection/ReflectionContext.h
  • Commit eff8ce4d4ba94bdd20d5ef12b8a0f323b1e35eab by nhawes:

    [test] Restrict xfail in test/Serialization/load-target-normalization.swift to asserts builds

    • edit: test/Serialization/load-target-normalization.swift
  • Commit 0034cabe7bdf986cbd90e11278a0ec9a28ddc10a by nhawes:

    [AST] Fix missing include in Decl.cpp

    • edit: lib/AST/Decl.cpp
  • Commit c44047769029df67c9e2122400dc6a2acfa40d40 by varun_gandhi:

    [NFC] [ModuleTrace] Add negative test case for cycles in trace emission (ep2).

    • delete: test/Driver/Inputs/imported_modules/ComplexModuleGraph2/DaemonKit.h
    • edit: test/Driver/Inputs/imported_modules/ComplexModuleGraph2/module.modulemap
    • add: test/Driver/Inputs/imported_modules/ComplexModuleGraph2/DaemonKit/ViolateSecondLawOfThermodynamics.h
    • edit: test/Driver/loaded_module_trace_directness_2.swift
    • add: test/Driver/Inputs/imported_modules/ComplexModuleGraph2/DaemonKit/DaemonKit.h
  • Commit 80a0f3eeb1fa5a8e678d41be2e2f587d2a1a98c3 by github:

    [Sanitizer] Add smoke test for report symbolication (#33656)

    • add: test/Sanitizers/symbolication-linux.swift
    • add: test/Sanitizers/symbolication.swift
  • Commit c403b140e17021cb6db9391d5ede70bc03b8c6d1 by xi_ge:

    ClangImporter: refactor ClangImporterOptions to be ASTContext-owned. NFC

    • edit: include/swift/ClangImporter/ClangImporter.h
    • edit: lib/AST/ASTContext.cpp
    • edit: include/swift/Frontend/Frontend.h
    • edit: unittests/ClangImporter/ClangImporterTests.cpp
    • edit: include/swift/Basic/LangOptions.h
    • edit: include/swift/AST/ASTContext.h
    • edit: lib/ClangImporter/ClangModuleDependencyScanner.cpp
    • edit: lib/Parse/Parser.cpp
    • edit: tools/swift-api-digester/swift-api-digester.cpp
    • edit: lib/ClangImporter/ImporterImpl.h
    • edit: lib/IDE/CompletionInstance.cpp
    • delete: include/swift/ClangImporter/ClangImporterOptions.h
    • edit: lib/ClangImporter/ImportName.cpp
    • edit: lib/Frontend/Frontend.cpp
    • edit: unittests/FrontendTool/ModuleLoadingTests.cpp
    • edit: lib/ClangImporter/ClangImporter.cpp
    • edit: unittests/AST/TestContext.h
    • edit: tools/driver/modulewrap_main.cpp
    • edit: unittests/AST/TestContext.cpp
  • Commit 3e7f33971c4be02c37f01c57783a8770fc85ef30 by varun_gandhi:

    [ModuleTrace] Handle cycle detection edge case in module trace emission (ep2).

    • edit: test/Driver/loaded_module_trace_directness_2.swift
    • edit: lib/FrontendTool/FrontendTool.cpp
  • Commit 0bc48dea75ce2701ba7a8e43ed85b2f6125905d0 by github:

    [stdlib] NFC: Fix typo in comment.

    • edit: stdlib/public/core/StringObject.swift
  • Commit bf7c03b1f6cce062e27684abe5018a723a594662 by github:

    Support cross compile Xcode toolchain for Apple Silicon

    • edit: utils/swift_build_support/swift_build_support/products/swiftformat.py
    • edit: utils/swift_build_support/swift_build_support/products/benchmarks.py
    • edit: utils/build-script-impl
    • edit: utils/swift_build_support/swift_build_support/products/swiftsyntax.py
    • edit: utils/swift_build_support/swift_build_support/products/indexstoredb.py
    • edit: utils/swift_build_support/swift_build_support/products/skstresstester.py
    • edit: utils/swift_build_support/swift_build_support/products/swiftpm.py
    • edit: utils/build-presets.ini
    • edit: utils/swift_build_support/swift_build_support/products/product.py
    • edit: utils/build-script
  • Commit aa48494c7480a37e075ed59f9476301dfcf20022 by rishizaki:

    [Serialization] Local allocate ModuleFileSharedCore.ModuleInterfacePath

    • edit: lib/Serialization/ModuleFileSharedCore.h
    • edit: lib/Serialization/SerializedModuleLoader.cpp
  • Commit bfc9b5447f4499bfb363b948b91524ad6e5759a7 by github:

    Add llvm-nm to list of LLVM tools built with stdlib standalone mode (#33681)

    • edit: utils/build-script-impl
  • Commit ac6dffdf411d8522612a56f0102b54f3e2b97258 by github:

    [Sanitizer] Disable inlining to improve robustness of test (#33753)

    • edit: test/Sanitizers/symbolication-linux.swift
    • edit: test/Sanitizers/symbolication.swift
  • Commit a4d731ed9f6fb354ab9336f497c22c7ac1517823 by xi_ge:

    ModuleLoader: remove several walk-arounds for not having a persistent ClangImporterOptions available. NFC

    • edit: lib/ClangImporter/ImporterImpl.h
    • edit: include/swift/ClangImporter/ClangImporter.h
    • edit: lib/ClangImporter/ClangImporter.cpp
    • edit: lib/Frontend/Frontend.cpp
    • edit: include/swift/Frontend/ModuleInterfaceLoader.h
    • edit: tools/swift-api-digester/swift-api-digester.cpp
    • edit: lib/Frontend/ModuleInterfaceLoader.cpp
    • edit: lib/FrontendTool/ScanDependencies.cpp
  • Commit 5dd962ceddf9cbc1ae0f0b5fe09a2bb95ffcc715 by spestov:

    AutoDiff: Remove some unnecessary calls to getInterfaceType()

    • edit: lib/SILOptimizer/Differentiation/LinearMapInfo.cpp