The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftChatGPT, reference main (1fd0f1), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 09:32:35 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/migueldeicaza/SwiftChatGPT.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/migueldeicaza/SwiftChatGPT
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1fd0f18 Assist the user slightly, and handle modern errors that lack a code
Cloned https://github.com/migueldeicaza/SwiftChatGPT.git
Revision (git rev-parse @):
1fd0f18c1ce654fc05714f919004b080e327326e
SUCCESS checkout https://github.com/migueldeicaza/SwiftChatGPT.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/migueldeicaza/SwiftChatGPT.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/5] Compiling SwiftChatGPT Model.swift
[4/5] Emitting module SwiftChatGPT
[5/5] Compiling SwiftChatGPT SwiftChatGPT.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChatGPT/SwiftChatGPT.swift:84:13: warning: variable 'prompt' was never mutated; consider changing to 'let' constant
 82 |
 83 |     func buildMessageHistory (newPrompt: String) -> [Message] {
 84 |         var prompt = Message(role: "user", content: newPrompt)
    |             `- warning: variable 'prompt' was never mutated; consider changing to 'let' constant
 85 |         var requestMessages: [Message] = [defaultSystemMessage]
 86 |         requestMessages.append(contentsOf: history)
Build complete! (3.29s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftChatGPT",
  "name" : "SwiftChatGPT",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftChatGPT",
      "targets" : [
        "SwiftChatGPT"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftChatGPTTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftChatGPTTests",
      "path" : "Tests/SwiftChatGPTTests",
      "sources" : [
        "SwiftChatGPTTests.swift"
      ],
      "target_dependencies" : [
        "SwiftChatGPT"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftChatGPT",
      "module_type" : "SwiftTarget",
      "name" : "SwiftChatGPT",
      "path" : "Sources/SwiftChatGPT",
      "product_memberships" : [
        "SwiftChatGPT"
      ],
      "sources" : [
        "Model.swift",
        "SwiftChatGPT.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.