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

Successful build of XcodeProjKit, reference master (608a29), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 19:35:56 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/phimage/XcodeProjKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/phimage/XcodeProjKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 608a29b Add some missing references. Add referrers to allow a remove an object from them
Cloned https://github.com/phimage/XcodeProjKit.git
Revision (git rev-parse @):
608a29ba979d44179808fa70fc2a112b7a7ce129
SUCCESS checkout https://github.com/phimage/XcodeProjKit.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": "xcodeprojkit",
      "name": "XcodeProjKit",
      "url": "https://github.com/phimage/XcodeProjKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XcodeProjKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/phimage/XcodeProjKit.git
[5/438] Fetching xcodeprojkit
Fetched https://github.com/phimage/XcodeProjKit.git from cache (0.98s)
Creating working copy for https://github.com/phimage/XcodeProjKit.git
Working copy of https://github.com/phimage/XcodeProjKit.git resolved at master (608a29b)
warning: '.resolve-product-dependencies': dependency 'xcodeprojkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/phimage/XcodeProjKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/45] Emitting module XcodeProjKit
/Users/admin/builder/spi-builder-workspace/Sources/XcodeProjError.swift:14:10: warning: associated value 'invalidData(object:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |
13 |     // Data not a dictionary
14 |     case invalidData(object: Any)
   |          `- warning: associated value 'invalidData(object:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 |
16 |     // Missing field
/Users/admin/builder/spi-builder-workspace/Sources/XcodeProjError.swift:23:10: warning: associated value 'objectMissing(key:expectedType:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Isa'; this is an error in the Swift 6 language mode
21 |
22 |     // object missing
23 |     case objectMissing(key: String, expectedType: Isa?)
   |          `- warning: associated value 'objectMissing(key:expectedType:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Isa'; this is an error in the Swift 6 language mode
24 |
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Isa.swift:11:13: note: consider making enum 'Isa' conform to the 'Sendable' protocol
 9 | import Foundation
10 |
11 | public enum Isa: String, CaseIterable, CustomStringConvertible {
   |             `- note: consider making enum 'Isa' conform to the 'Sendable' protocol
12 |
13 |     case project = "PBXProject"
[4/49] Compiling XcodeProjKit SourceTree.swift
[5/49] Compiling XcodeProjKit SourceTreeFolder.swift
[6/49] Compiling XcodeProjKit String+XcodeProjKit.swift
[7/49] Compiling XcodeProjKit URL+XcodeProjKit.swift
[8/49] Compiling XcodeProjKit PBXBuildFile.swift
[9/49] Compiling XcodeProjKit PBXBuildPhase.swift
[10/49] Compiling XcodeProjKit PBXBuildRule.swift
[11/49] Compiling XcodeProjKit PBXBuildStyle.swift
[12/49] Compiling XcodeProjKit PBXContainer.swift
[13/49] Compiling XcodeProjKit PBXProductType.swift
[14/49] Compiling XcodeProjKit PBXProject.swift
[15/49] Compiling XcodeProjKit PBXProjectItem.swift
[16/49] Compiling XcodeProjKit PBXReference.swift
[17/49] Compiling XcodeProjKit PBXReferenceProxy.swift
[18/49] Compiling XcodeProjKit PBXResourcesBuildPhase.swift
[19/49] Compiling XcodeProjKit PBXShellScriptBuildPhase.swift
[20/49] Compiling XcodeProjKit PBXSourcesBuildPhase.swift
[21/49] Compiling XcodeProjKit PBXTarget.swift
[22/49] Compiling XcodeProjKit PBXTargetDependency.swift
[23/49] Compiling XcodeProjKit XCVersionGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeProjError.swift:14:10: warning: associated value 'invalidData(object:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |
13 |     // Data not a dictionary
14 |     case invalidData(object: Any)
   |          `- warning: associated value 'invalidData(object:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 |
16 |     // Missing field
/Users/admin/builder/spi-builder-workspace/Sources/XcodeProjError.swift:23:10: warning: associated value 'objectMissing(key:expectedType:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Isa'; this is an error in the Swift 6 language mode
21 |
22 |     // object missing
23 |     case objectMissing(key: String, expectedType: Isa?)
   |          `- warning: associated value 'objectMissing(key:expectedType:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Isa'; this is an error in the Swift 6 language mode
24 |
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Isa.swift:11:13: note: consider making enum 'Isa' conform to the 'Sendable' protocol
 9 | import Foundation
10 |
11 | public enum Isa: String, CaseIterable, CustomStringConvertible {
   |             `- note: consider making enum 'Isa' conform to the 'Sendable' protocol
12 |
13 |     case project = "PBXProject"
[24/49] Compiling XcodeProjKit XcodeProj+FilePath.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeProjError.swift:14:10: warning: associated value 'invalidData(object:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |
13 |     // Data not a dictionary
14 |     case invalidData(object: Any)
   |          `- warning: associated value 'invalidData(object:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 |
16 |     // Missing field
/Users/admin/builder/spi-builder-workspace/Sources/XcodeProjError.swift:23:10: warning: associated value 'objectMissing(key:expectedType:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Isa'; this is an error in the Swift 6 language mode
21 |
22 |     // object missing
23 |     case objectMissing(key: String, expectedType: Isa?)
   |          `- warning: associated value 'objectMissing(key:expectedType:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Isa'; this is an error in the Swift 6 language mode
24 |
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Isa.swift:11:13: note: consider making enum 'Isa' conform to the 'Sendable' protocol
 9 | import Foundation
10 |
11 | public enum Isa: String, CaseIterable, CustomStringConvertible {
   |             `- note: consider making enum 'Isa' conform to the 'Sendable' protocol
12 |
13 |     case project = "PBXProject"
[25/49] Compiling XcodeProjKit XcodeProj.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeProjError.swift:14:10: warning: associated value 'invalidData(object:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |
13 |     // Data not a dictionary
14 |     case invalidData(object: Any)
   |          `- warning: associated value 'invalidData(object:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 |
16 |     // Missing field
/Users/admin/builder/spi-builder-workspace/Sources/XcodeProjError.swift:23:10: warning: associated value 'objectMissing(key:expectedType:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Isa'; this is an error in the Swift 6 language mode
21 |
22 |     // object missing
23 |     case objectMissing(key: String, expectedType: Isa?)
   |          `- warning: associated value 'objectMissing(key:expectedType:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Isa'; this is an error in the Swift 6 language mode
24 |
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Isa.swift:11:13: note: consider making enum 'Isa' conform to the 'Sendable' protocol
 9 | import Foundation
10 |
11 | public enum Isa: String, CaseIterable, CustomStringConvertible {
   |             `- note: consider making enum 'Isa' conform to the 'Sendable' protocol
12 |
13 |     case project = "PBXProject"
[26/49] Compiling XcodeProjKit XcodeProjError.swift
/Users/admin/builder/spi-builder-workspace/Sources/XcodeProjError.swift:14:10: warning: associated value 'invalidData(object:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |
13 |     // Data not a dictionary
14 |     case invalidData(object: Any)
   |          `- warning: associated value 'invalidData(object:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 |
16 |     // Missing field
/Users/admin/builder/spi-builder-workspace/Sources/XcodeProjError.swift:23:10: warning: associated value 'objectMissing(key:expectedType:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Isa'; this is an error in the Swift 6 language mode
21 |
22 |     // object missing
23 |     case objectMissing(key: String, expectedType: Isa?)
   |          `- warning: associated value 'objectMissing(key:expectedType:)' of 'Sendable'-conforming enum 'XcodeProjError' has non-sendable type 'Isa'; this is an error in the Swift 6 language mode
24 |
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Isa.swift:11:13: note: consider making enum 'Isa' conform to the 'Sendable' protocol
 9 | import Foundation
10 |
11 | public enum Isa: String, CaseIterable, CustomStringConvertible {
   |             `- note: consider making enum 'Isa' conform to the 'Sendable' protocol
12 |
13 |     case project = "PBXProject"
[27/49] Compiling XcodeProjKit Dictionary+XcodeProjKit.swift
[28/49] Compiling XcodeProjKit FieldKey.swift
[29/49] Compiling XcodeProjKit Isa.swift
[30/49] Compiling XcodeProjKit OpenStepSerializer.swift
[31/49] Compiling XcodeProjKit PBXAggregateTarget.swift
[32/49] Compiling XcodeProjKit PBXContainerItem.swift
[33/49] Compiling XcodeProjKit PBXContainerItemProxy.swift
[34/49] Compiling XcodeProjKit PBXCopyFilesBuildPhase.swift
[35/49] Compiling XcodeProjKit PBXFileReference.swift
[36/49] Compiling XcodeProjKit PBXFrameworksBuildPhase.swift
[37/49] Compiling XcodeProjKit PBXVariantGroup.swift
[38/49] Compiling XcodeProjKit PathType.swift
[39/49] Compiling XcodeProjKit PropertyList.swift
[40/49] Compiling XcodeProjKit Sequence+XcodeProjKit.swift
[41/49] Compiling XcodeProjKit XCBuildConfiguration.swift
[42/49] Compiling XcodeProjKit XCConfigurationList.swift
[43/49] Compiling XcodeProjKit XCRemoteSwiftPackageReference.swift
[44/49] Compiling XcodeProjKit XCSwiftPackageProductDependency.swift
[45/49] Compiling XcodeProjKit PBXGroup.swift
[46/49] Compiling XcodeProjKit PBXHeadersBuildPhase.swift
[47/49] Compiling XcodeProjKit PBXLegacyTarget.swift
[48/49] Compiling XcodeProjKit PBXNativeTarget.swift
[49/49] Compiling XcodeProjKit PBXObject.swift
Build complete! (20.03s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XcodeProjKit",
  "name" : "XcodeProjKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XcodeProjKit",
      "targets" : [
        "XcodeProjKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XcodeProjKit",
      "module_type" : "SwiftTarget",
      "name" : "XcodeProjKit",
      "path" : "Sources",
      "product_memberships" : [
        "XcodeProjKit"
      ],
      "sources" : [
        "Dictionary+XcodeProjKit.swift",
        "FieldKey.swift",
        "Isa.swift",
        "OpenStepSerializer.swift",
        "PBXAggregateTarget.swift",
        "PBXBuildFile.swift",
        "PBXBuildPhase.swift",
        "PBXBuildRule.swift",
        "PBXBuildStyle.swift",
        "PBXContainer.swift",
        "PBXContainerItem.swift",
        "PBXContainerItemProxy.swift",
        "PBXCopyFilesBuildPhase.swift",
        "PBXFileReference.swift",
        "PBXFrameworksBuildPhase.swift",
        "PBXGroup.swift",
        "PBXHeadersBuildPhase.swift",
        "PBXLegacyTarget.swift",
        "PBXNativeTarget.swift",
        "PBXObject.swift",
        "PBXProductType.swift",
        "PBXProject.swift",
        "PBXProjectItem.swift",
        "PBXReference.swift",
        "PBXReferenceProxy.swift",
        "PBXResourcesBuildPhase.swift",
        "PBXShellScriptBuildPhase.swift",
        "PBXSourcesBuildPhase.swift",
        "PBXTarget.swift",
        "PBXTargetDependency.swift",
        "PBXVariantGroup.swift",
        "PathType.swift",
        "PropertyList.swift",
        "Sequence+XcodeProjKit.swift",
        "SourceTree.swift",
        "SourceTreeFolder.swift",
        "String+XcodeProjKit.swift",
        "URL+XcodeProjKit.swift",
        "XCBuildConfiguration.swift",
        "XCConfigurationList.swift",
        "XCRemoteSwiftPackageReference.swift",
        "XCSwiftPackageProductDependency.swift",
        "XCVersionGroup.swift",
        "XcodeProj+FilePath.swift",
        "XcodeProj.swift",
        "XcodeProjError.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Tests",
      "module_type" : "SwiftTarget",
      "name" : "Tests",
      "path" : "Tests",
      "sources" : [
        "Utils.swift",
        "XcodeProjKitEditionTests.swift",
        "XcodeProjKitParseKoTests.swift",
        "XcodeProjKitParseTests.swift",
        "XcodeProjKitWriteTests.swift"
      ],
      "target_dependencies" : [
        "XcodeProjKit"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.5"
}
Done.