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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Recouse/OpenAI.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Recouse/OpenAI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e928d98 Merge pull request #2 from Recouse/visionos-support
Cloned https://github.com/Recouse/OpenAI.git
Revision (git rev-parse @):
e928d988b4067050306316c337faec48467133d2
SUCCESS checkout https://github.com/Recouse/OpenAI.git at main
Fetching https://github.com/Recouse/EventSource.git from cache
Fetched https://github.com/Recouse/EventSource.git (0.31s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.0.7 (0.27s)
Creating working copy for https://github.com/Recouse/EventSource.git
Working copy of https://github.com/Recouse/EventSource.git resolved at 0.0.7
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "openai",
      "name": "OpenAI",
      "url": "https://github.com/Recouse/OpenAI.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenAI",
      "dependencies": [
        {
          "identity": "eventsource",
          "name": "EventSource",
          "url": "https://github.com/Recouse/EventSource.git",
          "version": "0.0.7",
          "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EventSource",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Recouse/OpenAI.git from cache
Fetched https://github.com/Recouse/OpenAI.git (0.22s)
Fetching https://github.com/Recouse/EventSource.git from cache
Fetched https://github.com/Recouse/EventSource.git (0.21s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.0.7 (0.01s)
Creating working copy for https://github.com/Recouse/OpenAI.git
Working copy of https://github.com/Recouse/OpenAI.git resolved at main
Creating working copy for https://github.com/Recouse/EventSource.git
Working copy of https://github.com/Recouse/EventSource.git resolved at 0.0.7
warning: '.resolve-product-dependencies': dependency 'openai' is not used by any target
Found 1 product dependencies
  - EventSource
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $workDir
https://github.com/Recouse/OpenAI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/8] Compiling EventSource ServerMessage.swift
[2/8] Compiling EventSource SessionDelegate.swift
[3/8] Compiling EventSource Extensions.swift
[4/8] Compiling EventSource MessageParser.swift
[5/8] Compiling EventSource EventSourceError.swift
[6/8] Emitting module EventSource
[7/8] Compiling EventSource Headers.swift
[8/8] Compiling EventSource EventSource.swift
[9/38] Compiling OpenAI APIError.swift
[10/38] Compiling OpenAI JSONDecoder.swift
[11/38] Compiling OpenAI JSONEncoder.swift
[12/38] Compiling OpenAI OpenAIError.swift
[13/42] Compiling OpenAI ChatWrapper.swift
[14/42] Compiling OpenAI FinishReason.swift
[15/42] Compiling OpenAI ReponseFormat.swift
[16/42] Compiling OpenAI Usage.swift
[17/42] Compiling OpenAI CompletionsWrapper.swift
[18/42] Compiling OpenAI Configuration.swift
[19/42] Compiling OpenAI Edits.swift
[20/42] Compiling OpenAI EditsBody.swift
[21/42] Compiling OpenAI EditsModel.swift
[22/42] Compiling OpenAI EditsRequest.swift
[23/42] Compiling OpenAI EditsResponse.swift
[24/42] Compiling OpenAI EditsWrapper.swift
[25/42] Emitting module OpenAI
[26/42] Compiling OpenAI CompletionResponse.swift
[27/42] Compiling OpenAI Completions.swift
[28/42] Compiling OpenAI CompletionsBody.swift
[29/42] Compiling OpenAI CompletionsRequest.swift
[30/42] Compiling OpenAI ChatCompletions.swift
[31/42] Compiling OpenAI ChatCompletionsBody.swift
[32/42] Compiling OpenAI ChatCompletionsModels.swift
[33/42] Compiling OpenAI ChatCompletionsRequest.swift
[34/42] Compiling OpenAI ChatCompletionsResponse.swift
[35/42] Compiling OpenAI ModelType.swift
[36/42] Compiling OpenAI ModelsRequest.swift
[37/42] Compiling OpenAI ModelsResponse.swift
[38/42] Compiling OpenAI ModelsWrapper.swift
[39/42] Compiling OpenAI OpenAI.swift
[40/42] Compiling OpenAI BaseRequestHandler.swift
[41/42] Compiling OpenAI RequestHandler.swift
[42/42] Compiling OpenAI Request.swift
Build complete! (9.70s)
Build complete.
Done.