[Swift CI] Build Failure: OSS - Swift Package - Ubuntu 18.04 (master) #487

Report

[FAILURE] oss-swift-package-linux-ubuntu-18_04 [#487]

Build URL:
https://ci.swift.org/job/oss-swift-package-linux-ubuntu-18_04/487/
Project:
oss-swift-package-linux-ubuntu-18_04
Date of build:
Thu, 11 Oct 2018 17:04:13 -0500
Build duration:
56 min

Identified problems:

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

Changes

  • Commit bd28b0ea1b6ab1e981e1e591e10c42d5adcf71af by atrick:
    SILCloner and SILInliner rewrite.

    • edit: include/swift/SIL/DebugUtils.h
    • edit: lib/SILOptimizer/IPO/CapturePropagation.cpp
    • edit: lib/SILOptimizer/Transforms/PerformanceInliner.cpp
    • edit: lib/SILOptimizer/IPO/CapturePromotion.cpp
    • edit: test/SILOptimizer/mandatory_inlining.sil
    • edit: include/swift/SILOptimizer/Utils/GenericCloner.h
    • edit: include/swift/SILOptimizer/Utils/SILInliner.h
    • edit: lib/SILOptimizer/Mandatory/MandatoryInlining.cpp
    • edit: lib/SILOptimizer/Transforms/SimplifyCFG.cpp
    • edit: lib/SILOptimizer/Utils/GenericCloner.cpp
    • edit: lib/SILOptimizer/Utils/SILInliner.cpp
    • edit: lib/SILOptimizer/Utils/Local.cpp
    • edit: include/swift/SILOptimizer/Utils/Local.h
    • edit: lib/SILOptimizer/Utils/PerformanceInlinerUtils.cpp
    • edit: lib/SILOptimizer/Transforms/AllocBoxToStack.cpp
    • edit: test/SILOptimizer/inline_begin_apply.sil
    • edit: lib/SILOptimizer/IPO/ClosureSpecializer.cpp
    • edit: lib/SILOptimizer/LoopTransforms/LoopUnroll.cpp
    • edit: lib/SILOptimizer/LoopTransforms/COWArrayOpt.cpp
    • edit: lib/SILOptimizer/FunctionSignatureTransforms/ExistentialTransform.cpp
    • edit: include/swift/SIL/TypeSubstCloner.h
    • edit: include/swift/SIL/SILCloner.h
  • Commit 1afd079b78505e14ec100798fd8172e2df5e7603 by mikeash:
    [Runtime] Fix swift_retainCount for deiniting objects and BridgeObject

    • edit: stdlib/public/SwiftShims/RefCount.h
    • edit: stdlib/public/runtime/HeapObject.cpp
    • edit: stdlib/public/runtime/SwiftObject.mm
  • Commit 81fa786d6a90c9d1682f319704f3ea5a3b5fef17 by atrick:
    Comments, typos, and cleanup from review.

    • edit: include/swift/SILOptimizer/Utils/Local.h
    • edit: include/swift/SIL/SILCloner.h
    • edit: include/swift/SILOptimizer/Utils/SILInliner.h
  • Commit c781d78782e9da7272b475cba3fced6410cf6df1 by atrick:
    Fix #includes. Arnold's review.

    • edit: include/swift/SILOptimizer/Utils/SILInliner.h
    • edit: lib/SILOptimizer/Utils/PerformanceInlinerUtils.cpp
    • edit: lib/SILOptimizer/Utils/SILInliner.cpp
    • edit: include/swift/SIL/SILCloner.h
    • edit: lib/SILOptimizer/IPO/ClosureSpecializer.cpp
  • Commit 9e440d13a628bd19df23e2646ebc0962b2d1a08c by atrick:
    Rename SILCloner doPostProcess and foldValue to recordClonedInstruction

    • edit: include/swift/SIL/TypeSubstCloner.h
    • edit: include/swift/SIL/SILCloner.h
    • edit: lib/SILOptimizer/IPO/CapturePromotion.cpp
    • edit: lib/SILOptimizer/Transforms/AllocBoxToStack.cpp
    • edit: include/swift/SILOptimizer/Utils/Local.h
  • Commit 62b511035710814ca286615bdaa02f85b17125c0 by mgottesman:
    [sil] Add a new CastConsumptionKind called BorrowAlways.

    • edit: lib/SILGen/SILGenPattern.cpp
    • edit: lib/SILOptimizer/Utils/CastOptimizer.cpp
    • edit: include/swift/Serialization/ModuleFormat.h
    • edit: lib/SIL/SILVerifier.cpp
    • edit: lib/Serialization/SerializeSIL.cpp
    • edit: lib/Serialization/DeserializeSIL.cpp
    • edit: lib/SIL/SILPrinter.cpp
    • edit: include/swift/SIL/Consumption.h
    • edit: lib/SILGen/SILGenDynamicCast.cpp
    • edit: include/swift/SIL/SILInstruction.h
    • edit: lib/ParseSIL/ParseSIL.cpp
    • edit: lib/Serialization/SILFormat.h
  • Commit aba018c1e83cf8ccef93bd506cfd76e2b109a58b by dgregor:
    [ABI] Pass requirement base descriptor to

    • edit: stdlib/public/runtime/ProtocolConformance.cpp
    • edit: include/swift/Runtime/Metadata.h
    • edit: stdlib/public/runtime/Metadata.cpp
    • edit: stdlib/public/runtime/Casting.cpp
    • edit: test/IRGen/generic_structs.sil
    • edit: test/IRGen/protocol_resilience_descriptors.swift
    • edit: include/swift/Runtime/RuntimeFunctions.def
    • edit: lib/IRGen/GenProto.cpp
    • edit: stdlib/public/runtime/MetadataLookup.cpp
    • edit: test/IRGen/associated_types.swift
    • edit: include/swift/ABI/Metadata.h
  • Commit 7f988f86d7e285987fd3d0aa741ca64e58772c03 by eeckstein:
    fix a linker error on the benchmark bot

    • edit: tools/SourceKit/tools/swift-lang/CMakeLists.txt
  • Commit a3a2606afe1151f9e51c264851d687500c3cbd89 by bviyer:
    [Sema] Use a more civilized hash map to implement -Wduplicate-enum.

    • edit: lib/Sema/SemaDecl.cpp
    • edit: test/Sema/warn-duplicate-enum.c
  • Commit 2291541882a05c72976c5b666b8bcc87cbdcdcd9 by bviyer:
    Support enums with a fixed underlying type in all language modes.

    • edit: test/SemaObjC/enum-fixed-type.m
    • edit: include/clang/Basic/DiagnosticParseKinds.td
    • edit: lib/Parse/ParseDecl.cpp
    • add: test/Sema/fixed-enum.c
    • edit: include/clang/Basic/Features.def
  • Commit 8b2272b6ead3bc7603fc5db34be295f482b1580f by bviyer:
    Add a new flag and attributes to control static destructor registration

    • edit: include/clang/Basic/Attr.td
    • edit: lib/Sema/SemaDeclAttr.cpp
    • edit: include/clang/Basic/AttrDocs.td
  • Commit 3df2b130c722d550c2c6514ee7f34bc1968ef7f8 by bob.wilson:
    Revert "Add a new flag and attributes to control static destructor

    • edit: include/clang/Basic/Attr.td
    • edit: lib/Sema/SemaDeclAttr.cpp
    • edit: include/clang/Basic/AttrDocs.td
  • Commit e86c0dc01993c4e4f39fde0e72bf781ffca30125 by user:
    Fix DateFormatter TimeZone Setter

    • edit: TestFoundation/TestDateFormatter.swift
    • edit: Foundation/DateFormatter.swift
  • Commit caa8d0ae1365b0d459fe1f43961702cd52c0aab7 by user:
    Fix Off-By-One Error With System TimeZone

    • edit: TestFoundation/TestDateFormatter.swift
    • edit: CoreFoundation/NumberDate.subproj/CFTimeZone.c
  • Commit e6de371e097ea193caa2810b8ccf79dda502291a by user:
    Cleanup SystemTimeZone tests

    • edit: TestFoundation/TestDateFormatter.swift
    • edit: TestFoundation/TestTimeZone.swift
  • Commit 218e0e248ee371c361dfbb867c1946424c6b8f29 by user:
    Make UTC Explicit in test_dateDifferenceComponents

    • edit: TestFoundation/TestCalendar.swift
  • Commit eae5329316d1a312038c34f03479605c77ed3851 by compnerd:
    Base: merge two identical CPP cases

    • edit: CoreFoundation/Base.subproj/CFInternal.h

This is either from a change to the type system, a corelibs change, or a change in the host toolchain ??

-Andy

swift-corelibs-libdispatch/src/swift/Block.swift:50:73: error: cannot convert value of type 'UInt32' to expected argument type 'UInt' **18:00:31**                 _block = _swift_dispatch_block_create_noescape(dispatch_block_flags_t(UInt32(flags.rawValue)), noescapeBlock) **18:00:31**                                                                                       ^~~~~~~~~~~~~~~~~~~~~~

This is either from a change to the type system, a corelibs change, or a change in the host toolchain ??

-Andy

apple/swift-corelibs-libdispatch#299

Waiting in CI. Works locally at least.

Thanks!

I already created https://bugs.swift.org/browse/SR-8975 for this

FYI, #399, #400 are pushed (both are trivial fixes). Should be good on master now.