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 3.0.0 (7bf281), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 21:36:02 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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/antonio-war/SwiftyGPT.git
Reference: 3.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/antonio-war/SwiftyGPT
 * tag               3.0.0      -> FETCH_HEAD
HEAD is now at 7bf281f Merge branch 'release/3.0.0'
Cloned https://github.com/antonio-war/SwiftyGPT.git
Revision (git rev-parse @):
7bf281fb4b854e6ac3ad22ec8675b2e5d66f880c
SUCCESS checkout https://github.com/antonio-war/SwiftyGPT.git at 3.0.0
========================================
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.92s)
Creating working copy for https://github.com/antonio-war/SwiftyGPT.git
Working copy of https://github.com/antonio-war/SwiftyGPT.git resolved at 3.0.0 (7bf281f)
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
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
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/8] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingRequest.swift
[5/8] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingClient.swift
[6/8] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingResponse.swift
[7/8] Emitting module SwiftyGPTNetworking
[8/8] Compiling SwiftyGPTNetworking SwiftyGPTNetworkingMethod.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/25] Compiling SwiftyGPTChat SwiftyGPTChatNetworkingService.swift
[11/26] Compiling SwiftyGPTChat SwiftyGPTChatResponseError.swift
[12/26] Compiling SwiftyGPTChat SwiftyGPTChatResponseFinishReason.swift
[13/26] Compiling SwiftyGPTChat SwiftyGPTChatModel.swift
[14/26] Compiling SwiftyGPTChat SwiftyGPTChatRequest.swift
[15/26] Compiling SwiftyGPTChat SwiftyGPTChatService.swift
[16/26] Compiling SwiftyGPTChat SwiftyGPTChatResponseTokenUsage.swift
[17/26] Compiling SwiftyGPTChat SwiftyGPTChatRole.swift
[18/26] Compiling SwiftyGPTChat SwiftyGPTChatResponseFormat.swift
[19/26] Compiling SwiftyGPTChat SwiftyGPTChatResponseObject.swift
[20/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
[21/26] Compiling SwiftyGPTChat SwiftyGPTChatManager.swift
[22/26] Compiling SwiftyGPTChat SwiftyGPTChatMessage.swift
[23/26] Compiling SwiftyGPTChat SwiftyGPTChatResponseBody.swift
[24/26] Compiling SwiftyGPTChat SwiftyGPTChatResponseChoice.swift
[25/26] Compiling SwiftyGPTChat SwiftyGPTChatRequestBody.swift
[26/26] Compiling SwiftyGPTChat SwiftyGPTChatResponse.swift
Build complete! (8.96s)
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.