[Swift CI] Build Failure: OSS - Swift Package - OS X (release/5.3) #559

# [FAILURE] oss-swift-5.3-package-osx [#559]

Build URL: https://ci.swift.org/job/oss-swift-5.3-package-osx/559/
Project: oss-swift-5.3-package-osx
Date of build: Thu, 01 Oct 2020 14:58:09 -0500
Build duration: 1 hr 55 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 d4c5b7a54a6aadd831c09f6fe61cac070b2fac2e by k:

reland: Emit coverage mappings for all modules

  • add: test/Profiler/Inputs/coverage_num_threads2.swift

  • add: test/Profiler/coverage_num_threads.swift

  • edit: lib/IRGen/GenDecl.cpp

  • add: test/Profiler/Inputs/coverage_num_threads1.swift

  • Commit c7d7b1e212832fed59b1f44f279efea65a7df6de by k:

    Add path remapping with -coverage-prefix-map to coverage data

    • edit: include/swift/AST/IRGenOptions.h
    • edit: include/swift/Option/Options.td
    • edit: include/swift/AST/DiagnosticsFrontend.def
    • edit: lib/Driver/Driver.cpp
    • add: test/Driver/coverage-prefix-map.swift
    • edit: lib/IRGen/GenCoverage.cpp
    • edit: lib/Driver/ToolChains.cpp
    • add: test/Profiler/coverage_relative_path.swift
    • edit: lib/Frontend/CompilerInvocation.cpp
  • Commit 8128abac964a9b56e03a3a207b43a1bcd6e2a0fb by rjmccall:

    Add default IR attributes to helper functions and convert

    • edit: test/Serialization/autolinking.swift
    • edit: lib/IRGen/GenCast.cpp
    • edit: test/IRGen/subclass_existentials.sil
    • edit: lib/IRGen/GenDecl.cpp
    • edit: lib/IRGen/IRGenModule.cpp
    • edit: test/IRGen/keypaths_objc.sil
    • edit: lib/IRGen/GenOpaque.cpp
    • edit: test/IRGen/casts.sil
    • edit: lib/IRGen/GenKeyPath.cpp
    • edit: lib/IRGen/MetadataRequest.cpp
    • add: test/IRGen/default_function_ir_attributes.swift
  • Commit 6be8b33375e71c9e779edd25a0b67ee98a257f81 by abdulras:

    test: repair Serialization.autolinking after #33379

    • edit: test/Serialization/autolinking.swift
  • Commit 7a82b38c38f8ea860dc4e4d1bf24b0d9bfe37be3 by rishizaki:

    [CodeCompletion] Avoid prioritizing unavailable in LookupVisibleDecls

    • edit: lib/Sema/LookupVisibleDecls.cpp
    • add: test/IDE/complete_rdar67155695.swift
  • Commit 53a38f9fdea61646e33129ac514d994ebadf6b04 by rwidmann:

    Patch A Regression in Lookup for CodingKeys

    • edit: lib/Sema/TypeCheckNameLookup.cpp
    • edit: test/decl/protocol/special/coding/Inputs/struct_codable_simple_multi2.swift
    • edit: test/decl/protocol/special/coding/Inputs/struct_codable_simple_multi1.swift
  • Commit 668be205ebe2d2a338ade63d4ab473be0fa92436 by aschwaighofer:

    [5.3] IRGen: Store scalars as bytes to avoid undefined bits

    • edit: test/IRGen/builtins.swift
    • edit: test/Interpreter/enum.swift
    • edit: test/IRGen/abitypes.swift
    • edit: test/IRGen/enum.sil
    • edit: test/IRGen/enum_future.sil
    • edit: lib/IRGen/ScalarTypeInfo.h
  • Commit aa22d6f4096639bcdffc3a98e11c476e0e23071b by alaferriere:

    Use a SetVector when looking up the SPI attributes on imports

    • edit: lib/Serialization/SerializedModuleLoader.cpp
    • edit: include/swift/AST/FileUnit.h
    • edit: lib/Frontend/ModuleInterfaceSupport.cpp
    • edit: lib/Serialization/ModuleFile.h
    • edit: test/SPI/private_swiftinterface.swift
    • edit: lib/Serialization/ModuleFile.cpp
    • edit: include/swift/AST/SourceFile.h
    • edit: include/swift/Serialization/SerializedModuleLoader.h
    • edit: include/swift/AST/Module.h
    • edit: lib/Serialization/Serialization.cpp
    • edit: lib/AST/Module.cpp
  • Commit e6ebd14f297294297968b95c0254e419ac6339e1 by alaferriere:

    [ModuleInterface] Don't print extensions to implementation-only imported types

    • add: test/ModuleInterface/empty-extension.swift
    • add: test/SPI/Inputs/ioi_helper.swift
    • edit: include/swift/AST/Module.h
    • edit: test/SPI/private_swiftinterface.swift
    • edit: lib/AST/ASTPrinter.cpp
    • edit: lib/AST/Module.cpp
  • Commit 20d8192f668ee9785d955593c9e0521d9ac4a727 by alaferriere:

    [ModuleInterface] Only skip extensions without public members

    • edit: test/SPI/experimental_spi_imports_swiftinterface.swift
    • edit: lib/AST/ASTPrinter.cpp
  • Commit 4de7ea1a0f5907235dc237f02e5b9d975d802084 by pyaskevich:

    [FunctionBuilders] Implement graceful handling of pre-check failures

    • edit: lib/Sema/TypeCheckPattern.cpp
    • edit: lib/Sema/CSBindings.cpp
    • edit: include/swift/AST/TypeCheckRequests.h
    • edit: lib/Sema/CSFix.cpp
    • edit: test/Constraints/function_builder_diags.swift
    • edit: lib/Sema/TypeCheckConstraints.cpp
    • edit: lib/Sema/ConstraintSystem.h
    • edit: lib/Sema/CSSimplify.cpp
    • edit: include/swift/AST/DiagnosticEngine.h
    • edit: lib/Sema/TypeChecker.cpp
    • edit: lib/Sema/BuilderTransform.cpp
    • add: test/Constraints/rdar65320500.swift
    • edit: lib/Sema/CSFix.h
    • edit: lib/Sema/TypeChecker.h
  • Commit ddab82703bdf3a7453d1b262882616935dc9ea46 by spestov:

    AST: Try harder to preserve type sugar in AbstractGenericSignatureRequest

    • edit: test/attr/attr_override.swift
    • edit: test/ModuleInterface/inherited-generic-parameters.swift
    • edit: lib/AST/GenericSignatureBuilder.cpp
  • Commit b42a33dab3cdb515c279ac6139983586f7d09a32 by spestov:

    AST: Fix ASTScopeLookup crash if a PatternBindingEntry's context is not a PatternBindingInitializer

    • edit: lib/AST/ASTScopeLookup.cpp
    • add: validation-test/compiler_crashers_2_fixed/rdar67239650.swift
  • Commit ef8f05a61d94322ec9bee2731d0c50bb650e0106 by rishizaki:

    [CodeCompletion] Don't update VFS content hash map after each completion

    • edit: lib/IDE/CompletionInstance.cpp
    • edit: test/SourceKit/CodeComplete/complete_checkdeps_vfs.swift
  • Commit 21a4b135529dc83efb4065333e12328c1b77054a by compnerd:

    build: repair the build for newer MSVC release

    • edit: stdlib/CMakeLists.txt
    • edit: cmake/modules/SwiftWindowsSupport.cmake
  • Commit e8fe2298e393764add98d4490e545f179b7a69e7 by drexin:

    Properly compute resource folder when linking statically

    • edit: stdlib/cmake/modules/AddSwiftStdlib.cmake
    • edit: lib/FrontendTool/FrontendTool.cpp
    • edit: stdlib/cmake/modules/SwiftSource.cmake
    • edit: stdlib/public/Platform/CMakeLists.txt
    • edit: lib/Frontend/ArgsToFrontendOptionsConverter.cpp
    • edit: lib/Driver/ToolChains.cpp
    • edit: stdlib/public/SwiftShims/CMakeLists.txt
    • edit: tools/driver/modulewrap_main.cpp
    • edit: include/swift/Frontend/FrontendOptions.h
    • edit: test/Driver/print_target_info.swift
    • edit: lib/Driver/Driver.cpp
    • edit: include/swift/Option/FrontendOptions.td
    • edit: include/swift/Frontend/Frontend.h
    • edit: lib/Frontend/CompilerInvocation.cpp
  • Commit 38fed6509a8bd61ac190508e53bbea450aca3c34 by spestov:

    ASTDemangler: Fix reconstruction of opaque result type defined in a constrained extension

    • edit: lib/AST/ASTDemangler.cpp
    • edit: test/TypeDecoder/opaque_return_type.swift
  • Commit 321bdab6cec5b672e02f38701fac0753ccf60d6b by spestov:

    Sema: Fix failure to emit diagnostic with some invalid member type references

    • edit: test/Generics/unbound.swift
    • edit: lib/Sema/TypeCheckNameLookup.cpp
    • edit: test/decl/overload.swift
    • edit: test/IDE/print_ast_tc_decls_errors.swift
    • edit: lib/Sema/TypeChecker.h
    • edit: lib/Sema/TypeCheckDeclPrimary.cpp
    • edit: lib/Sema/TypeCheckType.cpp
    • edit: test/decl/nested/protocol.swift
  • Commit 6ba0ff8d831309c79d7f2def15421a7b0e7afe85 by dgregor:

    [Constraint application] Find trailing closure direction more carefully.

    • edit: lib/Sema/CSApply.cpp
  • Commit caed4e84ffeee7843d3d8ac8bb30ec8325e4b0b7 by spestov:

    DI: Rename testControlVariable() to testControlVariableBit()

    • edit: lib/SILOptimizer/Mandatory/DefiniteInitialization.cpp
  • Commit 89f688fd3959544a2e74fcd4f2c1f354e4d81cb1 by spestov:

    DI: Track of initialization state of trivial fields in root class initializers

    • edit: lib/SILOptimizer/Mandatory/DIMemoryUseCollector.h
    • edit: lib/SILOptimizer/Mandatory/DefiniteInitialization.cpp
  • Commit ed0d939e168ae935d1a81f82329779e8f69d88a8 by spestov:

    DI: Correctly handle conditional destroy of 'self' in root class

    • edit: lib/SILOptimizer/Mandatory/DefiniteInitialization.cpp
    • add: test/Interpreter/failable_initializers_root_class.swift
    • add: test/SILOptimizer/definite_init_root_class.swift
  • Commit 908f1051b058f44128fa2e6b3451d3bb465ec781 by github:

    CSE: disable CSE of lazy property getters of struct (#33741)

    • edit: lib/SILOptimizer/Transforms/CSE.cpp
    • edit: test/SILOptimizer/cse.sil
    • edit: test/SILOptimizer/lazy_property_getters.swift
  • Commit 46b64d475141be4eb7561386daddde4b14a181cd by rwidmann:

    Remove The Parser Hack For If-Let

    • edit: lib/Sema/ConstraintSystem.h
    • edit: lib/Parse/ParseStmt.cpp
    • edit: test/stmt/statements.swift
    • edit: lib/Sema/ConstraintSystem.cpp
    • edit: include/swift/Parse/Parser.h
    • edit: lib/Parse/ParsePattern.cpp
    • edit: lib/Sema/TypeCheckPattern.cpp
    • edit: lib/Sema/MiscDiagnostics.cpp
  • Commit e773dd2c3f9961d4ae0d4f9372ca25469d005332 by rwidmann:

    Remove an Unnecessary Workaround

    • edit: lib/AST/ASTPrinter.cpp
  • Commit c5e999df5b0a68a1aa40f5dafa2308f68ecf2d29 by brentdax:

    Re-enable @available(macOS 11) test

    • edit: test/attr/attr_availability_canonical_macos_version.swift
  • Commit 07c379c01bb7c97834e9420be3da8d49ab54f1b0 by mishal_shah:

    [Preset] Source compat suite cross compile for macOS arm64

    • edit: utils/build-presets.ini
  • Commit 400008591e99faede583ebf6a790fb69f6a99fbb by mishal_shah:

    [Build System] Move host lipo step after install step

    • edit: utils/build-script
  • Commit e56821c648b580d90f2d26eb0bccdbdecbec798a by mishal_shah:

    Remove old symlink before creating new symlink

    • edit: utils/recursive-lipo
  • Commit d5298f9a026ef2ed5cff70976c368a81d772647f by mishal_shah:

    Clean up the whitespace in build-script

    • edit: utils/build-script
  • Commit a4356ab82312a3e2e67defa777b3f26c045a1b41 by mishal_shah:

    [CMake] Remove a redundant and potentially incorrect check.

    • edit: cmake/modules/DarwinSDKs.cmake
  • Commit e1783489834d8750d5ba3bf04f76a28fb07285d9 by eeckstein:

    SILCombine: fix an assertion crash in SILCombine when casting AnyClass to Any

    • edit: lib/SILOptimizer/SILCombiner/SILCombinerMiscVisitors.cpp
    • edit: lib/SILOptimizer/SILCombiner/SILCombinerApplyVisitors.cpp
    • edit: test/SILOptimizer/sil_combine.sil
  • Commit 3e1715ec4c80af91395c4af3b87b19a76009ad04 by pyaskevich:

    [ConstraintSystem] Extend invalid function body fix to cover constraint generation failures

    • edit: test/Constraints/function_builder_diags.swift
    • edit: lib/Sema/CSFix.h
    • edit: lib/Sema/BuilderTransform.cpp
    • edit: lib/Sema/CSFix.cpp
    • edit: include/swift/AST/DiagnosticEngine.h
    • edit: lib/Sema/ConstraintSystem.h
  • Commit 162d93366df36639e5dca077b32fd97fc3ab142a by mishal_shah:

    Disable LLDB tests in nightly package preset (67923799)

    • edit: utils/build-presets.ini
  • Commit 6446e640ec4d4a68691a41b61952ca7890a7867d by github:

    Disable the LLDB test for the right nightly preset

    • edit: utils/build-presets.ini
  • Commit ba8362e5bc342a3947ebc56790c761d1ed629cdb by jgroff:

    Stop ReplaceOpaqueTypesWithUnderlyingTypes recursion if it hits a fixpoint.

    • edit: lib/AST/Type.cpp
    • add: test/SILGen/Inputs/replace_opaque_type_public_assoc_type_m.swift
    • add: test/SILGen/replace_opaque_type_public_assoc_type.swift
  • Commit 1d95eaea56a9f34d6e9cad7259350006c469f992 by aschwaighofer:

    Merge pull request #31035 from martinboehme/emit-called-func

    • add: test/Interop/C/function/Inputs/module.modulemap
    • edit: lib/IRGen/GenClangDecl.cpp
    • add: test/Interop/C/function/Inputs/emit-called-inline-function.h
    • add: test/Interop/C/function/emit-called-inline-function-irgen.swift
  • Commit e0d907d089318bcb3854d063ba4da9a60bd012dc by aschwaighofer:

    Merge pull request #31272 from martinboehme/optimize-emit-clang-decl

    • edit: lib/IRGen/GenClangDecl.cpp
  • Commit 4a4796a798933317383b3cc9f851a39bd8caa844 by aschwaighofer:

    IRGen: Fix asserting local extern declarations.

    • edit: lib/IRGen/GenClangDecl.cpp
    • add: test/IRGen/local_extern.swift
    • add: test/IRGen/Inputs/local_extern.h
  • Commit 45e46eba47420ea9ad74ccfb3e72ea464415237b by github:

    [5.3] Support cross compile Xcode toolchain for Apple Silicon (#33780)

    • 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/build-presets.ini
    • edit: utils/build-script
    • edit: utils/swift_build_support/swift_build_support/products/benchmarks.py
    • edit: utils/swift_build_support/swift_build_support/products/product.py
    • edit: utils/swift_build_support/swift_build_support/products/swiftpm.py
  • Commit da654207e438b21a510c4dc3fa729d36d0fd76f1 by drexin:

    Fix glibc.modulemap generation

    • edit: stdlib/public/Platform/CMakeLists.txt
  • Commit 250f1663302d573e3161108318446a5d2ab6fd3e by klorentey:

    [shims] Add AppKit overlay shims

    • edit: stdlib/public/SwiftShims/module.modulemap
    • add: stdlib/public/SwiftShims/AppKitOverlayShims.h
    • edit: stdlib/public/SwiftShims/CMakeLists.txt
  • Commit 86ddf43790d53cfc0c2313dc77492096991ed927 by compnerd:

    build: allow falling back to just built compiler

    • edit: test/CMakeLists.txt
    • edit: stdlib/cmake/modules/SwiftSource.cmake
  • Commit c3a1c7fddd9fd9b9cdfc93a250f555d9c04b3cb1 by jgroff:

    SILGen: Relax assertion that incorrectly tripped on lowered opaque capture types.

    • add: test/SILGen/serialized-capture-opaque-type-subst.swift
    • edit: lib/SILGen/SILGenThunk.cpp
  • Commit 55802704f2b9e6244515694ecdd226a2fbc1a94f by eeckstein:

    Demangler: fix a crash when re-mangling retroactive conformances

    • edit: test/Demangle/Inputs/manglings.txt
    • edit: lib/Demangling/Remangler.cpp
  • Commit 3ce754e75796840c205f17a2a99d0201f261ebf2 by spestov:

    Sema: Fix crash on static -vs- non-static witness mismatch with deserialized witness

    • edit: lib/Sema/TypeCheckProtocol.cpp
    • add: test/decl/protocol/deserialized_witness_mismatch.swift
    • add: test/decl/protocol/Inputs/deserialized_witness_mismatch_other.swift
  • Commit 8bb3082ceb1e84f2183df86e77117f76ab499102 by hborla:

    [Property Wrappers] Lower assign_by_wrapper to re-assignment of the backing

    • edit: include/swift/SIL/SILInstruction.h
    • edit: lib/SILOptimizer/Mandatory/DIMemoryUseCollector.h
    • edit: lib/SILOptimizer/Mandatory/RawSILInstLowering.cpp
    • edit: lib/SILOptimizer/Mandatory/DefiniteInitialization.cpp
    • edit: test/SILOptimizer/di_property_wrappers.swift
  • Commit 93f182a1919dde16b98c1efd76003373cd5a184f by hborla:

    [Test] Re-write the test for SR-13495 to use StblibUnitTest

    • edit: test/SILOptimizer/di_property_wrappers.swift
    • add: test/SILOptimizer/di_property_wrappers_leak.swift
  • Commit 142195976fc101086d2346aad328a15682b74238 by pyaskevich:

    [CSGen] Check whether parent has a contextual type before diagnosing nil use

    • edit: lib/Sema/CSGen.cpp
    • edit: test/Constraints/optional.swift
  • Commit fd4b01f09a4137caca0f28741db3a35f0de3cb7f by max:

    [AST] Look through try expressions inside open existential expression's sub expression in 'getUnwrappedCurryThunkExpr()' (#32458)

    • add: validation-test/compiler_crashers_2_fixed/sr12994.swift
    • edit: lib/AST/Expr.cpp
  • Commit 63d723f2a57fd15e8d88ba679ef25b1a99852853 by arphaman:

    Clang Driver: Use Apple ld64's new @response-file support.

    • edit: clang/lib/Driver/ToolChains/Darwin.cpp
    • edit: clang/include/clang/Driver/ToolChain.h
    • edit: clang/lib/Driver/ToolChains/Darwin.h
  • Commit ff080e38499c84b37af340ba2ea385b866e0a0a1 by aprantl:

    Fix debug info for NoDebug attr

    • edit: clang/lib/CodeGen/CGDebugInfo.cpp
    • add: clang/test/CodeGen/nodebug-attr.c
  • Commit bffbf91d5dc6388e7e66172b57e4438be17dc470 by shafik:

    [LLDB] Add a defensive check for member__f_

    • edit: lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
  • Commit 4ef4703fe5e845cb9818036bf8d6bb5257291a37 by kyrtzidis:

    [readme] Update for 5.3

    • edit: README.md
  • Commit a938092278b42d7f29f6c6ec68e29004d260683b by github:

    Use -print-target-info instead of a hardcoded triple (#2932)

    • edit: Sources/PackageLoading/ManifestLoader.swift
    • edit: swift-tools-support-core/Sources/TSCUtility/CMakeLists.txt
    • edit: Sources/SPMBuildCore/CMakeLists.txt
    • edit: Tests/BuildTests/BuildPlanTests.swift
    • delete: Sources/SPMBuildCore/Triple.swift
    • edit: Sources/Build/XCFrameworkInfo.swift
    • add: swift-tools-support-core/Sources/TSCUtility/Triple.swift
  • Commit aa589c7a9f498aa62d05a257729810ae6ac89b6e by github:

    [SR-12912] Fix crash in test targets when accessing Bundle.module (#2817) (#2905)

    • edit: IntegrationTests/Tests/IntegrationTests/BasicTests.swift
    • edit: Sources/Build/BuildPlan.swift
  • Commit cdc22da387e05a17491095c41e1f4dd31aeac204 by github:

    Fix crash related to build conditionals (#2941)

    • edit: Sources/PackageLoading/PackageBuilder.swift
  • Commit c14047a054ae656b4720a40113f916de7e63b5f0 by github:

    The TSC dependency should reference the 5.3 release branch (#2931)

    • edit: Package.swift
  • Commit f1dbbab916e7872374eeebbc2c098f0427b1b750 by github:

    Enable -static-stdlib on Linux (#2921) (#2922)

    • edit: Sources/Build/BuildPlan.swift
    • edit: Tests/BuildTests/BuildPlanTests.swift
  • Commit 2bec212061295719620c7f4cf2d2e257a95aab39 by github:

    On ELF platforms, remove the host toolchain rpath from executables and shared libraries (#2901)

    • edit: Sources/PackageDescription/CMakeLists.txt
    • edit: Utilities/bootstrap