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, reference 0.0.9 (e928d9), with Swift 5.10 for macOS (SPM) on 6 Aug 2024 19:48:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Recouse/OpenAI.git
Reference: 0.0.9
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Recouse/OpenAI
 * tag               0.0.9      -> FETCH_HEAD
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 0.0.9
Fetching https://github.com/Recouse/EventSource.git
[1/299] Fetching eventsource
Fetched https://github.com/Recouse/EventSource.git from cache (1.24s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.0.7 (0.47s)
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/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "openai",
      "name": "OpenAI",
      "url": "https://github.com/Recouse/OpenAI.git",
      "version": "unspecified",
      "path": "/Users/admin/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/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EventSource",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Recouse/OpenAI.git
[1/348] Fetching openai
Fetched https://github.com/Recouse/OpenAI.git from cache (0.66s)
Fetching https://github.com/Recouse/EventSource.git from cache
Fetched https://github.com/Recouse/EventSource.git from cache (0.52s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.0.7 (0.03s)
Creating working copy for https://github.com/Recouse/EventSource.git
Working copy of https://github.com/Recouse/EventSource.git resolved at 0.0.7
Creating working copy for https://github.com/Recouse/OpenAI.git
Working copy of https://github.com/Recouse/OpenAI.git resolved at 0.0.9 (e928d98)
warning: '.resolve-product-dependencies': dependency 'openai' is not used by any target
Found 1 product dependencies
  - EventSource
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Recouse/OpenAI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-33747A42983211AE.txt
[4/11] Compiling EventSource Extensions.swift
[5/11] Compiling EventSource Headers.swift
[6/11] Compiling EventSource EventSourceError.swift
[7/11] Compiling EventSource ServerMessage.swift
[8/11] Compiling EventSource MessageParser.swift
[9/11] Compiling EventSource SessionDelegate.swift
[10/11] Emitting module EventSource
[11/11] Compiling EventSource EventSource.swift
[12/42] Compiling OpenAI APIError.swift
[13/42] Compiling OpenAI JSONDecoder.swift
[14/42] Compiling OpenAI JSONEncoder.swift
[15/42] Compiling OpenAI Edits.swift
[16/42] Compiling OpenAI EditsBody.swift
[17/42] Compiling OpenAI EditsModel.swift
[18/45] Compiling OpenAI ModelsResponse.swift
[19/45] Compiling OpenAI ModelsWrapper.swift
[20/45] Compiling OpenAI OpenAI.swift
[21/45] Compiling OpenAI OpenAIError.swift
[22/45] Compiling OpenAI ModelType.swift
[23/45] Compiling OpenAI ModelsRequest.swift
[24/45] Compiling OpenAI Usage.swift
[25/45] Compiling OpenAI CompletionResponse.swift
[26/45] Compiling OpenAI Completions.swift
[27/45] Compiling OpenAI CompletionsBody.swift
[28/45] Compiling OpenAI ChatCompletionsResponse.swift
[29/45] Compiling OpenAI ChatWrapper.swift
[30/45] Compiling OpenAI FinishReason.swift
[31/45] Compiling OpenAI ReponseFormat.swift
[32/45] Emitting module OpenAI
[33/45] Compiling OpenAI CompletionsRequest.swift
[34/45] Compiling OpenAI CompletionsWrapper.swift
[35/45] Compiling OpenAI Configuration.swift
[36/45] Compiling OpenAI EditsRequest.swift
[37/45] Compiling OpenAI EditsResponse.swift
[38/45] Compiling OpenAI EditsWrapper.swift
[39/45] Compiling OpenAI ChatCompletions.swift
[40/45] Compiling OpenAI ChatCompletionsBody.swift
[41/45] Compiling OpenAI ChatCompletionsModels.swift
[42/45] Compiling OpenAI ChatCompletionsRequest.swift
[43/45] Compiling OpenAI BaseRequestHandler.swift
[44/45] Compiling OpenAI RequestHandler.swift
[45/45] Compiling OpenAI Request.swift
Build complete! (6.81s)
Build complete.
Done.