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 Runtime, reference 2.2.7 (b90e9a), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 03:57:47 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/wickwirew/Runtime.git
Reference: 2.2.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wickwirew/Runtime
 * tag               2.2.7      -> FETCH_HEAD
HEAD is now at b90e9ab 2.2.7
Cloned https://github.com/wickwirew/Runtime.git
Revision (git rev-parse @):
b90e9ab1c66a964a9edf32fe38ea2774c0e5821b
SUCCESS checkout https://github.com/wickwirew/Runtime.git at 2.2.7
========================================
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": "runtime",
      "name": "Runtime",
      "url": "https://github.com/wickwirew/Runtime.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Runtime",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/wickwirew/Runtime.git
[1/1966] Fetching runtime
Fetched https://github.com/wickwirew/Runtime.git from cache (1.08s)
Creating working copy for https://github.com/wickwirew/Runtime.git
Working copy of https://github.com/wickwirew/Runtime.git resolved at 2.2.7 (b90e9ab)
warning: '.resolve-product-dependencies': dependency 'runtime' 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/wickwirew/Runtime.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/3] Write sources
[1/3] Compiling CRuntime dummy.c
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/45] Emitting module Runtime
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Errors.swift:24:10: warning: associated value 'couldNotGetTypeInfo(type:kind:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Kind'; this is an error in the Swift 6 language mode
22 |
23 | enum RuntimeError: Error {
24 |     case couldNotGetTypeInfo(type: Any.Type, kind: Kind)
   |          `- warning: associated value 'couldNotGetTypeInfo(type:kind:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Kind'; this is an error in the Swift 6 language mode
25 |     case couldNotGetPointer(type: Any.Type, value: Any)
26 |     case noPropertyNamed(name: String)
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Kind.swift:23:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
21 | // SOFTWARE.
22 |
23 | public enum Kind {
   |             `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
24 |     case `struct`
25 |     case `enum`
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Errors.swift:25:10: warning: associated value 'couldNotGetPointer(type:value:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 | enum RuntimeError: Error {
24 |     case couldNotGetTypeInfo(type: Any.Type, kind: Kind)
25 |     case couldNotGetPointer(type: Any.Type, value: Any)
   |          `- warning: associated value 'couldNotGetPointer(type:value:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
26 |     case noPropertyNamed(name: String)
27 |     case unableToBuildType(type: Any.Type)
[5/49] Compiling Runtime StructTypeDescriptor.swift
[6/49] Compiling Runtime TargetTypeGenericContextDescriptorHeader.swift
[7/49] Compiling Runtime TupleMetadataLayout.swift
[8/49] Compiling Runtime TypeDescriptor.swift
[9/49] Compiling Runtime ValueWitnessTable.swift
[10/49] Compiling Runtime NominalMetadataType.swift
[11/49] Compiling Runtime ProtocolMetadata.swift
[12/49] Compiling Runtime StructMetadata.swift
[13/49] Compiling Runtime TupleMetadata.swift
[14/49] Compiling Runtime RelativePointer.swift
[15/49] Compiling Runtime RelativeVectorPointer.swift
[16/49] Compiling Runtime Union.swift
[17/49] Compiling Runtime Vector.swift
[18/49] Compiling Runtime GettersSetters.swift
[19/49] Compiling Runtime Pointer+Extensions.swift
[20/49] Compiling Runtime RetainCounts.swift
[21/49] Compiling Runtime String+Extensions.swift
[22/49] Compiling Runtime MetadataLayoutType.swift
[23/49] Compiling Runtime ProtocolDescriptor.swift
[24/49] Compiling Runtime ProtocolMetadataLayout.swift
[25/49] Compiling Runtime ProtocolTypeContainer.swift
[26/49] Compiling Runtime StructMetadataLayout.swift
[27/49] Compiling Runtime PropertyInfo.swift
[28/49] Compiling Runtime TypeInfo.swift
[29/49] Compiling Runtime TypeInfoConvertible.swift
[30/49] Compiling Runtime Pointers.swift
[31/49] Compiling Runtime Case.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Errors.swift:24:10: warning: associated value 'couldNotGetTypeInfo(type:kind:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Kind'; this is an error in the Swift 6 language mode
22 |
23 | enum RuntimeError: Error {
24 |     case couldNotGetTypeInfo(type: Any.Type, kind: Kind)
   |          `- warning: associated value 'couldNotGetTypeInfo(type:kind:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Kind'; this is an error in the Swift 6 language mode
25 |     case couldNotGetPointer(type: Any.Type, value: Any)
26 |     case noPropertyNamed(name: String)
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Kind.swift:23:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
21 | // SOFTWARE.
22 |
23 | public enum Kind {
   |             `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
24 |     case `struct`
25 |     case `enum`
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Errors.swift:25:10: warning: associated value 'couldNotGetPointer(type:value:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 | enum RuntimeError: Error {
24 |     case couldNotGetTypeInfo(type: Any.Type, kind: Kind)
25 |     case couldNotGetPointer(type: Any.Type, value: Any)
   |          `- warning: associated value 'couldNotGetPointer(type:value:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
26 |     case noPropertyNamed(name: String)
27 |     case unableToBuildType(type: Any.Type)
[32/49] Compiling Runtime Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Errors.swift:24:10: warning: associated value 'couldNotGetTypeInfo(type:kind:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Kind'; this is an error in the Swift 6 language mode
22 |
23 | enum RuntimeError: Error {
24 |     case couldNotGetTypeInfo(type: Any.Type, kind: Kind)
   |          `- warning: associated value 'couldNotGetTypeInfo(type:kind:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Kind'; this is an error in the Swift 6 language mode
25 |     case couldNotGetPointer(type: Any.Type, value: Any)
26 |     case noPropertyNamed(name: String)
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Kind.swift:23:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
21 | // SOFTWARE.
22 |
23 | public enum Kind {
   |             `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
24 |     case `struct`
25 |     case `enum`
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Errors.swift:25:10: warning: associated value 'couldNotGetPointer(type:value:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 | enum RuntimeError: Error {
24 |     case couldNotGetTypeInfo(type: Any.Type, kind: Kind)
25 |     case couldNotGetPointer(type: Any.Type, value: Any)
   |          `- warning: associated value 'couldNotGetPointer(type:value:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
26 |     case noPropertyNamed(name: String)
27 |     case unableToBuildType(type: Any.Type)
[33/49] Compiling Runtime FunctionInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Errors.swift:24:10: warning: associated value 'couldNotGetTypeInfo(type:kind:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Kind'; this is an error in the Swift 6 language mode
22 |
23 | enum RuntimeError: Error {
24 |     case couldNotGetTypeInfo(type: Any.Type, kind: Kind)
   |          `- warning: associated value 'couldNotGetTypeInfo(type:kind:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Kind'; this is an error in the Swift 6 language mode
25 |     case couldNotGetPointer(type: Any.Type, value: Any)
26 |     case noPropertyNamed(name: String)
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Kind.swift:23:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
21 | // SOFTWARE.
22 |
23 | public enum Kind {
   |             `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
24 |     case `struct`
25 |     case `enum`
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Errors.swift:25:10: warning: associated value 'couldNotGetPointer(type:value:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 | enum RuntimeError: Error {
24 |     case couldNotGetTypeInfo(type: Any.Type, kind: Kind)
25 |     case couldNotGetPointer(type: Any.Type, value: Any)
   |          `- warning: associated value 'couldNotGetPointer(type:value:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
26 |     case noPropertyNamed(name: String)
27 |     case unableToBuildType(type: Any.Type)
[34/49] Compiling Runtime Kind.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Errors.swift:24:10: warning: associated value 'couldNotGetTypeInfo(type:kind:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Kind'; this is an error in the Swift 6 language mode
22 |
23 | enum RuntimeError: Error {
24 |     case couldNotGetTypeInfo(type: Any.Type, kind: Kind)
   |          `- warning: associated value 'couldNotGetTypeInfo(type:kind:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Kind'; this is an error in the Swift 6 language mode
25 |     case couldNotGetPointer(type: Any.Type, value: Any)
26 |     case noPropertyNamed(name: String)
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Kind.swift:23:13: note: consider making enum 'Kind' conform to the 'Sendable' protocol
21 | // SOFTWARE.
22 |
23 | public enum Kind {
   |             `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
24 |     case `struct`
25 |     case `enum`
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Models/Errors.swift:25:10: warning: associated value 'couldNotGetPointer(type:value:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 | enum RuntimeError: Error {
24 |     case couldNotGetTypeInfo(type: Any.Type, kind: Kind)
25 |     case couldNotGetPointer(type: Any.Type, value: Any)
   |          `- warning: associated value 'couldNotGetPointer(type:value:)' of 'Sendable'-conforming enum 'RuntimeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
26 |     case noPropertyNamed(name: String)
27 |     case unableToBuildType(type: Any.Type)
[35/49] Compiling Runtime ClassMetadata.swift
[36/49] Compiling Runtime EnumMetadata.swift
[37/49] Compiling Runtime FuntionMetadata.swift
[38/49] Compiling Runtime Metadata.swift
[39/49] Compiling Runtime MetadataType.swift
[40/49] Compiling Runtime EnumMetadataLayout.swift
[41/49] Compiling Runtime EnumTypeDescriptor.swift
[42/49] Compiling Runtime ExistentialContainter.swift
[43/49] Compiling Runtime FieldDescriptor.swift
[44/49] Compiling Runtime FunctionMetadataLayout.swift
[45/49] Compiling Runtime DefaultValue.swift
[46/49] Compiling Runtime Factory.swift
[47/49] Compiling Runtime ClassHeader.swift
[48/49] Compiling Runtime ClassMetadataLayout.swift
[49/49] Compiling Runtime ClassTypeDescriptor.swift
Build complete! (12.81s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Runtime",
  "name" : "Runtime",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Runtime",
      "targets" : [
        "Runtime"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "RuntimeTests",
      "module_type" : "SwiftTarget",
      "name" : "RuntimeTests",
      "path" : "Tests/RuntimeTests",
      "sources" : [
        "FactoryTests.swift",
        "GetSetClassTests.swift",
        "GetSetStructTests.swift",
        "MetadataTests.swift",
        "ValuePointerTests.swift",
        "ValueWitnessTableTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Runtime"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Runtime",
      "module_type" : "SwiftTarget",
      "name" : "Runtime",
      "path" : "Sources/Runtime",
      "product_memberships" : [
        "Runtime"
      ],
      "sources" : [
        "Factory/DefaultValue.swift",
        "Factory/Factory.swift",
        "Layouts/ClassHeader.swift",
        "Layouts/ClassMetadataLayout.swift",
        "Layouts/ClassTypeDescriptor.swift",
        "Layouts/EnumMetadataLayout.swift",
        "Layouts/EnumTypeDescriptor.swift",
        "Layouts/ExistentialContainter.swift",
        "Layouts/FieldDescriptor.swift",
        "Layouts/FunctionMetadataLayout.swift",
        "Layouts/MetadataLayoutType.swift",
        "Layouts/ProtocolDescriptor.swift",
        "Layouts/ProtocolMetadataLayout.swift",
        "Layouts/ProtocolTypeContainer.swift",
        "Layouts/StructMetadataLayout.swift",
        "Layouts/StructTypeDescriptor.swift",
        "Layouts/TargetTypeGenericContextDescriptorHeader.swift",
        "Layouts/TupleMetadataLayout.swift",
        "Layouts/TypeDescriptor.swift",
        "Layouts/ValueWitnessTable.swift",
        "Metadata/ClassMetadata.swift",
        "Metadata/EnumMetadata.swift",
        "Metadata/FuntionMetadata.swift",
        "Metadata/Metadata.swift",
        "Metadata/MetadataType.swift",
        "Metadata/NominalMetadataType.swift",
        "Metadata/ProtocolMetadata.swift",
        "Metadata/StructMetadata.swift",
        "Metadata/TupleMetadata.swift",
        "Models/Case.swift",
        "Models/Errors.swift",
        "Models/FunctionInfo.swift",
        "Models/Kind.swift",
        "Models/PropertyInfo.swift",
        "Models/TypeInfo.swift",
        "Models/TypeInfoConvertible.swift",
        "Pointers/Pointers.swift",
        "Pointers/RelativePointer.swift",
        "Pointers/RelativeVectorPointer.swift",
        "Pointers/Union.swift",
        "Pointers/Vector.swift",
        "Utilities/GettersSetters.swift",
        "Utilities/Pointer+Extensions.swift",
        "Utilities/RetainCounts.swift",
        "Utilities/String+Extensions.swift"
      ],
      "target_dependencies" : [
        "CRuntime"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CRuntime",
      "module_type" : "ClangTarget",
      "name" : "CRuntime",
      "path" : "Sources/CRuntime",
      "product_memberships" : [
        "Runtime"
      ],
      "sources" : [
        "dummy.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.