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 Linux on 2 Nov 2024 19:28:07 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/phimage/XcodeProjKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/44] Emitting module XcodeProjKit
/host/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
/host/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 | }
/host/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 XCSwiftPackageProductDependency.swift
/host/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
/host/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 | }
/host/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"
[5/49] Compiling XcodeProjKit XCVersionGroup.swift
/host/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
/host/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 | }
/host/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"
[6/49] Compiling XcodeProjKit XcodeProj+FilePath.swift
/host/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
/host/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 | }
/host/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"
[7/49] Compiling XcodeProjKit XcodeProj.swift
/host/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
/host/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 | }
/host/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"
[8/49] Compiling XcodeProjKit XcodeProjError.swift
/host/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
/host/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 | }
/host/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"
[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 PBXContainerItem.swift
[14/49] Compiling XcodeProjKit PBXContainerItemProxy.swift
[15/49] Compiling XcodeProjKit PBXVariantGroup.swift
[16/49] Compiling XcodeProjKit PathType.swift
[17/49] Compiling XcodeProjKit PropertyList.swift
[18/49] Compiling XcodeProjKit Sequence+XcodeProjKit.swift
[19/49] Compiling XcodeProjKit SourceTree.swift
[20/49] Compiling XcodeProjKit SourceTreeFolder.swift
[21/49] Compiling XcodeProjKit String+XcodeProjKit.swift
[22/49] Compiling XcodeProjKit URL+XcodeProjKit.swift
[23/49] Compiling XcodeProjKit XCBuildConfiguration.swift
[24/49] Compiling XcodeProjKit XCConfigurationList.swift
[25/49] Compiling XcodeProjKit XCRemoteSwiftPackageReference.swift
[26/49] Compiling XcodeProjKit Dictionary+XcodeProjKit.swift
[27/49] Compiling XcodeProjKit FieldKey.swift
[28/49] Compiling XcodeProjKit Isa.swift
[29/49] Compiling XcodeProjKit OpenStepSerializer.swift
[30/49] Compiling XcodeProjKit PBXAggregateTarget.swift
[31/49] Compiling XcodeProjKit PBXBuildFile.swift
[32/49] Compiling XcodeProjKit PBXReferenceProxy.swift
[33/49] Compiling XcodeProjKit PBXResourcesBuildPhase.swift
[34/49] Compiling XcodeProjKit PBXShellScriptBuildPhase.swift
[35/49] Compiling XcodeProjKit PBXSourcesBuildPhase.swift
[36/49] Compiling XcodeProjKit PBXTarget.swift
[37/49] Compiling XcodeProjKit PBXTargetDependency.swift
[38/49] Compiling XcodeProjKit PBXNativeTarget.swift
[39/49] Compiling XcodeProjKit PBXObject.swift
[40/49] Compiling XcodeProjKit PBXProductType.swift
[41/49] Compiling XcodeProjKit PBXProject.swift
[42/49] Compiling XcodeProjKit PBXProjectItem.swift
[43/49] Compiling XcodeProjKit PBXReference.swift
[44/49] Compiling XcodeProjKit PBXCopyFilesBuildPhase.swift
[45/49] Compiling XcodeProjKit PBXFileReference.swift
[46/49] Compiling XcodeProjKit PBXFrameworksBuildPhase.swift
[47/49] Compiling XcodeProjKit PBXGroup.swift
[48/49] Compiling XcodeProjKit PBXHeadersBuildPhase.swift
[49/49] Compiling XcodeProjKit PBXLegacyTarget.swift
Build complete! (12.07s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XcodeProjKit",
  "name" : "XcodeProjKit",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.