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 SwiftChatGPT with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/migueldeicaza/SwiftChatGPT.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftchatgpt",
      "name": "SwiftChatGPT",
      "url": "https://github.com/migueldeicaza/SwiftChatGPT.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftChatGPT",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/migueldeicaza/SwiftChatGPT.git
[2/79] Fetching swiftchatgpt
Fetched https://github.com/migueldeicaza/SwiftChatGPT.git (0.21s)
Creating working copy for https://github.com/migueldeicaza/SwiftChatGPT.git
Working copy of https://github.com/migueldeicaza/SwiftChatGPT.git resolved at main
warning: '.resolve-product-dependencies': dependency 'swiftchatgpt' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/3] Compiling SwiftChatGPT Model.swift
[2/3] Emitting module SwiftChatGPT
[3/3] Compiling SwiftChatGPT SwiftChatGPT.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftChatGPT/SwiftChatGPT.swift:84:13: warning: variable 'prompt' was never mutated; consider changing to 'let' constant
        var prompt = Message(role: "user", content: newPrompt)
        ~~~ ^
        let
Build complete! (7.79s)
Build complete.
Done.