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 SwiftyGPT, reference master (611d5c), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 00:23:39 UTC.

Swift 6 data race errors: 1

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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/antonio-war/SwiftyGPT.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/antonio-war/SwiftyGPT
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 611d5ca Create FUNDING.yml
Cloned https://github.com/antonio-war/SwiftyGPT.git
Revision (git rev-parse @):
611d5ca6caeac40e8ec187ee7e61f07e7b9f6ff2
SUCCESS checkout https://github.com/antonio-war/SwiftyGPT.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": "swiftygpt",
      "name": "SwiftyGPT",
      "url": "https://github.com/antonio-war/SwiftyGPT.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyGPT",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/antonio-war/SwiftyGPT.git
[1/1504] Fetching swiftygpt
Fetched https://github.com/antonio-war/SwiftyGPT.git from cache (0.91s)
Creating working copy for https://github.com/antonio-war/SwiftyGPT.git
Working copy of https://github.com/antonio-war/SwiftyGPT.git resolved at master (611d5ca)
warning: '.resolve-product-dependencies': dependency 'swiftygpt' 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/antonio-war/SwiftyGPT.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyGPT",
  "name" : "SwiftyGPT",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftyGPTChat",
      "targets" : [
        "SwiftyGPTChat"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyGPTNetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyGPTNetworkingTests",
      "path" : "Tests/SwiftyGPTNetworkingTests",
      "sources" : [
        "Clients/SwiftyGPTNetworkingClientTests.swift",
        "Models/SwiftyGPTNetworkingRequestTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyGPTNetworking"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyGPTNetworking",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyGPTNetworking",
      "path" : "Sources/SwiftyGPTNetworking",
      "product_memberships" : [
        "SwiftyGPTChat"
      ],
      "sources" : [
        "Clients/SwiftyGPTNetworkingClient.swift",
        "Models/SwiftyGPTNetworkingMethod.swift",
        "Models/SwiftyGPTNetworkingRequest.swift",
        "Models/SwiftyGPTNetworkingResponse.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftyGPTChatTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyGPTChatTests",
      "path" : "Tests/SwiftyGPTChatTests",
      "sources" : [
        "Managers/SwiftyGPTChatManagerTests.swift",
        "Models/SwiftyGPTChatMessageTests.swift",
        "Models/SwiftyGPTChatModelTests.swift",
        "Models/SwiftyGPTChatRequestBodyTests.swift",
        "Models/SwiftyGPTChatRequestTests.swift",
        "Models/SwiftyGPTChatResponseBodyTests.swift",
        "Models/SwiftyGPTChatResponseChoiceTests.swift",
        "Models/SwiftyGPTChatResponseFormatTests.swift",
        "Models/SwiftyGPTChatResponseTests.swift",
        "Models/SwiftyGPTChatRoleTests.swift",
        "Services/SwiftyGPTChatMockServiceTests.swift",
        "Services/SwiftyGPTChatNetworkingServiceTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyGPTChat"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyGPTChat",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyGPTChat",
      "path" : "Sources/SwiftyGPTChat",
      "product_memberships" : [
        "SwiftyGPTChat"
      ],
      "sources" : [
        "Managers/SwiftyGPTChatManager.swift",
        "Models/SwiftyGPTChatMessage.swift",
        "Models/SwiftyGPTChatModel.swift",
        "Models/SwiftyGPTChatRequest.swift",
        "Models/SwiftyGPTChatRequestBody.swift",
        "Models/SwiftyGPTChatResponse.swift",
        "Models/SwiftyGPTChatResponseBody.swift",
        "Models/SwiftyGPTChatResponseChoice.swift",
        "Models/SwiftyGPTChatResponseError.swift",
        "Models/SwiftyGPTChatResponseFinishReason.swift",
        "Models/SwiftyGPTChatResponseFormat.swift",
        "Models/SwiftyGPTChatResponseObject.swift",
        "Models/SwiftyGPTChatResponseTokenUsage.swift",
        "Models/SwiftyGPTChatRole.swift",
        "Services/SwiftyGPTChatMockService.swift",
        "Services/SwiftyGPTChatNetworkingService.swift",
        "Services/SwiftyGPTChatService.swift"
      ],
      "target_dependencies" : [
        "SwiftyGPTNetworking"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/8] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingResponse.swift
[5/8] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingRequest.swift
[6/8] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingMethod.swift
[7/8] Emitting module SwiftyGPTNetworking
[8/8] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingClient.swift
[9/25] Compiling SwiftyGPTChat SwiftyGPTChatMockService.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGPTChat/Services/SwiftyGPTChatMockService.swift:14:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
12 |     let duration: TimeInterval
13 |
14 |     private (set) public var requestCallCount: Int = 0
   |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
15 |     public var requestCalled: Bool {
16 |         return requestCallCount > 0
[10/26] Compiling SwiftyGPTChat SwiftyGPTChatNetworkingService.swift
[11/26] Compiling SwiftyGPTChat SwiftyGPTChatResponseFormat.swift
[12/26] Compiling SwiftyGPTChat SwiftyGPTChatResponseObject.swift
[13/26] Compiling SwiftyGPTChat SwiftyGPTChatResponseError.swift
[14/26] Compiling SwiftyGPTChat SwiftyGPTChatResponseFinishReason.swift
[15/26] Compiling SwiftyGPTChat SwiftyGPTChatResponseTokenUsage.swift
[16/26] Compiling SwiftyGPTChat SwiftyGPTChatRole.swift
[17/26] Compiling SwiftyGPTChat SwiftyGPTChatService.swift
[18/26] Compiling SwiftyGPTChat SwiftyGPTChatModel.swift
[19/26] Compiling SwiftyGPTChat SwiftyGPTChatRequest.swift
[20/26] Compiling SwiftyGPTChat SwiftyGPTChatRequestBody.swift
[21/26] Compiling SwiftyGPTChat SwiftyGPTChatResponse.swift
[22/26] Compiling SwiftyGPTChat SwiftyGPTChatResponseBody.swift
[23/26] Compiling SwiftyGPTChat SwiftyGPTChatResponseChoice.swift
[24/26] Emitting module SwiftyGPTChat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGPTChat/Services/SwiftyGPTChatMockService.swift:14:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
12 |     let duration: TimeInterval
13 |
14 |     private (set) public var requestCallCount: Int = 0
   |     `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
15 |     public var requestCalled: Bool {
16 |         return requestCallCount > 0
[25/26] Compiling SwiftyGPTChat SwiftyGPTChatManager.swift
[26/26] Compiling SwiftyGPTChat SwiftyGPTChatMessage.swift
Build complete! (8.79s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyGPT",
  "name" : "SwiftyGPT",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftyGPTChat",
      "targets" : [
        "SwiftyGPTChat"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyGPTNetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyGPTNetworkingTests",
      "path" : "Tests/SwiftyGPTNetworkingTests",
      "sources" : [
        "Clients/SwiftyGPTNetworkingClientTests.swift",
        "Models/SwiftyGPTNetworkingRequestTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyGPTNetworking"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyGPTNetworking",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyGPTNetworking",
      "path" : "Sources/SwiftyGPTNetworking",
      "product_memberships" : [
        "SwiftyGPTChat"
      ],
      "sources" : [
        "Clients/SwiftyGPTNetworkingClient.swift",
        "Models/SwiftyGPTNetworkingMethod.swift",
        "Models/SwiftyGPTNetworkingRequest.swift",
        "Models/SwiftyGPTNetworkingResponse.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftyGPTChatTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyGPTChatTests",
      "path" : "Tests/SwiftyGPTChatTests",
      "sources" : [
        "Managers/SwiftyGPTChatManagerTests.swift",
        "Models/SwiftyGPTChatMessageTests.swift",
        "Models/SwiftyGPTChatModelTests.swift",
        "Models/SwiftyGPTChatRequestBodyTests.swift",
        "Models/SwiftyGPTChatRequestTests.swift",
        "Models/SwiftyGPTChatResponseBodyTests.swift",
        "Models/SwiftyGPTChatResponseChoiceTests.swift",
        "Models/SwiftyGPTChatResponseFormatTests.swift",
        "Models/SwiftyGPTChatResponseTests.swift",
        "Models/SwiftyGPTChatRoleTests.swift",
        "Services/SwiftyGPTChatMockServiceTests.swift",
        "Services/SwiftyGPTChatNetworkingServiceTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyGPTChat"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyGPTChat",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyGPTChat",
      "path" : "Sources/SwiftyGPTChat",
      "product_memberships" : [
        "SwiftyGPTChat"
      ],
      "sources" : [
        "Managers/SwiftyGPTChatManager.swift",
        "Models/SwiftyGPTChatMessage.swift",
        "Models/SwiftyGPTChatModel.swift",
        "Models/SwiftyGPTChatRequest.swift",
        "Models/SwiftyGPTChatRequestBody.swift",
        "Models/SwiftyGPTChatResponse.swift",
        "Models/SwiftyGPTChatResponseBody.swift",
        "Models/SwiftyGPTChatResponseChoice.swift",
        "Models/SwiftyGPTChatResponseError.swift",
        "Models/SwiftyGPTChatResponseFinishReason.swift",
        "Models/SwiftyGPTChatResponseFormat.swift",
        "Models/SwiftyGPTChatResponseObject.swift",
        "Models/SwiftyGPTChatResponseTokenUsage.swift",
        "Models/SwiftyGPTChatRole.swift",
        "Services/SwiftyGPTChatMockService.swift",
        "Services/SwiftyGPTChatNetworkingService.swift",
        "Services/SwiftyGPTChatService.swift"
      ],
      "target_dependencies" : [
        "SwiftyGPTNetworking"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.