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 main (e75ccc), with Swift 5.9 for macOS (Xcode) using Xcode 15.2 on 24 Jul 2024 23:54:12 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme OpenAI -destination platform=macOS,arch=arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/OpenAI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/OpenAI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e75ccc9 Merge branch 'MacPaw:main' into main
Cloned https://github.com/StanfordBDHG/OpenAI.git
Revision (git rev-parse @):
e75ccc95ba77c8f9156d4afd5bad5a224eb76d25
SUCCESS checkout https://github.com/StanfordBDHG/OpenAI.git at main
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             5.9
Building package at path:  $PWD
https://github.com/StanfordBDHG/OpenAI.git
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  OpenAI: /Users/admin/builder/spi-builder-workspace
resolved source packages: OpenAI
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "OpenAI",
  "name" : "OpenAI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAI",
      "targets" : [
        "OpenAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAITests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAITests",
      "path" : "Tests/OpenAITests",
      "sources" : [
        "Extensions/XCTestCase+Extensions.swift",
        "Mocks/DataTaskMock.swift",
        "Mocks/URLSessionMock.swift",
        "OpenAITests.swift",
        "OpenAITestsCombine.swift",
        "OpenAITestsDecoder.swift"
      ],
      "target_dependencies" : [
        "OpenAI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAI",
      "module_type" : "SwiftTarget",
      "name" : "OpenAI",
      "path" : "Sources/OpenAI",
      "product_memberships" : [
        "OpenAI"
      ],
      "sources" : [
        "OpenAI.swift",
        "Private/JSONRequest.swift",
        "Private/MultipartFormDataBodyBuilder.swift",
        "Private/MultipartFormDataBodyEncodable.swift",
        "Private/MultipartFormDataEntry.swift",
        "Private/MultipartFormDataRequest.swift",
        "Private/StreamingSession.swift",
        "Private/URLRequestBuildable.swift",
        "Private/URLSessionDataTaskProtocol.swift",
        "Private/URLSessionProtocol.swift",
        "Public/Errors/APIError.swift",
        "Public/Models/AudioSpeechQuery.swift",
        "Public/Models/AudioSpeechResult.swift",
        "Public/Models/AudioTranscriptionQuery.swift",
        "Public/Models/AudioTranscriptionResult.swift",
        "Public/Models/AudioTranslationQuery.swift",
        "Public/Models/AudioTranslationResult.swift",
        "Public/Models/ChatQuery.swift",
        "Public/Models/ChatResult.swift",
        "Public/Models/ChatStreamResult.swift",
        "Public/Models/CompletionsQuery.swift",
        "Public/Models/CompletionsResult.swift",
        "Public/Models/EditsQuery.swift",
        "Public/Models/EditsResult.swift",
        "Public/Models/EmbeddingsQuery.swift",
        "Public/Models/EmbeddingsResult.swift",
        "Public/Models/ImageEditsQuery.swift",
        "Public/Models/ImageVariationsQuery.swift",
        "Public/Models/ImagesQuery.swift",
        "Public/Models/ImagesResult.swift",
        "Public/Models/Models/ModelQuery.swift",
        "Public/Models/Models/ModelResult.swift",
        "Public/Models/Models/Models.swift",
        "Public/Models/Models/ModelsResult.swift",
        "Public/Models/ModerationsQuery.swift",
        "Public/Models/ModerationsResult.swift",
        "Public/Models/StreamableQuery.swift",
        "Public/Protocols/OpenAIProtocol+Async.swift",
        "Public/Protocols/OpenAIProtocol+Combine.swift",
        "Public/Protocols/OpenAIProtocol.swift",
        "Public/Utilities/ArrayWithThreadSafety.swift",
        "Public/Utilities/Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "OpenAI"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme OpenAI -destination platform=macOS,arch=arm64
Build complete.
Done.