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 Linux on 5 Nov 2024 03:46:44 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/wickwirew/Runtime.git
Reference: 2.2.7
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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/wickwirew/Runtime.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/3] Write sources
[1/3] Compiling CRuntime dummy.c
[1/3] Write swift-version-24593BA9C3E375BF.txt
[4/44] Emitting module Runtime
/host/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)
/host/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`
/host/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 Errors.swift
/host/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)
/host/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`
/host/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)
[6/49] Compiling Runtime FunctionInfo.swift
/host/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)
/host/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`
/host/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)
[7/49] Compiling Runtime Kind.swift
/host/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)
/host/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`
/host/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)
[8/49] Compiling Runtime PropertyInfo.swift
/host/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)
/host/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`
/host/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)
[9/49] Compiling Runtime TypeInfo.swift
/host/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)
/host/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`
/host/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)
[10/49] Compiling Runtime MetadataType.swift
[11/49] Compiling Runtime NominalMetadataType.swift
[12/49] Compiling Runtime ProtocolMetadata.swift
[13/49] Compiling Runtime StructMetadata.swift
[14/49] Compiling Runtime TupleMetadata.swift
[15/49] Compiling Runtime Case.swift
[16/49] Compiling Runtime TypeDescriptor.swift
[17/49] Compiling Runtime ValueWitnessTable.swift
[18/49] Compiling Runtime ClassMetadata.swift
[19/49] Compiling Runtime EnumMetadata.swift
[20/49] Compiling Runtime FuntionMetadata.swift
[21/49] Compiling Runtime Metadata.swift
[22/49] Compiling Runtime ProtocolMetadataLayout.swift
[23/49] Compiling Runtime ProtocolTypeContainer.swift
[24/49] Compiling Runtime StructMetadataLayout.swift
[25/49] Compiling Runtime StructTypeDescriptor.swift
[26/49] Compiling Runtime TargetTypeGenericContextDescriptorHeader.swift
[27/49] Compiling Runtime TupleMetadataLayout.swift
[28/49] Compiling Runtime TypeInfoConvertible.swift
[29/49] Compiling Runtime Pointers.swift
[30/49] Compiling Runtime RelativePointer.swift
[31/49] Compiling Runtime RelativeVectorPointer.swift
[32/49] Compiling Runtime Union.swift
[33/49] Compiling Runtime EnumTypeDescriptor.swift
[34/49] Compiling Runtime ExistentialContainter.swift
[35/49] Compiling Runtime FieldDescriptor.swift
[36/49] Compiling Runtime FunctionMetadataLayout.swift
[37/49] Compiling Runtime MetadataLayoutType.swift
[38/49] Compiling Runtime ProtocolDescriptor.swift
[39/49] Compiling Runtime Vector.swift
[40/49] Compiling Runtime GettersSetters.swift
[41/49] Compiling Runtime Pointer+Extensions.swift
[42/49] Compiling Runtime RetainCounts.swift
[43/49] Compiling Runtime String+Extensions.swift
[44/49] Compiling Runtime DefaultValue.swift
[45/49] Compiling Runtime Factory.swift
[46/49] Compiling Runtime ClassHeader.swift
[47/49] Compiling Runtime ClassMetadataLayout.swift
[48/49] Compiling Runtime ClassTypeDescriptor.swift
[49/49] Compiling Runtime EnumMetadataLayout.swift
Build complete! (12.80s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Runtime",
  "name" : "Runtime",
  "path" : "/host/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"
}
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.