The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build llbuild, reference master (4cc1ea), with Swift 6.0 for macOS (SPM) on 12 Oct 2024 15:05:44 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDGGiesbrecht/swift-llbuild.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SDGGiesbrecht/swift-llbuild
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4cc1ea4 Merge pull request #874 from compnerd/build
Cloned https://github.com/SDGGiesbrecht/swift-llbuild.git
Revision (git rev-parse @):
4cc1ea448e236c2f4dfe622cec786bce4bd56c45
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-llbuild.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-llbuild",
      "name": "llbuild",
      "url": "https://github.com/SDGGiesbrecht/swift-llbuild.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-llbuild",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SDGGiesbrecht/swift-llbuild.git
[1/18377] Fetching swift-llbuild
Fetched https://github.com/SDGGiesbrecht/swift-llbuild.git from cache (1.92s)
Creating working copy for https://github.com/SDGGiesbrecht/swift-llbuild.git
Working copy of https://github.com/SDGGiesbrecht/swift-llbuild.git resolved at master (4cc1ea4)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/SDGGiesbrecht/swift-llbuild.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/155] Compiling libllbuild C-API.cpp
[1/155] Compiling llvmDemangle ItaniumDemangle.cpp
[2/155] Compiling llbuild main.cpp
[3/155] Write swift-build-tool-entitlement.plist
[4/155] Compiling libllbuild BuildValue-C-API.cpp
[5/155] Compiling libllbuild Core-C-API.cpp
[6/155] Write swift-version--4A847ED0836F2485.txt
[7/155] Compiling llbuildNinjaTests LexerTest.cpp
[8/155] Compiling llbuildNinjaTests main.cpp
[9/155] Compiling llvmSupport Valgrind.cpp
[10/155] Compiling libllbuild Ninja-C-API.cpp
[11/155] Compiling llvmSupport UnicodeCaseFold.cpp
[12/155] Compiling llbuildNinjaTests ManifestTest.cpp
[13/155] Compiling llvmSupport circular_raw_ostream.cpp
[14/155] Compiling libllbuild BuildSystem-C-API.cpp
[15/155] Compiling llvmSupport Twine.cpp
[16/155] Compiling llvmSupport Unicode.cpp
[17/155] Compiling llvmSupport Threading.cpp
[18/155] Compiling llvmSupport raw_ostream.cpp
[19/155] Compiling llvmSupport Triple.cpp
[20/155] Compiling swift-build-tool main.cpp
[21/155] Compiling llvmSupport TargetParser.cpp
[22/155] Compiling llvmSupport SmallVector.cpp
[23/155] Compiling llvmSupport StringSaver.cpp
[24/155] Compiling llvmSupport YAMLParser.cpp
[25/155] Compiling llvmSupport StringMap.cpp
[26/155] Compiling llvmSupport StringRef.cpp
[27/155] Compiling llvmSupport StringExtras.cpp
[28/155] Compiling llvmSupport SmallPtrSet.cpp
[29/155] Compiling llvmSupport Mutex.cpp
[30/155] Compiling llvmSupport Options.cpp
[31/155] Compiling llvmSupport SourceMgr.cpp
[32/155] Compiling llvmSupport NativeFormatting.cpp
[33/155] Compiling llvmSupport Signals.cpp
[34/155] Compiling llvmSupport Program.cpp
[35/155] Compiling llvmSupport Process.cpp
[36/155] Compiling llvmSupport Memory.cpp
[37/155] Compiling llvmSupport MathExtras.cpp
[38/155] Compiling llvmSupport MemoryBuffer.cpp
[39/155] Compiling llvmSupport Path.cpp
[40/155] Compiling llvmSupport ManagedStatic.cpp
[41/155] Compiling llvmSupport Locale.cpp
[42/155] Compiling llvmSupport MD5.cpp
[43/155] Compiling llvmSupport Hashing.cpp
[44/155] Compiling llvmSupport FoldingSet.cpp
[45/155] Compiling llvmSupport FormatVariadic.cpp
[46/155] Compiling llvmSupport Host.cpp
[47/155] Compiling llvmSupport ErrorHandling.cpp
[48/155] Compiling llvmSupport FileUtilities.cpp
[49/155] Compiling llvmSupport Atomic.cpp
[50/155] Compiling llvmSupport Errno.cpp
[51/155] Compiling llvmSupport Error.cpp
[52/155] Compiling llvmSupport DJB.cpp
[53/155] Compiling llvmSupport ConvertUTF.cpp
[54/155] Write sources
[56/155] Write llbuildNinjaTests-entitlement.plist
[57/155] Compiling llvmSupport Debug.cpp
[58/155] Compiling llvmSupport ConvertUTFWrapper.cpp
[59/157] Compiling llvmSupport Allocator.cpp
[60/157] Compiling llvmDemangle MicrosoftDemangle.cpp
[60/157] Compiling llvmSupport Chrono.cpp
[62/157] Compiling llvmSupport APSInt.cpp
[63/157] Compiling llbuildNinja Parser.cpp
[64/157] Compiling llvmSupport APInt.cpp
[65/157] Compiling llvmSupport APFloat.cpp
[66/157] Compiling llbuildNinja Lexer.cpp
[67/157] Compiling llvmSupport CommandLine.cpp
[68/157] Compiling llbuildNinja Manifest.cpp
[69/157] Compiling llbuildNinja ManifestLoader.cpp
[69/157] Write llbuildCoreTests-entitlement.plist
[71/157] Compiling llbuildCoreTests main.cpp
[72/157] Compiling llbuildEvo EvoEngine.cpp
[73/157] Compiling llbuildCoreTests MakefileDepsParserTest.cpp
[74/157] Compiling llbuildCoreTests SQLiteBuildDBTest.cpp
[75/157] Compiling llbuildCoreTests DependencyInfoParserTest.cpp
[76/157] Compiling llbuildCore MakefileDepsParser.cpp
[77/157] Compiling llbuildCore DependencyInfoParser.cpp
[78/157] Compiling llbuildCore SQLiteBuildDB.cpp
[79/157] Compiling llbuildCore BuildEngineTrace.cpp
[80/157] Compiling llbuildCoreTests BuildEngineCancellationTest.cpp
[81/157] Compiling llbuildCoreTests DepsBuildEngineTest.cpp
[82/157] Compiling llbuildCore BuildDB.cpp
[83/157] Compiling llbuildCommands CommandLineStatusOutput.cpp
[84/157] Compiling llbuildCommands CommandUtil.cpp
[85/157] Compiling llbuildCommands NinjaCommand.cpp
[86/157] Compiling llbuildBuildSystemTests main.cpp
[87/157] Compiling llbuildCommands BuildEngineCommand.cpp
[88/157] Compiling llbuildCore BuildEngine.cpp
[89/157] Write llbuildBuildSystemTests-entitlement.plist
[90/157] Compiling llbuildBuildSystemTests TempDir.cpp
[91/157] Compiling llbuildCommands BuildSystemCommand.cpp
[92/157] Compiling llbuildCommands NinjaBuildCommand.cpp
[93/157] Compiling llbuildBuildSystemTests MockBuildSystemDelegate.cpp
[94/157] Compiling llbuildBuildSystemTests BuildValueTest.cpp
[95/157] Compiling llbuildBuildSystem BuildValue.cpp
[96/157] Compiling llbuildBuildSystem ShellCommand.cpp
[97/157] Compiling llbuildBuildSystem ExternalCommand.cpp
[98/157] Compiling llbuildBuildSystemTests BuildSystemFrontendTest.cpp
[99/157] Compiling llbuildCoreTests BuildEngineTest.cpp
[100/157] Compiling llbuildBuildSystemTests BuildSystemTaskTests.cpp
[101/157] Compiling llbuildBuildSystem BuildSystemExtensionManager.cpp
[102/157] Compiling llbuildBuildSystem BuildSystemFrontend.cpp
[103/157] Compiling llbuildBuildSystem BuildNode.cpp
[104/157] Compiling llbuildBuildSystem BuildKey.cpp
[105/157] Compiling llbuildBuildSystem BuildDescription.cpp
[106/157] Compiling llbuildBasicTests TempDir.cpp
[107/157] Compiling llbuildBasicTests main.cpp
[108/157] Compiling llbuildBasicTests ShellUtilityTest.cpp
[108/157] Write llbuildBasicTests-entitlement.plist
[110/157] Compiling llbuildBasicTests SerialQueueTest.cpp
[111/157] Compiling llbuildBasicTests POSIXEnvironmentTest.cpp
[112/157] Compiling llbuildBuildSystem BuildFile.cpp
[113/157] Compiling llbuildBasic Version.cpp
[114/157] Compiling llbuildBasicTests Defer.cpp
[115/157] Compiling llbuildBasic Tracing.cpp
[116/157] Compiling llbuildBasicTests BinaryCodingTests.cpp
[117/157] Compiling llbuildBasicTests FileSystemTest.cpp
[118/157] Compiling llbuildBasic ShellUtility.cpp
[119/157] Compiling llbuildBasicTests LaneBasedExecutionQueueTest.cpp
[120/157] Compiling llbuildBasic Hashing.cpp
[121/157] Write sources
[122/157] Write llbuild-entitlement.plist
[123/157] Compiling llbuildBasic Subprocess.cpp
[124/157] Compiling llbuildBasic PlatformUtility.cpp
[125/157] Compiling llbuildBasic SerialQueue.cpp
[126/157] Compiling llbuildBasic FileSystem.cpp
[127/157] Compiling llbuildBasic FileInfo.cpp
[128/157] Compiling llbuildBasic ExecutionQueue.cpp
[129/157] Compiling llbuildBasic LaneBasedExecutionQueue.cpp
[130/157] Compiling libllbuild BuildKey-C-API.cpp
[131/157] Compiling libllbuild BuildDB-C-API.cpp
[132/157] Compiling llbuildBuildSystem BuildSystem.cpp
[133/157] Write Objects.LinkFileList
[135/165] Compiling gmocklib gmock-all.cc
[136/165] Compiling gtestlib gtest-all.cc
[137/165] Write Objects.LinkFileList
[141/165] Linking swift-build-tool
[142/165] Applying swift-build-tool
[143/165] Linking llbuild
[144/165] Applying llbuild
[145/165] Linking llbuildBasicTests
[146/165] Linking llbuildNinjaTests
[147/165] Applying llbuildBasicTests
[148/165] Applying llbuildNinjaTests
[149/165] Linking llbuildCoreTests
[150/165] Applying llbuildCoreTests
[151/165] Linking llbuildBuildSystemTests
[152/165] Applying llbuildBuildSystemTests
[154/165] Emitting module llbuildTestSupport
[155/165] Compiling llbuildTestSupport XCTestCase+Extensions.swift
/Users/admin/builder/spi-builder-workspace/unittests/TestSupport/XCTestCase+Extensions.swift:28:9: error: 'addTeardownBlock' is only available in macOS 10.15 or newer
 9 | import XCTest
10 |
11 | public extension XCTestCase {
   |        `- note: add @available attribute to enclosing extension
12 |     /// Create a temporary file with the given contents and returns the path to the file.
13 |     //
14 |     // FIXME: Move to a shared location.
15 |     func makeTemporaryFile(_ contents: String? = nil) -> String {
   |          `- note: add @available attribute to enclosing instance method
16 |         let directory = NSTemporaryDirectory()
17 |         let filename = UUID().uuidString
   :
26 |         }
27 |
28 |         addTeardownBlock {
   |         |- error: 'addTeardownBlock' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
29 |             do {
30 |                 let fileManager = FileManager.default
[156/165] Emitting module llbuildSwift
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildSystemBindings.swift:472:1: warning: extension declares a conformance of imported type 'CommandStatusKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
 470 | }
 471 |
 472 | extension CommandStatusKind: CustomStringConvertible {
     | |- warning: extension declares a conformance of imported type 'CommandStatusKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 473 |     public var description: String {
 474 |         switch self {
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildSystemBindings.swift:487:1: warning: extension declares a conformance of imported type 'BuildKeyKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
 485 | }
 486 |
 487 | extension BuildKeyKind: CustomStringConvertible {
     | |- warning: extension declares a conformance of imported type 'BuildKeyKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 488 |     public var description: String {
 489 |         switch self {
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildSystemBindings.swift:516:1: warning: extension declares a conformance of imported type 'DiagnosticKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
 514 | }
 515 |
 516 | extension DiagnosticKind: CustomStringConvertible {
     | |- warning: extension declares a conformance of imported type 'DiagnosticKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 517 |     public var description: String {
 518 |         switch self {
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:30:1: warning: extension declares a conformance of imported type 'BuildValueKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
 28 | #endif
 29 |
 30 | extension BuildValueKind: CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'BuildValueKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 31 |     public var description: String {
 32 |         switch self {
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:57:1: warning: extension declares a conformance of imported type 'llb_build_value_file_info_t_' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
 55 | }
 56 |
 57 | extension BuildValueFileInfo: Equatable {
    | |- warning: extension declares a conformance of imported type 'llb_build_value_file_info_t_' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 58 |     public static func == (lhs: BuildValueFileInfo, rhs: BuildValueFileInfo) -> Bool {
 59 |         return lhs.device == rhs.device && lhs.inode == rhs.inode && lhs.mode == rhs.mode && lhs.size == rhs.size && lhs.modTime == rhs.modTime
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:63:1: warning: extension declares a conformance of imported type 'llb_build_value_file_info_t_' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
 61 | }
 62 |
 63 | extension BuildValueFileInfo: CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'llb_build_value_file_info_t_' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 64 |     public var description: String {
 65 |         return "<FileInfo device=\(device) inode=\(inode) mode=\(mode) size=\(size) modTime=\(modTime)>"
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:69:1: warning: extension declares a conformance of imported type 'llb_build_value_file_timestamp_t_' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
 67 | }
 68 |
 69 | extension BuildValueFileTimestamp: Equatable {
    | |- warning: extension declares a conformance of imported type 'llb_build_value_file_timestamp_t_' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 70 |     public static func == (lhs: llb_build_value_file_timestamp_t_, rhs: BuildValueFileTimestamp) -> Bool {
 71 |         return lhs.seconds == rhs.seconds && lhs.nanoseconds == rhs.nanoseconds
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:75:1: warning: extension declares a conformance of imported type 'llb_build_value_file_timestamp_t_' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
 73 | }
 74 |
 75 | extension BuildValueFileTimestamp: Comparable {
    | |- warning: extension declares a conformance of imported type 'llb_build_value_file_timestamp_t_' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 76 |     public static func < (lhs: BuildValueFileTimestamp, rhs: BuildValueFileTimestamp) -> Bool {
 77 |         if lhs.seconds != rhs.seconds { return lhs.seconds < rhs.seconds }
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:82:1: warning: extension declares a conformance of imported type 'llb_build_value_file_timestamp_t_' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
 80 | }
 81 |
 82 | extension BuildValueFileTimestamp: CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'llb_build_value_file_timestamp_t_' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 83 |     public var description: String {
 84 |         return "<FileTimestamp seconds=\(seconds) nanoseconds=\(nanoseconds)>"
BUILD FAILURE 6.0 macosSpm